Browse Source

修改

master
zhaoxuebing 10 months ago
parent
commit
e879df8d3b
  1. 6
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

6
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

@ -405,7 +405,8 @@ const openForm = async (type: string, row?: number) => {
if(type == 'create'){
PurchasereturnRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'supplierCode') {
item.componentProps.disabled = false
item.componentProps.disabled = true
item.componentProps.isSearchList = true
}
if(item.field == 'purchaseReceiptRecordNumber'){
item.componentProps.disabled = true
@ -416,7 +417,8 @@ const openForm = async (type: string, row?: number) => {
if(type == 'update'){
PurchasereturnRequestMain.allSchemas.formSchema.forEach((item) => {
if (item.field == 'supplierCode') {
item.componentProps.disabled = false
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
if(item.field == 'purchaseReceiptRecordNumber'){
item.componentProps.disabled = true

Loading…
Cancel
Save