Browse Source

修改制品发货

wms3.0_pda
lijuncheng 1 year ago
parent
commit
97f7bc486d
  1. 2
      mycomponents/scan/winScanPackAndLocation.vue
  2. 38
      pages/deliver/job/deliverDetail.vue

2
mycomponents/scan/winScanPackAndLocation.vue

@ -97,7 +97,7 @@
},
headerType: {
type: String,
default: "HPQ"
default: "HPQ,HMQ"
},
},
data() {

38
pages/deliver/job/deliverDetail.vue

@ -1,30 +1,31 @@
<template>
<view class="page-wraper">
<view class="page-main">
<scroll-view scroll-y="true" class="">
<view v-for="(toLocation, index) in detailSource">
<view class="cen_card" style="padding: 20rpx;">
<view class="page-header">
<view class="header_job_top">
<job-top :dataContent="jobContent" ></job-top>
</view>
<view class="header_item" >
申请单号{{jobContent.requestNumber}}
</view>
<u-line color="#D8D8D8" style="margin-bottom: 15rpx;margin-top: 10rpx;"></u-line>
<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>{{toLocation.productionLineCode}}</view>
</view>
<view class="cell_info">
<view class="text_lightblue">工位</view>
<view>{{ toLocation.workStationCode }}</view>
</view> -->
<view class="cell_info">
<view class="text_lightblue">客户寄售库</view>
<view>{{ toLocation.toLocationCode}}</view>
<view>{{toLocationCode}}</view>
</view>
</view>
<u-line />
</view>
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="">
<view v-for="(toLocation, index) in detailSource">
<comDeliverDetailCard ref='comIssueDetailCard' :dataContent="toLocation" @updateData='updateData'>
</comDeliverDetailCard>
</view>
@ -78,6 +79,7 @@
import comDeliverDetailCard from '@/pages/deliver/coms/comDeliverDetailCard.vue'
import comScanDeliverPack from '@/pages/deliver/coms/comScanDeliverPack.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import jobTop from '@/mycomponents/job/jobTop.vue'
export default {
name: 'issueDetail',
@ -86,7 +88,8 @@
winScanButton,
comDeliverDetailCard,
comScanDeliverPack,
comMessage
comMessage,
jobTop
},
data() {
return {
@ -97,7 +100,8 @@
detailOptions: [],
scanOptions: [],
status:"",
received :false
received :false,
toLocationCode:""
};
},
@ -164,8 +168,8 @@
that.jobContent = res.data;
that.subList = res.data.subList;
that.detailSource = getDataSource(that.detailSource, that.subList)
that.toLocationCode =that.subList[0].toLocationCode
that.resizeCollapse();
uni.hideLoading();
} else {
that.showMessage('列表数据为0');
}

Loading…
Cancel
Save