Browse Source

Merge branch 'hella_online_20240803' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-uniapp into hella_online_20240803

lijuncheng0816
lijuncheng 1 month ago
parent
commit
eae8993265
  1. 32
      src/pages/issue/record/directIssue.vue
  2. 4
      src/pages/pointPutawayJob/index.vue

32
src/pages/issue/record/directIssue.vue

@ -5,8 +5,10 @@
</view> </view>
<view class="page-wraper" v-if="detailSource.length>0"> <view class="page-wraper" v-if="detailSource.length>0">
<view class="page-header"> <view class="page-header">
<view class="header-view header_item"> <view class="header-view">
<view class="header_item">
来源库位 : {{fromLocationCode}} 来源库位 : {{fromLocationCode}}
</view>
</view> </view>
</view> </view>
<view class="page-main"> <view class="page-main">
@ -15,9 +17,8 @@
<view class=""> <view class="">
<record-com-detail-card :dataContent="item" :index="index" :settingParam="dataContent" <record-com-detail-card :dataContent="item" :index="index" :settingParam="dataContent"
:isShowFromLocation="false" @removeItem="removeItem(index,item)" :isShowFromLocation="false" @removeItem="removeItem(index,item)"
:isShowToLocation="false" :isShowToLocation="false" :isShowParentToLocation="false" @updateData="updateData"
:isShowParentToLocation="false" @removePack="removePack">
@updateData="updateData" @removePack="removePack">
</record-com-detail-card> </record-com-detail-card>
</view> </view>
@ -44,7 +45,7 @@
</view> </view>
<win-scan-button @goScan='openScanPopup'></win-scan-button> <win-scan-button @goScan='openScanPopup'></win-scan-button>
</view> </view>
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode"> <winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode">
</winComScanBalance> </winComScanBalance>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
@ -131,7 +132,7 @@
show: false, show: false,
positionInfo: "请选择生产线", positionInfo: "请选择生产线",
resultData: {}, resultData: {},
itemCode:"" itemCode: ""
}; };
}, },
onLoad(option) { onLoad(option) {
@ -169,7 +170,7 @@
mounted() {}, mounted() {},
methods: { methods: {
getBusinessType() { getBusinessType() {
getBusinessType(this.businessTypeCode, res => { getBusinessType(this.businessTypeCode, res => {
if (res.success) { if (res.success) {
@ -182,7 +183,7 @@
} }
}); });
}, },
getScanResult(result) { getScanResult(result) {
this.setData(result); this.setData(result);
}, },
@ -190,14 +191,14 @@
let balance = result.balance; let balance = result.balance;
let label = result.label; let label = result.label;
let pack = result.package; let pack = result.package;
if (this.fromLocationCode && this.fromLocationCode != balance.locationCode) { if (this.fromLocationCode && this.fromLocationCode != balance.locationCode) {
this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]在库位[" + this this.showErrorMessage("箱码[" + balance.packingNumber + "批次[" + balance.batch + "]在库位[" + this
.fromLocationCode + "]没有库存余额") .fromLocationCode + "]没有库存余额")
return; return;
} }
var item = this.detailSource.find(res => { var item = this.detailSource.find(res => {
if (res.itemCode == balance.itemCode) { if (res.itemCode == balance.itemCode) {
return res return res
@ -255,13 +256,8 @@
}, },
showErrorMessage(message) { showErrorMessage(message) {
if (this.$refs.scanPopup) {
this.$refs.scanPopup.losefocus();
}
this.$refs.comMessage.showErrorMessage(message, res => { this.$refs.comMessage.showErrorMessage(message, res => {
if (res) { if (res) {}
this.scanPopupGetFocus()
}
}); });
}, },
@ -518,7 +514,7 @@
this.toWarehouseCode = ''; this.toWarehouseCode = '';
this.detailSource = []; this.detailSource = [];
this.positionInfo = "请选择生产线"; this.positionInfo = "请选择生产线";
this.itemCode="" this.itemCode = ""
} }
} }
} }

4
src/pages/pointPutawayJob/index.vue

@ -26,7 +26,7 @@
<tr> <tr>
<td>供应商</td> <td>供应商</td>
<td>{{item.supplierCode}}</td> <td>{{item.supplierCode}}</td>
<td>批次</td> <td>供应商批次</td>
<td>{{item.supplierBatch}}</td> <td>{{item.supplierBatch}}</td>
</tr> </tr>
<tr> <tr>
@ -218,7 +218,7 @@
<tr> <tr>
<td>供应商</td> <td>供应商</td>
<td>${item.supplierCode}</td> <td>${item.supplierCode}</td>
<td>批次</td> <td>供应商批次</td>
<td>${item.supplierBatch}</td> <td>${item.supplierBatch}</td>
</tr> </tr>
<tr> <tr>

Loading…
Cancel
Save