lizhen_gitee 1 год назад
Родитель
Сommit
88f2e2b6f5

+ 3 - 0
application/admin/lang/zh-cn/order.php

@@ -11,6 +11,9 @@ return [
     'Status'           => '支付状态',
     'Status 0'         => '待支付',
     'Status 1'         => '已支付',
+    'Ispayimg'         => '支付截图状态',
+    'Ispayimg 0'       => '未上传',
+    'Ispayimg 1'       => '已上传',
     'Pay_type'         => '支付方式',
     'Pay_type 1'       => '线上支付',
     'Pay_type 2'       => '收款码支付',

+ 1 - 0
application/api/controller/Order.php

@@ -133,6 +133,7 @@ class order extends Api
         $data = [
             'offline_images' => $offline_images,
             'remark'         => $remark,
+            'ispayimg'       => 1,
         ];
         $info = Db::name('order')->where('id',$id)->update($data);
 

+ 1 - 0
public/assets/js/backend/order.js

@@ -45,6 +45,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                         {field: 'pay_type', title: __('Pay_type'), searchList: {"1":__('Pay_type 1'),"2":__('Pay_type 2')}, formatter: Table.api.formatter.normal},
                         {field: 'paytime', title: __('Paytime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
 //                        {field: 'pay_out_trade_no', title: __('Pay_out_trade_no'), operate: 'LIKE'},
+                        {field: 'ispayimg', title: __('Ispayimg'), searchList: {"0":__('Ispayimg 0'),"1":__('Ispayimg 1')}, formatter: Table.api.formatter.status},
                         {field: 'offline_images', title: __('Offline_images'), operate: false,events: Table.api.events.image, formatter: Table.api.formatter.images},
                         {field: 'remark', title: __('Remark'), operate: 'LIKE'},
                         {field: 'operate', title: __('Operate'), table: table,