@@ -186,7 +186,7 @@
}
updateSchema({
field: 'partPriceDiscount',
- ifShow: data.partPriceDiscount,
+ ifShow: Boolean(data.partPriceDiscount),
});
fileFlow.type = data.type
@@ -214,11 +214,12 @@
// labelWidth:300,
// subLabel:"数量",
colProps: {
- span: 8,
+ span: Boolean(ele.priceDiscount)?8:16,
},{
field: 'discount' + ele.priceListId,
component: 'CheckboxGroup',
+ ifShow:Boolean(ele.priceDiscount),
componentProps: {
onChange:(val)=>{
setTimeout(() => {