From 394890ae37fba46df065248baf602f9c74f6a236 Mon Sep 17 00:00:00 2001 From: zhangds Date: Mon, 29 Aug 2022 10:10:48 +0800 Subject: [PATCH] =?UTF-8?q?1)=20=E5=A2=9E=E5=8A=A0=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E6=96=B0=E5=A2=9E=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UseCouponAddEdit/index.jsx | 120 ++++++++++++++++++---- 1 file changed, 98 insertions(+), 22 deletions(-) diff --git a/src/components/UseCouponAddEdit/index.jsx b/src/components/UseCouponAddEdit/index.jsx index 17163517..9bb6f2d4 100644 --- a/src/components/UseCouponAddEdit/index.jsx +++ b/src/components/UseCouponAddEdit/index.jsx @@ -26,6 +26,83 @@ const tableColumn = [ type: "normal", width: "auto", }, + { + title: "商品名称", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "官方价", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "合同单价", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "库存数量", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "批次号", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "总预算", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "有效时间段", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "创建时间", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "类型", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "上游平台", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, + { + title: "操作", + name: "key_code", + prop: "key_code", + type: "normal", + width: "auto", + }, ]; const rules = { @@ -98,7 +175,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => { labelWidth={"0px"} maxLength={20} height={"36px"} - countShow={false} + countShow={true} width={"520px"} alignment={"left"} /> @@ -170,8 +247,8 @@ const UseCouponAddEdit = forwardRef((props, ref) => { countShow={false} width={"130px"} alignment={"left"} + unit="元" /> - @@ -193,6 +270,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => { countShow={false} width={"520px"} alignment={"left"} + unit="个" /> @@ -212,30 +290,11 @@ const UseCouponAddEdit = forwardRef((props, ref) => { countShow={false} width={"520px"} alignment={"left"} + unit="元" /> -
- - setState({ key_word: e })} - value={state.key_word} - wordSearch={() => searchCallback()} - icon="search" - placeholder={"请输入批次号、名称、key批次名称、计划名称 进行搜索"} - countShow={false} - height={"36px"} - width={"260px"} - onClearItem={(e) => - setState({ key_word: "", isQuery: !state.isQuery }) - } - alignment={"left"} - /> -
-