Browse Source

物料库区配置字段展示

master_hella_20240701
chenfang 8 months ago
parent
commit
00230c640f
  1. 6
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  2. 1
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

6
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -121,11 +121,15 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row[formField] = val[0][searchField] row[formField] = val[0][searchField]
} }
}else{ }else{
const setV = {} const setV = {}
if(formField == 'areaCode') { if(formField == 'areaCode') {
console.log(val[0]); console.log(val[0]);
setV['areaCode'] = val[0]['code'] setV['areaCode'] = val[0]['code']
setV['areaType'] = val[0]['type'] setV['areaType'] = val[0]['type']
}else if(formField == 'inPackUnit') {
setV['inPackUnit'] = val[0]['code']
}else if(formField == 'outPackUnit') {
setV['outPackUnit'] = val[0]['code']
}else{ }else{
setV[formField] = setV[0][searchField] setV[formField] = setV[0][searchField]
} }

1
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

@ -603,6 +603,7 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
tableForm: { tableForm: {
type: 'Select',
disabled: true disabled: true
}, },
form: { form: {

Loading…
Cancel
Save