Browse Source

BUG修改

master_hella_20240701
parent
commit
4079fe2936
  1. 7
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue
  2. 9
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts

7
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

@ -111,6 +111,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
//
if (formField == 'itemCode') {
row['itemCode'] = val[0]['componentItemCode']
row['uom'] = val[0]['componentUom']
} else {
row[formField] = val[0][searchField]
row['toLocationCode'] = val[0]['rawLocationCode']
@ -151,9 +152,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if(item.field == 'planQty') {
item.tableForm.disabled = true
}
if(item.field == 'uom') {
item.tableForm.disabled = true
}
if(item.field == 'available') {
item.tableForm.disabled = true
}
@ -498,9 +496,6 @@ const resetShow = async () => {
if(item.field == 'planQty') {
item.tableForm.disabled = false
}
if(item.field == 'uom') {
item.tableForm.disabled = false
}
if(item.field == 'available') {
item.tableForm.disabled = false
}

9
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/preparetoissueMain.data.ts

@ -580,11 +580,18 @@ export const PreparetoissueDetail = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isTable: true,
sort: 'custom',
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
disabled: true
}
},
table: {
width: 150
},
tableForm:{
type: 'Select'
type: 'Select',
disabled: true
},
},
{

Loading…
Cancel
Save