Browse Source

修改发货

hella_vue3
niexiting 8 months ago
parent
commit
a8d2d7e890
  1. 98
      src/pages/deliver/coms/comDeliverJobCard.vue
  2. 21
      src/pages/deliver/job/deliverDetail.vue
  3. 2
      src/static/config.js

98
src/pages/deliver/coms/comDeliverJobCard.vue

@ -1,50 +1,56 @@
<template>
<job-com-main-card :dataContent="dataContent">
<view class="task_item">
<view class="task_text">
<job-com-main-card :dataContent="dataContent">
<view class="task_item">
<!-- <view class="task_text">
<view class="">
申请单号 : {{dataContent.requestNumber}}
</view>
</view>
<view class="task_text">
<view class="">
发货计划单号 : {{dataContent.deliverPlanNumber}}
</view>
</view>
<view class="task_text">
<view class="">
客户代码 : {{dataContent.customerCode}}
</view>
</view>
</view>
</job-com-main-card>
</template>
<script>
import jobComMainCard from '@/mycomponents/job/jobComMainCard.vue'
export default {
components: {
jobComMainCard,
},
data() {
return {};
},
props: {
dataContent: {
type: Object,
default: {}
},
},
methods: {
}
}
</script>
<style lang="scss">
</style>
</view> -->
<view class="task_text">
<view class="">
发货计划单号 : {{dataContent.deliverPlanNumber}}
</view>
</view>
<view class="task_text">
<view class="">
发货类型 : {{dataContent.deliverType}}
</view>
</view>
<view class="task_text">
<view class="">
客户代码 : {{dataContent.customerCode}}
</view>
</view>
</view>
</job-com-main-card>
</template>
<script>
import jobComMainCard from '@/mycomponents/job/jobComMainCard.vue'
export default {
components: {
jobComMainCard,
},
data() {
return {};
},
props: {
dataContent: {
type: Object,
default: {}
},
},
methods: {
}
}
</script>
<style lang="scss">
</style>

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

@ -7,17 +7,20 @@
<view class="header_item">
申请单号{{jobContent.requestNumber}}
</view>
<u-line color="#D8D8D8"></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 class="text_lightblue">发货类型</view>
<view>{{jobContent.deliverType}}</view>
</view>
<view class="cell_info">
<view class="text_lightblue">客户寄售库</view>
<view>{{toLocationCode}}</view>
<view class="text_lightblue">客户代码</view>
<view>{{jobContent.customerCode}}</view>
</view>
<view class="cell_info">
<view class="text_lightblue">目标库位</view>
<view>{{toLocationCode}}</view>
@ -106,7 +109,7 @@
scanOptions: [],
status: "",
toLocationCode: "",
jobStatus:""
jobStatus: ""
};
},
@ -138,7 +141,7 @@
onBackPress(e) {
//
if (e.from == 'backbutton') {
if (this.jobStatus=="2") {
if (this.jobStatus == "2") {
//
cancleTakeDeliverJob(this.id).then(res => {
uni.navigateBack();
@ -180,7 +183,7 @@
if (res.data.subList.length > 0) {
that.jobContent = res.data;
that.jobStatus = res.data.status;
that.subList = res.data.subList;
that.detailSource = getDataSource(that.detailSource, that.subList)
that.toLocationCode = that.subList[0].toLocationCode
@ -281,7 +284,7 @@
record.supplierCode = r.supplierCode;
//使
if (this.toLocationCode ==null) {
if (this.toLocationCode == null) {
record.toPackingNumber = r
.packingNumber;
record.toBatch = r.batch;
@ -462,4 +465,4 @@
// border-bottom-width: 1px;
// border-bottom-color: #ebeef5;
// }
</style>
</style>

2
src/static/config.js

@ -1,5 +1,5 @@
let request_url = "http://dev.ccwin-in.com:25300/api/admin-api"
// let request_url = "http://192.168.0.113:12080/admin-api"
// let request_url = "http://192.168.0.128:12080/admin-api"
let isDevelopment = true

Loading…
Cancel
Save