Browse Source

修改查询条件

hella_online_20240829
niexiting 4 months ago
parent
commit
685921703b
  1. 11
      src/pages/fg/receiptByPlan.vue

11
src/pages/fg/receiptByPlan.vue

@ -14,9 +14,9 @@
<view class="cell_box uni-flex uni-row"> <view class="cell_box uni-flex uni-row">
<view class="cell_info"> <view class="cell_info">
<view class="text_lightblue">完工库位</view> <view class="text_lightblue">完工库位</view>
<view style="font-size: 30rpx; margin-top: 13rpx;" >{{dataContent.fgLocationCode}} <view style="font-size: 30rpx; margin-top: 13rpx;">{{dataContent.fgLocationCode}}
</view> </view>
</view> </view>
<view class="cell_info"> <view class="cell_info">
<view class="text_lightblue">计划数</view> <view class="text_lightblue">计划数</view>
@ -208,7 +208,7 @@
batch: result.batch, batch: result.batch,
packUnit: result.packUnit, packUnit: result.packUnit,
workStationCode: result.workStationCode, workStationCode: result.workStationCode,
fgLocationCode:result.fgLocationCode, fgLocationCode: result.fgLocationCode,
subList: [] subList: []
} }
}, },
@ -339,7 +339,7 @@
throw new Error("未查找到单据信息") throw new Error("未查找到单据信息")
} }
uni.hideLoading() uni.hideLoading()
this.showCommitSuccessMessage("提交成功<br>生成装配收货记录<br>"+list[0].requestNumber, list) this.showCommitSuccessMessage("提交成功<br>生成装配收货记录<br>" + list[0].requestNumber, list)
} catch (error) { } catch (error) {
uni.hideLoading() uni.hideLoading()
@ -390,8 +390,7 @@
if (that.dataContent) { if (that.dataContent) {
var itemIndex = this.allList.findIndex(r => var itemIndex = this.allList.findIndex(r =>
r.itemCode == result.itemCode && r.content == result.content);
r.order == result.order);
// //
if (itemIndex == -1) { if (itemIndex == -1) {
// if (this.allList.length > this.dataContent.packQty) { // if (this.allList.length > this.dataContent.packQty) {

Loading…
Cancel
Save