Browse Source

制品返修修改

master
zhaoxuebing 11 months ago
parent
commit
fba327b6ca
  1. 3
      src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts
  2. 5
      src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue
  3. 22
      src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts

3
src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts

@ -324,7 +324,8 @@ export const ProductrepairRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'fromOwnerCode',
sort: 'custom',
table: {
width: 150
width: 150,
show:false
},
},
{

5
src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue

@ -211,10 +211,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row['batch'] = val[0]['batch']
row['uom'] = val[0]['uom']
row['inventoryStatus'] = val[0]['inventoryStatus']
row['fromLocationCode'] = val[0]['locationCode']
} else if(formField == 'productionLineCode'){
row['productionLineCode'] = val[0]['code']
} else if(formField == 'workStationCode'){
row['fromLocationCode'] = val[0]['rawLocationCode']
row['workStationCode'] = val[0]['code']
} else if(formField == 'formField'){
row['workStationCode'] = val[0]['code']
@ -242,10 +242,11 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
setV['batch'] = val[0]['batch']
setV['uom'] = val[0]['uom']
setV['inventoryStatus'] = val[0]['inventoryStatus']
setV['fromLocationCode'] = val[0]['locationCode']
// setV['fromLocationCode'] = val[0]['locationCode']
} else if(formField == 'productionLineCode'){
setV['productionLineCode'] = val[0]['code']
} else if(formField == 'workStationCode'){
setV['fromLocationCode'] = val[0]['rawLocationCode']
setV['workStationCode'] = val[0]['code']
} else if(formField == 'formField'){
setV['workStationCode'] = val[0]['code']

22
src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts

@ -598,7 +598,16 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'packingNumber',
searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalancePage
searchPage: BalanceApi.getBalancePage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
},{
key: 'locationCode',
value: 'fromLocationCode',
isMainValue: true
}]
},
form: {
// labelMessage: '信息提示说明!!!',
@ -608,7 +617,16 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'packingNumber',
searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalancePage
searchPage: BalanceApi.getBalancePage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
},{
key: 'locationCode',
value: 'fromLocationCode',
isMainValue: true
}]
}
}
},

Loading…
Cancel
Save