Browse Source

修改发料明细的赋值

hella_online_20240829
niexiting 3 months ago
parent
commit
c5a2c30498
  1. 2
      .env.development
  2. 2
      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 VITE_BASE_URL_IMAGE=http://172.21.32.14:81/admin-api
# 租户配置 # 租户配置

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

@ -673,7 +673,7 @@
batch: label.batch, batch: label.batch,
// qty: Number(balance.qty), // qty: Number(balance.qty),
// qty: Number(label.qty) > Number(balance.qty) ? Number(balance.qty) : Number(label.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, uom: balance.uom,
inventoryStatus: balance.inventoryStatus, inventoryStatus: balance.inventoryStatus,
balance: balance, balance: balance,

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

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

Loading…
Cancel
Save