Browse Source

修改发货

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

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

@ -1,11 +1,11 @@
<template>
<job-com-main-card :dataContent="dataContent">
<view class="task_item">
<view class="task_text">
<!-- <view class="task_text">
<view class="">
申请单号 : {{dataContent.requestNumber}}
</view>
</view>
</view> -->
<view class="task_text">
<view class="">
@ -13,6 +13,12 @@
</view>
</view>
<view class="task_text">
<view class="">
发货类型 : {{dataContent.deliverType}}
</view>
</view>
<view class="task_text">
<view class="">
客户代码 : {{dataContent.customerCode}}
@ -20,9 +26,9 @@
</view>
</view>
</job-com-main-card>
</template>
</template>
<script>
<script>
import jobComMainCard from '@/mycomponents/job/jobComMainCard.vue'
export default {
components: {
@ -43,8 +49,8 @@
}
}
</script>
</script>
<style lang="scss">
<style lang="scss">
</style>
</style>

17
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();
@ -281,7 +284,7 @@
record.supplierCode = r.supplierCode;
//使
if (this.toLocationCode ==null) {
if (this.toLocationCode == null) {
record.toPackingNumber = r
.packingNumber;
record.toBatch = r.batch;

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