Commit 7f8a5003 authored by 武广's avatar 武广

fix: 添加规格判断

parent ec597dfc
......@@ -81,6 +81,10 @@ const SpecificationTemplate = (props, _) => {
const bundlePlusRemoveSpecEvent = (removeCallback, fieldName) => {
removeCallback(fieldName);
form.setFieldsValue({
bacthFirst: undefined,
bacthSecon: undefined,
});
const timer = setTimeout(() => {
onChange();
clearTimeout(timer);
......@@ -272,7 +276,7 @@ const FormPriceOrStock = forwardRef((props, ref) => {
});
return null;
}
if (items) {
if (items && items.length) {
if (customer.isEdit && skuList.length) {
insertSpecID(items);
}
......
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