Browse Source

YT-2041供应商地点受入号,新增的供应商应根据供应商代码选择受入号。现不选择供应商代码就有受入号

intex_online20250311
张立 4 weeks ago
parent
commit
dd6f6135f3
  1. 18
      src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue

18
src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue

@ -197,6 +197,24 @@ const openForm = (type: string, row?: any) => {
item.componentProps.disabled = true item.componentProps.disabled = true
} }
}) })
} else {
SupplierAddressModelDeli.allSchemas.formSchema.forEach(item => {
if(item.field == 'modelShow'){
item.componentProps.options =[]
}
if(item.field == 'supplierCode'){
item.componentProps.disabled = false
}
if(item.field == 'supplierName'){
item.componentProps.disabled = false
}
if(item.field == 'supplierAddress'){
item.componentProps.disabled = true
}
if(item.field == 'modelShow'){
item.componentProps.disabled = false
}
})
} }
console.log(row) console.log(row)
basicFormRef.value.open(type, row) basicFormRef.value.open(type, row)

Loading…
Cancel
Save