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"} - /> -
-