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

feat: 更新商品库内容

parent 139bafe6
......@@ -262,12 +262,16 @@
}
}
}
.dealInput {
.conBg {
background:#f8f8f8 ;
min-width: 100%;
width: fit-content;
:global {
.ant-form-item-control-input-content {
.ant-input {
margin-bottom: 8px;
}
.ant-input {
margin: 10px 0;
}
.ant-form-item {
margin-bottom: 8px;
}
}
}
......
......@@ -80,7 +80,7 @@ const ServiceGoods = options => {
const resetForm = () => clearCurrent(checkFormList).forEach(({ current }) => current.reset());
const onValuesChange = e => {
console.log('e======', e);
console.log('e======', e, !isEdit, visibleCacheEdit);
if (!isEdit) {
if (visibleCacheEdit) {
setVisibleCacheEdit(false);
......@@ -540,9 +540,11 @@ const ServiceGoods = options => {
<>
<FormTakeaway
ref={takeawayRef}
editData={editData.serviceItem}
editData={editData.takeawayItem}
infoMation={editData.infoMation}
supplierIdList={supplierIdList}
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