Browse Source

整理样式

hella_online_20240829
niexiting 3 months ago
parent
commit
aabb5b1df3
  1. 4
      src/mycomponents/scan/winComScanBalanceLocation.vue
  2. 4
      src/mycomponents/scan/winScanItem.vue
  3. 14
      src/pages/count/job/countBlindDetail.vue
  4. 10
      src/pages/count/job/countDetail.vue
  5. 5
      src/pages/count/job/fuzzyCountDetail.vue
  6. 25
      src/pages/customerReturn/job/returnDetail.vue
  7. 7
      src/pages/deliver/job/deliverDetail.vue
  8. 22
      src/pages/inspect/request/inspectRequestDetail.vue
  9. 14
      src/pages/inventoryMove/job/inventoryMoveDetail.vue
  10. 1
      src/pages/issue/coms/comIssueRequestPopup.vue
  11. 35
      src/pages/package/job/overPackageJobDetail.vue
  12. 18
      src/pages/productPutaway/job/productPutawayDetail.vue
  13. 16
      src/pages/productReceipt/job/ccProductReceiptDetail.vue
  14. 19
      src/pages/productReceipt/job/productReceiptDetail.vue
  15. 4
      src/pages/productReceipt/job/scrapReceiptDetail.vue
  16. 7
      src/pages/productRecycle/job/productRecycleJobDetail.vue
  17. 11
      src/pages/productionReceipt/coms/comProductionJobCard.vue
  18. 3
      src/pages/productionReceipt/job/productionReceiptDetail.vue
  19. 1
      src/pages/productionReturn/coms/comReturnRequestPopup.vue
  20. 6
      src/pages/productionReturn/job/returnDetail.vue
  21. 6
      src/pages/repleinsh/job/repleinshDetail.vue
  22. 20
      src/pages/stockUp/job/stockUpJobDetail.vue
  23. 15
      src/pages/supplierDeliver/record/supplierDeliverRecordDetail.vue
  24. 19
      src/pages/transfer/job/issueDetail.vue
  25. 13
      src/pages/transfer/job/receiptDetail.vue
  26. 4
      src/pages/transfer/job/transferDetail.vue
  27. 3
      src/pages/unPlanned/coms/comReceiptRequestPopup.vue
  28. 4
      src/pages/unPlanned/job/issueJobDetail.vue
  29. 17
      src/pages/unPlanned/job/receiptJobDetail.vue
  30. 3
      src/pages/unPlanned/request/issueRequestDetail.vue
  31. 3
      src/pages/unPlanned/request/receiptRequestDetail.vue

4
src/mycomponents/scan/winComScanBalanceLocation.vue

@ -238,9 +238,9 @@
getBasicItemByCode(itemCode).then(res => { getBasicItemByCode(itemCode).then(res => {
if (res.data != null && res.data.list.length > 0) { if (res.data != null && res.data.list.length > 0) {
var result = res.data.list[0]; var result = res.data.list[0];
var status = result.status; var status = result.available;
var type = result.type; var type = result.type;
if (status == "ENABLE") { if (status == "TRUE") {
if (checkDirectoryItemExist(this.itemTypesList, type)) { if (checkDirectoryItemExist(this.itemTypesList, type)) {
callBack() callBack()
} else { } else {

4
src/mycomponents/scan/winScanItem.vue

@ -110,14 +110,14 @@
uni.hideLoading(); uni.hideLoading();
if (res.data != null && res.data.list.length > 0) { if (res.data != null && res.data.list.length > 0) {
var result =res.data.list[0]; var result =res.data.list[0];
var status =result.status; var status =result.available;
var type = result.type; var type = result.type;
var itemCode = result.code var itemCode = result.code
var itemName =result.name var itemName =result.name
var uom = result.uom var uom = result.uom
var std = result.uom var std = result.uom
result.package = scanResult.package result.package = scanResult.package
if(status=="ENABLE"){ if(status=="TRUE"){
if(checkDirectoryItemExist(this.itemCodeTypeList,type)){ if(checkDirectoryItemExist(this.itemCodeTypeList,type)){
this.result =result; this.result =result;
this.callBack() this.callBack()

14
src/pages/count/job/countBlindDetail.vue

@ -1,7 +1,8 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="header"> <view class="page-header">
<view class=""> <view class="header-view">
<view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="cen_card" style="padding-top: 10rpx;padding-bottom: 10rpx;"> <view class="cen_card" style="padding-top: 10rpx;padding-bottom: 10rpx;">
@ -25,6 +26,7 @@
</view> </view>
</view> </view>
</view> </view>
</view>
<u-line color="#D8D8D8" style="margin-bottom: 10rpx"></u-line> <u-line color="#D8D8D8" style="margin-bottom: 10rpx"></u-line>
<view style="margin-top: 160rpx; margin-bottom: 50rpx;"> <view style="margin-top: 160rpx; margin-bottom: 50rpx;">
<u-line color="#D8D8D8" style="margin-bottom: 15rpx"></u-line> <u-line color="#D8D8D8" style="margin-bottom: 15rpx"></u-line>
@ -40,8 +42,7 @@
</view> </view>
<comCountDetailcards :ref="'countDetail_'+index" :dataContent="item" :index="index" <comCountDetailcards :ref="'countDetail_'+index" :dataContent="item" :index="index"
@editItem="editItem" :settingParam="jobContent" @remove="updateData" @editItem="editItem" :settingParam="jobContent" @remove="updateData"
:isShowRecommendQty ="false" :isShowRecommendQty="false" @updateData="updateData">
@updateData="updateData">
</comCountDetailcards> </comCountDetailcards>
</view> </view>
<view class='split_line'></view> <view class='split_line'></view>
@ -67,9 +68,8 @@
<win-scan-button @goScan='openScanPopup'></win-scan-button> <win-scan-button @goScan='openScanPopup'></win-scan-button>
<win-scan-pack-and-location <win-scan-pack-and-location :allowModifyLocation="false" ref="scanPopup" :noShowBalanceMessage="true"
:allowModifyLocation="false" :queryBalance="true" @getResult='getScanResult'>
ref="scanPopup" :noShowBalanceMessage="true" :queryBalance="true" @getResult='getScanResult'>
</win-scan-pack-and-location> </win-scan-pack-and-location>
<count-qty-edit ref="countQtyEdit" @confirm="editConfirm" @close="editClose" :isShowStatus="true" <count-qty-edit ref="countQtyEdit" @confirm="editConfirm" @close="editClose" :isShowStatus="true"
:allowEditStatus="editInventoryStatus" :isShowBalance="jobContent.isOpenCount=='TRUE'"> :allowEditStatus="editInventoryStatus" :isShowBalance="jobContent.isOpenCount=='TRUE'">

10
src/pages/count/job/countDetail.vue

@ -1,6 +1,7 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
@ -21,6 +22,7 @@
</view> </view>
</view> </view>
</view> </view>
</view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;"></u-line> <u-line color="#D8D8D8" style="margin-bottom: 15rpx;"></u-line>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
@ -48,15 +50,11 @@
</view> </view>
<win-scan-button @goScan='openScanPopup'></win-scan-button> <win-scan-button @goScan='openScanPopup'></win-scan-button>
<win-scan-pack-and-location <win-scan-pack-and-location ref="scanPopup" :noShowBalanceMessage="true" :isCount="true"
ref="scanPopup" :noShowBalanceMessage="true"
:isCount="true"
@getCountScanResult='getScanResult'> @getCountScanResult='getScanResult'>
</win-scan-pack-and-location> </win-scan-pack-and-location>
<count-qty-edit ref="countQtyEdit" @confirm="editConfirm" @close="editClose" :isShowStatus="true" <count-qty-edit ref="countQtyEdit" @confirm="editConfirm" @close="editClose" :isShowStatus="true"
:allowEditStatus="editInventoryStatus" :allowEditStatus="editInventoryStatus" :isShowBalance="jobContent.isOpenCount=='TRUE'">
:isShowBalance="jobContent.isOpenCount=='TRUE'">
</count-qty-edit> </count-qty-edit>
<balance-select ref="balanceSelect" @onSelectItem='selectBalanceItem'></balance-select> <balance-select ref="balanceSelect" @onSelectItem='selectBalanceItem'></balance-select>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>

5
src/pages/count/job/fuzzyCountDetail.vue

@ -2,6 +2,7 @@
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header_job_top"> <view class="header_job_top">
<view class="header-view">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
<uni-collapse ref="collapse"> <uni-collapse ref="collapse">
<uni-collapse-item :open="true"> <uni-collapse-item :open="true">
@ -19,6 +20,7 @@
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </uni-collapse>
</view> </view>
</view>
<view class="card_view" v-if="fromLocationCode!=''"> <view class="card_view" v-if="fromLocationCode!=''">
<text class="card_location">盘点库位</text> <text class="card_location">盘点库位</text>
<text class="card_content ">{{fromLocationCode}}</text> <text class="card_content ">{{fromLocationCode}}</text>
@ -328,8 +330,7 @@
if (index < 0) { if (index < 0) {
this.showErrorMessage("物料代码【" + packInfo.itemCode + "】,不在盘点范围【" + this.itemRangeValue + "】内") this.showErrorMessage("物料代码【" + packInfo.itemCode + "】,不在盘点范围【" + this.itemRangeValue + "】内")
return; return;
} } else {
else {
this.onScan(packInfo); this.onScan(packInfo);
} }
} else { } else {

25
src/pages/customerReturn/job/returnDetail.vue

@ -1,5 +1,17 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header">
<view class="header-view">
<view class="header_job_top">
<job-top :dataContent="jobContent"></job-top>
</view>
<view class="header_item">
<view>客户代码:{{jobContent.customerCode}}</view>
</view>
</view>
</view>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
@ -9,7 +21,6 @@
:locationAreaTypeList="toLocationAreaTypeList"> :locationAreaTypeList="toLocationAreaTypeList">
</com-detail-card> </com-detail-card>
</view> </view>
<view class='split_line'></view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
@ -18,9 +29,10 @@
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
<view class=""> <view class="">
<locationCompare ref='comScanLocation' :isShowEdit="jobContent.allowModifyLocation=='TRUE'" title="目标库位" :recommendLocationCode="jobToLocationCode" :locationCode="toLocationCode" <locationCompare ref='comScanLocation' :isShowEdit="jobContent.allowModifyLocation=='TRUE'"
@getLocation='scanLocationCode' title="目标库位" :recommendLocationCode="jobToLocationCode" :locationCode="toLocationCode"
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> @getLocation='scanLocationCode' :locationAreaTypeList="toLocationAreaTypeList">
</locationCompare>
</view> </view>
<view class=" uni-flex uni-row"> <view class=" uni-flex uni-row">
<button class="btn_single_commit" hover-class="btn_commit_after" @click="commit">提交</button> <button class="btn_single_commit" hover-class="btn_commit_after" @click="commit">提交</button>
@ -67,9 +79,11 @@
import locationCompare from '@/mycomponents/location/locationCompare.vue' import locationCompare from '@/mycomponents/location/locationCompare.vue'
import comDetailCard from "@/mycomponents/detail/comDetailCard.vue" import comDetailCard from "@/mycomponents/detail/comDetailCard.vue"
import detailInfoPopup from '@/pages/customerReturn/coms/detailInfoPopup.vue' import detailInfoPopup from '@/pages/customerReturn/coms/detailInfoPopup.vue'
import jobTop from '@/mycomponents/job/jobTop.vue'
export default { export default {
components: { components: {
jobTop,
winScanButton, winScanButton,
winScanPackAndLocation, winScanPackAndLocation,
locationCompare, locationCompare,
@ -281,7 +295,8 @@
} }
}); });
} else { } else {
this.showQuestionMessage('任务中不允许修改库存状态,实际库存状态[' + balanceStatus + ']与推荐库存状态[' + itemStatus + this.showQuestionMessage('任务中不允许修改库存状态,实际库存状态[' + balanceStatus + ']与推荐库存状态[' +
itemStatus +
']不一致,不允许转移!', res => { ']不一致,不允许转移!', res => {
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}); });

7
src/pages/deliver/job/deliverDetail.vue

@ -1,13 +1,10 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<!-- <view class="header_item">
申请单号{{jobContent.requestNumber}}
</view>
-->
<view class="cen_card" style="padding: 5rpx;"> <view class="cen_card" style="padding: 5rpx;">
<view class="cell_box uni-flex uni-row"> <view class="cell_box uni-flex uni-row">
<view class="cell_info"> <view class="cell_info">
@ -25,7 +22,7 @@
<view>{{toLocationCode}}</view> <view>{{toLocationCode}}</view>
</view> </view>
</view> </view>
<view class='split_line'></view> </view>
</view> </view>
</view> </view>

22
src/pages/inspect/request/inspectRequestDetail.vue

@ -1,22 +1,22 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header">
<view class="page-main"> <view class="header-view">
<scroll-view scroll-y="true" class="page-main-scroll"> <view class="header_item" >
<view class="" style="background-color: #fff; padding-left: 20rpx;padding-right: 20rpx; padding-top: 10rpx;padding-bottom: 10rpx;">
<view class="" style="font-size: 35rpx;">
单据号 : {{requestContent.number}} 单据号 : {{requestContent.number}}
</view> </view>
<view class="" style="font-size: 35rpx;"> <view class="header_item" >
<text>供应商代码 : {{requestContent.supplierCode}} </text> <text>供应商代码 : {{requestContent.supplierCode}} </text>
</view> </view>
</view> </view>
</view>
<view class='split_line'></view> <view class='split_line'></view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<comRequestDetailCard :dataContent="item" <comRequestDetailCard :dataContent="item" :isShowBatch="false" @openDetail="openDetail">
:isShowBatch ="false"
@openDetail="openDetail">
</comRequestDetailCard> </comRequestDetailCard>
</view> </view>
</view> </view>
@ -29,7 +29,6 @@
</template> </template>
<script> <script>
import { import {
getInspectRequestDetail, getInspectRequestDetail,
} from '@/api/request2.js'; } from '@/api/request2.js';
@ -115,8 +114,7 @@
showMessage(message) { showMessage(message) {
this.$refs.comMessage.showMessage(message, res => { this.$refs.comMessage.showMessage(message, res => {
if (res) { if (res) {}
}
}); });
}, },

14
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -1,13 +1,11 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view> </view>
<view class='split_line'></view>
</view> </view>
<view class="page-main"> <view class="page-main">
@ -175,8 +173,7 @@
name = "不合格转隔离"; name = "不合格转隔离";
this.toLocationCode = 'HOLD'; this.toLocationCode = 'HOLD';
this.toInventoryStatus = 'HOLD'; this.toInventoryStatus = 'HOLD';
} } else if (this.businessTypeCode == "OktoScrap") {
else if (this.businessTypeCode == "OktoScrap") {
name = "合格转报废"; name = "合格转报废";
this.toLocationCode = 'SCRAP'; this.toLocationCode = 'SCRAP';
this.toInventoryStatus = 'SCRAP'; this.toInventoryStatus = 'SCRAP';
@ -454,12 +451,9 @@
detail.toBatch = info.batch; detail.toBatch = info.batch;
detail.toContainerNumber = ''; detail.toContainerNumber = '';
// detail.toLocationCode = this.toLocationCode; // detail.toLocationCode = this.toLocationCode;
if(this.businessTypeCode == "Move") if (this.businessTypeCode == "Move") {
{
detail.toInventoryStatus = detail.inventoryStatus; detail.toInventoryStatus = detail.inventoryStatus;
} } else {
else
{
detail.toInventoryStatus = this.toInventoryStatus; detail.toInventoryStatus = this.toInventoryStatus;
} }
subList.push(detail) subList.push(detail)

1
src/pages/issue/coms/comIssueRequestPopup.vue

@ -99,7 +99,6 @@
<script> <script>
import { import {
getBasicItemByCode,
getProductionlineItem, getProductionlineItem,
getWorkShopLineStation, getWorkShopLineStation,
getWarehouseCodeList getWarehouseCodeList

35
src/pages/package/job/overPackageJobDetail.vue

@ -1,44 +1,51 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<div style="background: white;">
<print ref="printService" @printCode="printCode" @templateCode="templateCode"></print>
</div>
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<!-- <view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view> -->
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view v-for="(toLocation, index) in detailSource" :key="index">
<view class="cen_card" style="padding: 5rpx;" v-if='subList.length>0'> <view class="cen_card" style="padding: 5rpx;" v-if='subList.length>0'>
<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> <view>
{{subList[0].fromPackQty}}({{getUomInfo(subList[0].uom)}})/{{getPackUnitName(subList[0].fromPackUnit)}} {{getPackUnitName(subList[0].fromPackUnit)}}/{{subList[0].fromPackQty}}({{getUomInfo(subList[0].uom)}})
</view> </view>
</view> </view>
<view class="cell_info"> <view class="cell_info">
<view class="text_lightblue">翻包后包装规格</view> <view class="text_lightblue">翻包后包装规格</view>
<view> <view>
{{subList[0].toPackQty}}({{getUomInfo(subList[0].uom)}})/{{getPackUnitName(subList[0].toPackUnit)}} {{getPackUnitName(subList[0].toPackUnit)}}/{{subList[0].toPackQty}}({{getUomInfo(subList[0].uom)}})
</view>
</view> </view>
</view> </view>
</view> </view>
<view class="split_line"></view>
</view> </view>
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view v-for="(toLocation, index) in detailSource" :key="index">
<comOverPackJobDetailCard ref='comOverPackJobDetailCard' :dataContent="toLocation" <comOverPackJobDetailCard ref='comOverPackJobDetailCard' :dataContent="toLocation"
@updateData='updateData'> @updateData='updateData'>
</comOverPackJobDetailCard> </comOverPackJobDetailCard>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<div style="background: white;">
<uni-collapse>
<uni-collapse-item>
<template v-slot:title>
<view class="card_itemName" style="padding: 3px 5px; font-size: 28rpx;">
打印设置
</view>
</template>
<print ref="printService" @printCode="printCode" @templateCode="templateCode"></print>
</uni-collapse-item>
</uni-collapse>
</div>
<view class="page-footer"> <view class="page-footer">
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">

18
src/pages/productPutaway/job/productPutawayDetail.vue

@ -1,20 +1,21 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item"> <!-- <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> -->
</view> </view>
<view class='split_line'></view>
</view> </view>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<com-detail-card :dataContent="item" :index="index" :settingParam="jobContent" :isShowStatus="false" <com-detail-card :dataContent="item" :index="index" :settingParam="jobContent"
@remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowStatus="false" @remove="updateData" @updateData="updateData" @openDetail="openDetail"
:locationAreaTypeList='toLocationAreaTypeList'> :locationAreaTypeList='toLocationAreaTypeList'>
</com-detail-card> </com-detail-card>
</view> </view>
@ -36,7 +37,8 @@
</view> </view>
<win-scan-button @goScan='openScanPopup'></win-scan-button> <win-scan-button @goScan='openScanPopup'></win-scan-button>
<win-scan-pack-and-location :balanceFromInventoryStatuses="false" ref="scanPopup" @getResult='getScanResult'></win-scan-pack-and-location> <win-scan-pack-and-location :balanceFromInventoryStatuses="false" ref="scanPopup"
@getResult='getScanResult'></win-scan-pack-and-location>
<detail-info-popup ref="detailInfoPopup"></detail-info-popup> <detail-info-popup ref="detailInfoPopup"></detail-info-popup>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
@ -273,7 +275,8 @@
} }
}) })
} }
this.$refs.scanPopup.openScanPopupForJobSimulate(fromlocationCode, fromlocationList, this.jobContent,scanMessage); this.$refs.scanPopup.openScanPopupForJobSimulate(fromlocationCode, fromlocationList, this.jobContent,
scanMessage);
}, },
openScanPopup() { openScanPopup() {
@ -453,7 +456,8 @@
productPutawayJobSubmit(params).then(res => { productPutawayJobSubmit(params).then(res => {
uni.hideLoading() uni.hideLoading()
if (res.data) { if (res.data) {
this.showCommitSuccessMessage("提交成功<br>生成"+this.hintTitle+"记录<br>" + res.data) this.showCommitSuccessMessage("提交成功<br>生成" + this.hintTitle + "记录<br>" +
res.data)
} else { } else {
this.showErrorMessage("提交失败[" + res.msg + "]") this.showErrorMessage("提交失败[" + res.msg + "]")
} }

16
src/pages/productReceipt/job/ccProductReceiptDetail.vue

@ -1,14 +1,10 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="cen_card" style="padding: 5rpx;"> <view class="cen_card" style="padding: 5rpx;">
<view class="cell_box uni-flex uni-row"> <view class="cell_box uni-flex uni-row">
<view class="cell_info"> <view class="cell_info">
@ -20,7 +16,7 @@
<view class="cell_info"> <view class="cell_info">
<view class="text_lightblue">生产线</view> <view class="text_lightblue">生产线</view>
<view> <view>
{{item.subList[0].productionLineCode}} {{jobContent.subList[0].productionLineCode}}
</view> </view>
</view> </view>
<view class="cell_info"> <view class="cell_info">
@ -36,8 +32,14 @@
</view> </view>
</view> </view>
</view> </view>
<view class="split_line"></view>
</view> </view>
</view>
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<comProductDetailCard :dataContent="item" :settingParam="jobContent" :isShowLocation="false" <comProductDetailCard :dataContent="item" :settingParam="jobContent" :isShowLocation="false"

19
src/pages/productReceipt/job/productReceiptDetail.vue

@ -1,14 +1,11 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
</view> <!-- <view class="header_item">生产计划{{productionPlanNumber}}</view> -->
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="cen_card" style="padding: 5rpx;"> <view class="cen_card" style="padding: 5rpx;">
<view class="cell_box uni-flex uni-row"> <view class="cell_box uni-flex uni-row">
<view class="cell_info"> <view class="cell_info">
@ -20,7 +17,7 @@
<view class="cell_info"> <view class="cell_info">
<view class="text_lightblue">生产线</view> <view class="text_lightblue">生产线</view>
<view> <view>
{{item.subList[0].productionLineCode}} {{jobContent.subList[0].productionLineCode}}
</view> </view>
</view> </view>
<view class="cell_info"> <view class="cell_info">
@ -36,8 +33,13 @@
</view> </view>
</view> </view>
</view> </view>
<view class="split_line"></view>
</view> </view>
</view>
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<comProductDetailCard :dataContent="item" :settingParam="jobContent" :isShowLocation="false" <comProductDetailCard :dataContent="item" :settingParam="jobContent" :isShowLocation="false"
@ -53,7 +55,8 @@
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
<view class=""> <view class="">
<locationCompare ref="comScanLocation" title="收货库位" :isShowEdit="jobContent.allowModifyLocation=='TRUE'" :recommendLocationCode="jobToLocationCode" <locationCompare ref="comScanLocation" title="收货库位"
:isShowEdit="jobContent.allowModifyLocation=='TRUE'" :recommendLocationCode="jobToLocationCode"
:locationCode="toLocationCode" @getLocation='scanLocationCode' :locationCode="toLocationCode" @getLocation='scanLocationCode'
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> :locationAreaTypeList="toLocationAreaTypeList"></locationCompare>
</view> </view>

4
src/pages/productReceipt/job/scrapReceiptDetail.vue

@ -1,13 +1,11 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view> </view>
<view class='split_line'></view>
</view> </view>
<view class="page-main"> <view class="page-main">

7
src/pages/productRecycle/job/productRecycleJobDetail.vue

@ -1,13 +1,11 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号{{jobContent.requestNumber}}
</view> </view>
<view class='split_line'></view>
</view> </view>
<view class="page-main"> <view class="page-main">
@ -34,7 +32,8 @@
</view> </view>
<win-scan-button @goScan='openScanPopup'></win-scan-button> <win-scan-button @goScan='openScanPopup'></win-scan-button>
<win-scan-pack-and-location ref="scanPopup" title="制品标签" @getResult='getScanResult'></win-scan-pack-and-location> <win-scan-pack-and-location ref="scanPopup" title="制品标签"
@getResult='getScanResult'></win-scan-pack-and-location>
<recycleDetailInfoPopup ref="jobDetailPopup"></recycleDetailInfoPopup> <recycleDetailInfoPopup ref="jobDetailPopup"></recycleDetailInfoPopup>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
</view> </view>

11
src/pages/productionReceipt/coms/comProductionJobCard.vue

@ -1,10 +1,13 @@
<template> <template>
<job-com-main-card :dataContent="dataContent"> <job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard> <jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<view class="" > <view class="task_item" style="margin-left: 15px;">
<text style="font-size: 32rpx; margin-left: 35rpx;">生产线</text> <view class="task_text">
<text style="font-size: 35rpx; margin-left: 10rpx; font-weight: bold;" >{{dataContent.productionLineCode}}</text> <view class="card_view">
<text class="card_packing_code ">生产线</text>
<text class="card_content ">{{dataContent.productionLineCode}}</text>
</view>
</view>
</view> </view>
</job-com-main-card> </job-com-main-card>
</template> </template>

3
src/pages/productionReceipt/job/productionReceiptDetail.vue

@ -2,13 +2,14 @@
<view class="page-wraper"> <view class="page-wraper">
<view class="page-main"> <view class="page-main">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item"> <view class="header_item">
发料任务单号 : {{jobContent.issueJobNumber}} 发料任务单号 : {{jobContent.issueJobNumber}}
</view> </view>
<view class="split_line"></view> </view>
</view> </view>
<scroll-view scroll-y="true"> <scroll-view scroll-y="true">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">

1
src/pages/productionReturn/coms/comReturnRequestPopup.vue

@ -74,7 +74,6 @@
<script> <script>
import { import {
getBasicItemByCode,
getProductionlineItem, getProductionlineItem,
getWorkShopLineStation getWorkShopLineStation
} from '@/api/request2.js'; } from '@/api/request2.js';

6
src/pages/productionReturn/job/returnDetail.vue

@ -1,21 +1,19 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<!-- <view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view> -->
<work-station :workshopCode="jobContent.workshopCode" :productionLineCode="titleInfo.productionLineCode" <work-station :workshopCode="jobContent.workshopCode" :productionLineCode="titleInfo.productionLineCode"
:workStationCode="titleInfo.workStationCode" :rawLocationCode="titleInfo.fromLocationCode"> :workStationCode="titleInfo.workStationCode" :rawLocationCode="titleInfo.fromLocationCode">
</work-station> </work-station>
</view> </view>
</view>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<view class="split_line"></view>
<com-return-detail-card :dataContent="item" :index="index" :settingParam="jobContent" <com-return-detail-card :dataContent="item" :index="index" :settingParam="jobContent"
@remove="updateData" @updateData="updateData" @remove="updateData" @updateData="updateData"
:locationAreaTypeList='toLocationAreaTypeList'> :locationAreaTypeList='toLocationAreaTypeList'>

6
src/pages/repleinsh/job/repleinshDetail.vue

@ -1,13 +1,14 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item"> <view class="header_item">
申请单号 : {{jobContent.requestNumber}} 申请单号 : {{jobContent.requestNumber}}
</view> </view>
<view class="split_line"></view> </view>
</view> </view>
<view class="page-main"> <view class="page-main">
@ -191,7 +192,8 @@
that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes) that.toLocationAreaTypeList = getDirectoryItemArray(that.jobContent.toAreaTypes)
that.detailSource = getDataSource(that.detailSource, that.subList) that.detailSource = getDataSource(that.detailSource, that.subList)
if (that.scanMessage) { if (that.scanMessage) {
this.$refs.comScanIssuePack.openScanPopupForJobSimulate(this.detailSource, this.jobContent,that.scanMessage); this.$refs.comScanIssuePack.openScanPopupForJobSimulate(this.detailSource, this
.jobContent, that.scanMessage);
} }
setTimeout(r => { setTimeout(r => {

20
src/pages/stockUp/job/stockUpJobDetail.vue

@ -1,26 +1,11 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号{{jobContent.requestNumber}}
</view> </view>
<view class='split_line'></view>
<!-- <view class="cen_card" style="padding: 5rpx;">
<view class="cell_box uni-flex uni-row">
<view class="cell_info">
<view class="text_lightblue">客户代码</view>
<view>{{jobContent.customerCode}}</view>
</view>
<view class="cell_info">
<view class="text_lightblue">客户寄售库</view>
<view>{{toLocationCode}}</view>
</view>
</view>
<view class='split_line'></view>
</view> -->
</view> </view>
<view class="page-main"> <view class="page-main">
@ -324,7 +309,8 @@
.packingNumber; .packingNumber;
record.toBatch = r.batch; record.toBatch = r.batch;
} else { } else {
var info = getPackingNumberAndBatch( var info =
getPackingNumberAndBatch(
this.managementList, r this.managementList, r
.itemCode, .itemCode,
r.packingNumber, r r.packingNumber, r

15
src/pages/supplierDeliver/record/supplierDeliverRecordDetail.vue

@ -1,18 +1,17 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-main"> <view class="page-header">
<scroll-view scroll-y="true" class="page-main-scroll"> <view class="header-view">
<view class="" <view class="header_item">
style="padding:10rpx 30rpx ;font-size: 32rpx; ">
<!-- padding-left: 20rpx;padding-right: 20rpx; padding-top: 10rpx;padding-bottom: 10rpx -->
<view style="padding: 5rpx;">
发货单号:{{dataContent.asnNumber}} 发货单号:{{dataContent.asnNumber}}
</view> </view>
<view style="padding: 5rpx;"> <view class="header_item">
供应商代码:{{dataContent.supplierCode}} 供应商代码:{{dataContent.supplierCode}}
</view> </view>
</view> </view>
<u-line /> </view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<com-record-detail-card :dataContent="item" :index="index" @remove="updateData" <com-record-detail-card :dataContent="item" :index="index" @remove="updateData"

19
src/pages/transfer/job/issueDetail.vue

@ -1,11 +1,10 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view> </view>
</view> </view>
<view class="page-main"> <view class="page-main">
@ -26,8 +25,8 @@
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
<view class=""> <view class="">
<locationCompare ref='comScanLocation' title="目标库位" :recommendLocationCode="jobToLocationCode" :locationCode="toLocationCode" <locationCompare ref='comScanLocation' title="目标库位" :recommendLocationCode="jobToLocationCode"
@getLocation='scanLocationCode' :locationCode="toLocationCode" @getLocation='scanLocationCode'
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> :locationAreaTypeList="toLocationAreaTypeList"></locationCompare>
</view> </view>
<view class=" uni-flex uni-row"> <view class=" uni-flex uni-row">
@ -262,16 +261,19 @@
r.batch == batch && r.fromLocationCode == result.fromLocationCode r.batch == batch && r.fromLocationCode == result.fromLocationCode
}) })
if (itemDetail == undefined) { if (itemDetail == undefined) {
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【"+result.fromLocationCode+"】不在列表中") this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result
.fromLocationCode + "】不在列表中")
} else { } else {
if (itemDetail.scaned) { if (itemDetail.scaned) {
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【"+result.fromLocationCode+"】已经扫描") this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result
.fromLocationCode + "】已经扫描")
} else { } else {
let balanceStatus = getInventoryStatusName(result.balance.inventoryStatus); let balanceStatus = getInventoryStatusName(result.balance.inventoryStatus);
let itemStatus = getInventoryStatusName(itemDetail.inventoryStatus); let itemStatus = getInventoryStatusName(itemDetail.inventoryStatus);
if (itemDetail.inventoryStatus != result.balance.inventoryStatus) { if (itemDetail.inventoryStatus != result.balance.inventoryStatus) {
if (this.jobContent.allowModifyInventoryStatus == "TRUE") { if (this.jobContent.allowModifyInventoryStatus == "TRUE") {
this.showQuestionMessage('任务中允许修改库存状态,实际库存状态[' + balanceStatus + ']与推荐库存状态[' + itemStatus + this.showQuestionMessage('任务中允许修改库存状态,实际库存状态[' + balanceStatus + ']与推荐库存状态[' +
itemStatus +
']不一致,是否继续出库?', res => { ']不一致,是否继续出库?', res => {
if (res) { if (res) {
itemDetail.scaned = true; itemDetail.scaned = true;
@ -287,7 +289,8 @@
} }
}); });
} else { } else {
this.showQuestionMessage('任务中不允许修改库存状态,实际库存状态[' + balanceStatus + ']与推荐库存状态[' + itemStatus + this.showQuestionMessage('任务中不允许修改库存状态,实际库存状态[' + balanceStatus + ']与推荐库存状态[' +
itemStatus +
']不一致,不允许转移!', res => { ']不一致,不允许转移!', res => {
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}); });

13
src/pages/transfer/job/receiptDetail.vue

@ -1,24 +1,23 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view>
<view class="header_item"> <view class="header_item">
来源仓库 : {{jobContent.fromWarehouseCode}} 来源仓库 : {{jobContent.fromWarehouseCode}}
</view> </view>
<view class='split_line'></view> <view class='split_line'></view>
</view> </view>
</view>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent" <com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent"
@remove="updateData" @updateData="updateData" :locationAreaTypeList='toLocationAreaTypeList'> @remove="updateData" @updateData="updateData"
:locationAreaTypeList='toLocationAreaTypeList'>
</com-receipt-detail-card> </com-receipt-detail-card>
</view> </view>
</view> </view>
@ -29,8 +28,8 @@
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
<view class=""> <view class="">
<locationCompare ref='comScanLocation' title="目标库位" :recommendLocationCode="jobToLocationCode" :locationCode="toLocationCode" <locationCompare ref='comScanLocation' title="目标库位" :recommendLocationCode="jobToLocationCode"
@getLocation='scanLocationCode' :locationCode="toLocationCode" @getLocation='scanLocationCode'
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> :locationAreaTypeList="toLocationAreaTypeList"></locationCompare>
</view> </view>
<view class=" uni-flex uni-row"> <view class=" uni-flex uni-row">

4
src/pages/transfer/job/transferDetail.vue

@ -1,13 +1,11 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view> </view>
<view class='split_line'></view>
</view> </view>
<view class="page-main"> <view class="page-main">

3
src/pages/unPlanned/coms/comReceiptRequestPopup.vue

@ -76,9 +76,6 @@
</template> </template>
<script> <script>
import {
getBasicItemByCode,
} from '@/api/request2.js';
import { import {
getLocationTypeName, getLocationTypeName,
getListLocationTypeDesc, getListLocationTypeDesc,

4
src/pages/unPlanned/job/issueJobDetail.vue

@ -1,13 +1,11 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view> </view>
<view class='split_line'></view>
</view> </view>
<view class="page-main"> <view class="page-main">

17
src/pages/unPlanned/job/receiptJobDetail.vue

@ -1,13 +1,11 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<job-top :dataContent="jobContent"></job-top> <job-top :dataContent="jobContent"></job-top>
</view> </view>
<view class="header_item">
申请单号 : {{jobContent.requestNumber}}
</view> </view>
<view class='split_line'></view>
</view> </view>
<view class="page-main"> <view class="page-main">
@ -15,7 +13,8 @@
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent" <com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent"
@remove="updateData" @updateData="updateData" :locationAreaTypeList='toLocationAreaTypeList'> @remove="updateData" @updateData="updateData"
:locationAreaTypeList='toLocationAreaTypeList'>
</com-receipt-detail-card> </com-receipt-detail-card>
</view> </view>
<view class='split_line'></view> <view class='split_line'></view>
@ -27,8 +26,8 @@
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
<view class=""> <view class="">
<locationCompare ref="locationCompare" title="目标库位" :recommendLocationCode="jobToLocationCode" :locationCode="toLocationCode" <locationCompare ref="locationCompare" title="目标库位" :recommendLocationCode="jobToLocationCode"
@getLocation='scanLocationCode' :locationCode="toLocationCode" @getLocation='scanLocationCode'
:locationAreaTypeList="toLocationAreaTypeList"></locationCompare> :locationAreaTypeList="toLocationAreaTypeList"></locationCompare>
</view> </view>
<view class=" uni-flex uni-row"> <view class=" uni-flex uni-row">
@ -221,8 +220,7 @@
this.showErrorMessage("物料号【" + itemCode + "】不在列表中") this.showErrorMessage("物料号【" + itemCode + "】不在列表中")
} else { } else {
var itemDetail = detail.subList.find(r => r.packingNumber == packingNumber && r.batch == batch var itemDetail = detail.subList.find(r => r.packingNumber == packingNumber && r.batch == batch);
);
if (itemDetail == undefined) { if (itemDetail == undefined) {
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】" + "不在列表中") this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】" + "不在列表中")
} else { } else {
@ -231,7 +229,8 @@
} else { } else {
itemDetail.scaned = true; itemDetail.scaned = true;
itemDetail.handleQty = Number(result.label.qty); itemDetail.handleQty = Number(result.label.qty);
itemDetail.toLocationCode = this.toLocationCode? this.toLocationCode:itemDetail.toLocationCode ; itemDetail.toLocationCode = this.toLocationCode ? this.toLocationCode : itemDetail
.toLocationCode;
itemDetail.packQty = result.package.packQty itemDetail.packQty = result.package.packQty
itemDetail.labelQty = Number(result.label.qty); itemDetail.labelQty = Number(result.label.qty);
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);

3
src/pages/unPlanned/request/issueRequestDetail.vue

@ -1,13 +1,14 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<request-top :dataContent="requestContent"></request-top> <request-top :dataContent="requestContent"></request-top>
</view> </view>
<view class="header_item"> <view class="header_item">
从仓库代码 : {{requestContent.fromWarehouseCode}} 从仓库代码 : {{requestContent.fromWarehouseCode}}
</view> </view>
<view class='split_line'></view> </view>
</view> </view>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">

3
src/pages/unPlanned/request/receiptRequestDetail.vue

@ -1,13 +1,14 @@
<template> <template>
<view class="page-wraper"> <view class="page-wraper">
<view class="page-header"> <view class="page-header">
<view class="header-view">
<view class="header_job_top"> <view class="header_job_top">
<request-top :dataContent="requestContent"></request-top> <request-top :dataContent="requestContent"></request-top>
</view> </view>
<view class="header_item"> <view class="header_item">
到仓库代码 : {{requestContent.toWarehouseCode}} 到仓库代码 : {{requestContent.toWarehouseCode}}
</view> </view>
<view class='split_line'></view> </view>
</view> </view>
<view class="page-main"> <view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll"> <scroll-view scroll-y="true" class="page-main-scroll">

Loading…
Cancel
Save