Browse Source

YT-1091采购索赔申请编辑时供应商代码应该不能编辑

intex
zhang_li 1 week ago
parent
commit
609b1dc3b3
  1. 2
      src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue

2
src/views/wms/supplierManage/purchaseClaim/purchaseClaimRequest/index.vue

@ -386,12 +386,14 @@ const openForm = async (type: string, row?: any) => {
PurchaseClaimRequestMain.allSchemas.formSchema.forEach(item => { PurchaseClaimRequestMain.allSchemas.formSchema.forEach(item => {
if (item.field == 'supplierCode') { if (item.field == 'supplierCode') {
item.componentProps.isSearchList = false item.componentProps.isSearchList = false
item.componentProps.disabled = true
} }
}) })
} else { } else {
PurchaseClaimRequestMain.allSchemas.formSchema.forEach(item => { PurchaseClaimRequestMain.allSchemas.formSchema.forEach(item => {
if (item.field == 'supplierCode') { if (item.field == 'supplierCode') {
item.componentProps.isSearchList = true item.componentProps.isSearchList = true
item.componentProps.disabled = false
} }
}) })
} }

Loading…
Cancel
Save