Commit e0ea1755 authored by 陈万宝's avatar 陈万宝

feat: 更新商品库内容

parent 139bafe6
...@@ -262,12 +262,16 @@ ...@@ -262,12 +262,16 @@
} }
} }
} }
.dealInput { .conBg {
background:#f8f8f8 ;
min-width: 100%;
width: fit-content;
:global { :global {
.ant-form-item-control-input-content { .ant-input {
.ant-input { margin: 10px 0;
margin-bottom: 8px; }
} .ant-form-item {
margin-bottom: 8px;
} }
} }
} }
......
...@@ -80,7 +80,7 @@ const ServiceGoods = options => { ...@@ -80,7 +80,7 @@ const ServiceGoods = options => {
const resetForm = () => clearCurrent(checkFormList).forEach(({ current }) => current.reset()); const resetForm = () => clearCurrent(checkFormList).forEach(({ current }) => current.reset());
const onValuesChange = e => { const onValuesChange = e => {
console.log('e======', e); console.log('e======', e, !isEdit, visibleCacheEdit);
if (!isEdit) { if (!isEdit) {
if (visibleCacheEdit) { if (visibleCacheEdit) {
setVisibleCacheEdit(false); setVisibleCacheEdit(false);
...@@ -540,9 +540,11 @@ const ServiceGoods = options => { ...@@ -540,9 +540,11 @@ const ServiceGoods = options => {
<> <>
<FormTakeaway <FormTakeaway
ref={takeawayRef} ref={takeawayRef}
editData={editData.serviceItem} editData={editData.takeawayItem}
infoMation={editData.infoMation}
supplierIdList={supplierIdList} supplierIdList={supplierIdList}
onValuesChange={onValuesChange} onValuesChange={onValuesChange}
/> />
</> </>
)} )}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment