Browse Source

修改成品收货任务

hella_online_20240803
lijuncheng 3 weeks ago
parent
commit
6e3603fef6
  1. 2
      src/api/request2.js
  2. 5
      src/pages/productReceipt/coms/comProductDetailCard.vue
  3. 1
      src/pages/productReceipt/job/fgProductReceiptDetail.vue

2
src/api/request2.js

@ -4490,7 +4490,7 @@ export function getPlaneInfoByproductLine(productionLine, planDate) {
export function planReceiptSubmit(params) { export function planReceiptSubmit(params) {
return request({ return request({
url: baseApi + "/wms/productreceipt-record-main/createByPlan123", url: baseApi + "/wms/productreceipt-record-main/createByPlan",
method: "post", method: "post",
data: params data: params
}); });

5
src/pages/productReceipt/coms/comProductDetailCard.vue

@ -14,9 +14,9 @@
</uni-swipe-action-item> </uni-swipe-action-item>
</uni-swipe-action> </uni-swipe-action>
<view v-if="item.fgList!=undefined && item.fgList.length>0" class="card_view" <view v-if="item.fgList!=undefined && item.fgList.length>0" class="card_view "
style="margin-left: 20px;" v-for="(fg, index) in item.fgList" :key="index"> style="margin-left: 20px;" v-for="(fg, index) in item.fgList" :key="index">
<com-fg-card :detail='fg'></com-fg-card> <com-fg-card :detail='fg' class="scan_view"></com-fg-card>
</view> </view>
</view> </view>
</uni-collapse-item> </uni-collapse-item>
@ -147,6 +147,7 @@
if (res) { if (res) {
item.scaned = false item.scaned = false
item.handleQty = null item.handleQty = null
item.fgList=[]
this.$forceUpdate() this.$forceUpdate()
this.$emit('remove', item) this.$emit('remove', item)
} }

1
src/pages/productReceipt/job/fgProductReceiptDetail.vue

@ -310,6 +310,7 @@
}) })
// //
if (pack.scaned && pack.qty == pack.fgList.length) { if (pack.scaned && pack.qty == pack.fgList.length) {
this.closeScanPopup();
this.commit() this.commit()
} }
}) })

Loading…
Cancel
Save