From 66ea51b2203dba91e966eee3ec8c81da656dc68a Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Mon, 19 Sep 2022 10:42:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8E=E5=90=8E=E7=AB=AF=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E4=BC=98=E6=83=A0=E5=8D=B7?= =?UTF-8?q?-=E5=BE=85=E6=94=AF=E4=BB=98=E7=8A=B6=E6=80=81=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E5=AD=97=E6=AE=B5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/list/list.js | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/src/pages/order/list/list.js b/src/pages/order/list/list.js index a3945d12..4806a73e 100644 --- a/src/pages/order/list/list.js +++ b/src/pages/order/list/list.js @@ -148,18 +148,18 @@ const Column = [ type: "slot" }, { - title: "折扣", - name: "discount", + title: "减扣价(元)", + name: "discount_amount", + prop: "discount_amount", type: "normal", - prop: "discount", width: "80px" }, { - title: "结算", - name: "total", - prop: "total", - width: "auto", - type: "80px" + title: "结算价(元)", + name: "pay_amount", + prop: "pay_amount", + type: "normal", + width: "80px" }, { title: "key", @@ -198,11 +198,7 @@ export default class orderlist extends React.Component { { id: 111, name: "立减金-待领取" }, { id: 222, name: "立减金-已领取" }, { id: 5, name: "立减金-已过期" }, - { id: 6, name: "优惠券-待支付" }, - { id: 7, name: "优惠券-已支付" }, - { id: 8, name: "优惠券-已完成" }, - { id: 9, name: "优惠券-已取消" }, - { id: 10, name: "优惠券-充值失败" } + { id: 6, name: "优惠券-待支付" } ] } ], @@ -583,6 +579,7 @@ export default class orderlist extends React.Component { }) .catch((err) => {}) } + optiononChange(e) { let placeholder let searchOption = Number(e ? e.key : 0)