Browse Source

修改调拨入库扫描

wms3.0_pda
niexiting 11 months ago
parent
commit
60354937dd
  1. 1
      common/style/new_style.css
  2. 1
      pages/issue/coms/comIssueDetailCard.vue
  3. 1
      pages/issue/job/issueDetail.vue
  4. 9
      pages/issue/record/issueRecord.vue
  5. 28
      pages/putaway/record/putawayRecord.vue
  6. 4
      pages/transfer/job/receiptDetail.vue

1
common/style/new_style.css

@ -179,6 +179,7 @@ uni-page-head .uni-page-head__title {
border-radius: 50%;
text-align: center;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
opacity: 0.8;
}
.scan_float image {

1
pages/issue/coms/comIssueDetailCard.vue

@ -8,7 +8,6 @@
<uni-collapse-item :open="true">
<template v-slot:title>
<!-- 物品 -->
<u-line />
<item-qty :dataContent="item" :handleQty="item.handleQty"></item-qty>
<!-- <com-issue-request-info :workShopCode="dataContent.workShopCode" :dataContent="dataContent">
</com-issue-request-info> -->

1
pages/issue/job/issueDetail.vue

@ -13,7 +13,6 @@
<view v-for="(toLocation, index) in detailSource">
<com-issue-request-info :workShopCode="jobContent.workShopCode" :dataContent="toLocation">
</com-issue-request-info>
<!-- <u-line /> -->
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'>
</com-issue-detail-card>
</view>

9
pages/issue/record/issueRecord.vue

@ -7,8 +7,10 @@
<view class="page-main">
<scroll-view scroll-y="true" class="">
<view v-for="(toLocation, index) in detailSource">
<view class="uni-row uni-flex">
<com-issue-request-info :workShopCode="workShopCode" :dataContent="toLocation">
</com-issue-request-info>
</view>
<com-issue-detail-card ref='comIssueDetailCard' :dataContent="toLocation"
@updateData='updateData'>
</com-issue-detail-card>
@ -146,6 +148,13 @@
that.subList.push(r);
})
that.detailSource = getDataSource(that.detailSource, that.subList)
//
that.detailSource.forEach(item => {
//
})
that.resizeCollapse();
} else {
that.showMessage('列表数据为0');

28
pages/putaway/record/putawayRecord.vue

@ -1,5 +1,11 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_item">
需求零件 : {{jobContent.requestNumber}}
</view>
</view>
<view class="">
<com-blank-view @goScan='showFromLocationPopup' v-if="detailSource.length==0"></com-blank-view>
</view>
@ -108,6 +114,7 @@
};
},
onLoad(option) {
this.clear();
var typeCode = "PurchasePutaway"
getBusinessType(typeCode, res => {
if (res.success) {
@ -184,6 +191,10 @@
//
getRecommendLocation(balance, pack, callback) {
uni.showLoading({
title: '扫描中...',
mask: true
})
let recommend = this.recommendLocationList.find(r => r.itemCode == balance.itemCode);
if (recommend == undefined) {
let param = {
@ -199,9 +210,11 @@
locationCode: res.data.code
})
callback(res.data);
uni.hideLoading();
}).catch(error => {
uni.hideLoading()
this.showErrorMessage(error)
this.showErrorMessage(error);
uni.hideLoading();
})
} else {
@ -348,9 +361,17 @@
if (detail.scaned) {
var info = getPackingNumberAndBatchByList(this.managementList, detail.itemCode,
detail.packingNumber, detail.toLocationCode, detail.batch);
detail.toPackingNumber = info.packingNumber;;
detail.toContainerNumber = detail.containerNumber
detail.toPackingNumber = info.packingNumber;
detail.toBatch = info.batch;
detail.toContainerNumber = detail.containerNumber;
detail.fromPackingNumber = info.packingNumber;
detail.fromBatch = info.batch;
detail.fromContainerNumber = detail.containerNumber;
detail.fromLocationCode = detail.locationCode;
detail.toLocationCode = detail.toLocationCode;
// detail.toInventoryStatus = detail.inventoryStatus
// detail.toLocationCode = detail.toLocationCode
detail.package = null;
@ -362,7 +383,6 @@
this.dataContent.toWarehouseCode = subList[0].toWarehouseCode;
}
this.dataContent.subList = subList
debugger;
return this.dataContent;
},

4
pages/transfer/job/receiptDetail.vue

@ -496,11 +496,11 @@
scanPopupGetFocus() {
this.$refs.scanPopup.packGetFocus();
this.$refs.scanPopup.getfocus();
},
scanPopupLoseFocus() {
this.$refs.scanPopup.packLoseFocus();
this.$refs.scanPopup.loseFocus();
},
closeScanPopup() {

Loading…
Cancel
Save