Browse Source

修改发料明细的赋值

hella_online_20240829
niexiting 4 months ago
parent
commit
c5a2c30498
  1. 2
      .env.development
  2. 4
      src/pages/issue/coms/comScanIssuePack.vue
  3. 4
      src/pages/issue/job/issueDetail.vue

2
.env.development

@ -1,4 +1,4 @@
VITE_BASE_URL=http://172.21.47.239:12080/admin-api
VITE_BASE_URL=http://172.21.32.14:81/api/admin-api
VITE_BASE_URL_IMAGE=http://172.21.32.14:81/admin-api
# 租户配置

4
src/pages/issue/coms/comScanIssuePack.vue

@ -488,7 +488,7 @@
}
if (this.toLocation && result.package.packUnit) {
let item = this.toLocation.Items.find(r => r.itemCode == result.package.itemCode);
if(!item){
if (!item) {
this.showErrorMessage('扫描物料代码不属于该任务');
return
}
@ -673,7 +673,7 @@
batch: label.batch,
// qty: Number(balance.qty),
// qty: Number(label.qty) > Number(balance.qty) ? Number(balance.qty) : Number(label.qty),
qty: balance.lableQty ?? Number(label.qty),
qty: balance.qty ?? Number(label.qty),
uom: balance.uom,
inventoryStatus: balance.inventoryStatus,
balance: balance,

4
src/pages/issue/job/issueDetail.vue

@ -6,7 +6,8 @@
<job-top :dataContent="jobContent"></job-top>
</view>
<work-station :workshopCode="jobContent.workShopCode"
:productionLineCode="jobContent.detailProductionLineCode" :workStationCode="jobContent.detailWorkStationCode"
:productionLineCode="jobContent.detailProductionLineCode"
:workStationCode="jobContent.detailWorkStationCode"
:rawLocationCode="jobContent.detailToLocationCode">
</work-station>
</view>
@ -307,7 +308,6 @@
return
}
console.log("提交参数", JSON.stringify(params));
issueJobSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {

Loading…
Cancel
Save