qifengquan 1 年之前
父節點
當前提交
45c0a9388d
共有 1 個文件被更改,包括 14 次插入2 次删除
  1. 14 2
      public/assets/js/backend/pricing/order.js

+ 14 - 2
public/assets/js/backend/pricing/order.js

@@ -61,8 +61,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         // {field: 'cancel_datetime', title: __('Cancel_datetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false},
                         // {field: 'after_sale', title: __('After_sale'), operate: 'LIKE'},
                         {field: 'deploy', title: __('Deploy'), operate: 'LIKE'},
-                        {field: 'deploy_type', title: __('Deploy_type')},//0自己部署 1授权部署
-                        {field: 'billing_status', title: __('Billing_status')},// 0未开票
+                        {field: 'deploy_type', title: __('Deploy_type'),formatter: function (d){
+                                if(d == 0){
+                                    return '自己部署';
+                                }else if(1){
+                                    return '授权部署';
+                                }
+                            }},//0自己部署 1授权部署
+                        {field: 'billing_status', title: __('Billing_status'),formatter: function (d){
+                                if(d == 0){
+                                    return '未开票';
+                                }else if(1){
+                                    return '已开票';
+                                }
+                            }},// 0未开票
                         // {field: 'valid_time', title: __('Valid_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false},
 
                         // {field: 'user.nickname', title: __('User.nickname'), operate: 'LIKE'},