Browse Source

HL-4935 WMS WEB端预生产和装配报工记录中增加撤销报工操作选项,实现快速制品回收

hella_online_20240823
李达明 1 month ago
parent
commit
9b987ee671
  1. 1
      src/api/wms/productreceiptRecordMain/index.ts
  2. 3
      src/locales/zh-CN.ts
  3. 11
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue
  4. 10
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

1
src/api/wms/productreceiptRecordMain/index.ts

@ -25,6 +25,7 @@ export interface ProductreceiptRecordMainVO {
toAreaTypes: string
toAreaCodes: string
available: string
inventoryStatus:string
}
// 查询制品收货记录主列表

3
src/locales/zh-CN.ts

@ -1277,7 +1277,8 @@ export default {
:'请输入联系电话',
:'请选择范围',
'确认撤销报工吗?': "确认撤销报工吗?",
'收货数量不可以大于订单数量!':'收货数量不可以大于订单数量'
'收货数量不可以大于订单数量!':'收货数量不可以大于订单数量',
:'撤销报工成功',
},
}

11
src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue

@ -252,8 +252,15 @@ const labelRecovery = async (row) => {
try {
await message.confirm(t('ts.确认撤销报工吗?'))
tableObject.loading = true
let resType = await ProductreceiptRecordMainApi.handleRecoveryProductreceiptRecord(row)
message.success(t('ts.确认撤销报工成功'))
const params = ref({
number: '',
inventoryStatus: '',
})
params.number= row.number;
params.inventoryStatus= row.inventoryStatus;
let resType = await ProductreceiptRecordMainApi.handleRecoveryProductreceiptRecord(params);
message.success(t('ts.撤销报工成功'))
} catch {
} finally {
tableObject.loading = false

10
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

@ -281,8 +281,14 @@ const handleCreatePutawayRequest = async (number:string) => {
const labelRecovery = async (row) => {
try {
await message.confirm(t('ts.确认撤销报工吗?'))
let resType = await ProductreceiptRecordMainApi.handleRecoveryProductreceiptRecord(row)
message.success(t('ts.确认撤销报工成功'))
const params = ref({
number: '',
inventoryStatus: '',
})
params.number= row.number;
params.inventoryStatus= row.inventoryStatus;
let resType = await ProductreceiptRecordMainApi.handleRecoveryProductreceiptRecord(params)
message.success(t('ts.撤销报工成功'))
} catch {
} finally {
tableObject.loading = false

Loading…
Cancel
Save