Commit 48bae67e by LJM

客户快递账号

parent 3553d4d8
...@@ -222,6 +222,7 @@ ...@@ -222,6 +222,7 @@
.label { .label {
font-size: 16rpx; font-size: 16rpx;
color: #919399; color: #919399;
white-space: nowrap;
} }
.text { .text {
font-size: 16rpx; font-size: 16rpx;
......
...@@ -42,6 +42,10 @@ ...@@ -42,6 +42,10 @@
</view> </view>
<view class="bor row"></view> <view class="bor row"></view>
<view class="text-item row verCenter"> <view class="text-item row verCenter">
<text class="label">供应商:</text>
<text class="tt">{{ item.supplier_name }}</text>
</view>
<view class="text-item row verCenter">
<text class="label">入仓号:</text> <text class="label">入仓号:</text>
<text class="tt">{{ item.stock_in_items[0].inhouse }}</text> <text class="tt">{{ item.stock_in_items[0].inhouse }}</text>
</view> </view>
...@@ -104,6 +108,10 @@ ...@@ -104,6 +108,10 @@
<text class="label">物流单号:</text> <text class="label">物流单号:</text>
<text class="text">{{ detail.tracking_no }}</text> <text class="text">{{ detail.tracking_no }}</text>
</view> </view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">供应商:</text>
<text class="text" style="max-width: 500rpx;">{{ detail.supplier_name }}</text>
</view>
</view> </view>
<view class="pp">货品详情</view> <view class="pp">货品详情</view>
<view class="drawer-list" v-if="detail.stock_in_items"> <view class="drawer-list" v-if="detail.stock_in_items">
......
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
<text class="tt">{{ item.stock_in_items[0].inhouse }}</text> <text class="tt">{{ item.stock_in_items[0].inhouse }}</text>
</view> </view>
<view class="text-item row verCenter"> <view class="text-item row verCenter">
<text class="label">供应商:</text>
<text class="tt">{{ item.supplier_name }}</text>
</view>
<view class="text-item row verCenter">
<text class="label">货品名称:</text> <text class="label">货品名称:</text>
<text class="tt">{{ item.stock_in_items[0].goods_name }}</text> <text class="tt">{{ item.stock_in_items[0].goods_name }}</text>
</view> </view>
...@@ -96,6 +100,10 @@ ...@@ -96,6 +100,10 @@
<text class="label">物流单号:</text> <text class="label">物流单号:</text>
<text class="text">{{ detail.tracking_no }}</text> <text class="text">{{ detail.tracking_no }}</text>
</view> </view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">供应商:</text>
<text class="text" style="max-width: 500rpx;">{{ detail.supplier_name }}</text>
</view>
</view> </view>
<view class="pp">货品详情</view> <view class="pp">货品详情</view>
<view class="drawer-list" v-if="detail.stock_in_items"> <view class="drawer-list" v-if="detail.stock_in_items">
......
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
<view class="input-title"><text class="input-title-t2">物流单号:</text></view> <view class="input-title"><text class="input-title-t2">物流单号:</text></view>
<view class="input-box"> <view class="input-box">
<template v-if="formParams.real_shipping_type == 1 && formParams.real_shipping_id == 1 && company_id == 1"> <template v-if="formParams.real_shipping_type == 1 && formParams.real_shipping_id == 1 && company_id == 1">
<input type="text" disabled style="background-color: #f6f6f6;border: 1px solid #eee;" class="uni-input" placeholder-style="color:#919399" placeholder="请输入" v-model="formParams.shipping_code" /> <input type="text" disabled style="background-color: #f6f6f6;border: 1px solid #eee;" class="uni-input" placeholder-style="color:#919399" placeholder="" v-model="formParams.shipping_code" />
</template> </template>
<template v-else> <template v-else>
<input type="text" class="uni-input" placeholder-style="color:#919399" placeholder="请输入" v-model="formParams.shipping_code" /> <input type="text" class="uni-input" placeholder-style="color:#919399" placeholder="请输入" v-model="formParams.shipping_code" />
...@@ -170,6 +170,10 @@ ...@@ -170,6 +170,10 @@
</picker> </picker>
</view> </view>
</view> </view>
<view class="form-input">
<view class="input-title"><text class="input-title-t2">客户快递账号:</text></view>
<view class="input-box"><input type="text" disabled style="background-color: #f6f6f6;border: 1px solid #eee;" class="uni-input" placeholder-style="color:#919399" placeholder="" v-model="formParams.client_express_account" /></view>
</view>
<view class="print row verCenter" v-if="detail.stock_out_info"> <view class="print row verCenter" v-if="detail.stock_out_info">
<text class="check-box-icon" :class="{ curr: detail.stock_out_info.is_receipt == 1 }"></text> <text class="check-box-icon" :class="{ curr: detail.stock_out_info.is_receipt == 1 }"></text>
<text class="tt">签回单</text> <text class="tt">签回单</text>
...@@ -281,6 +285,7 @@ export default { ...@@ -281,6 +285,7 @@ export default {
shipping_code: '', //物流单号 shipping_code: '', //物流单号
is_receipt: '', //是否签回单 is_receipt: '', //是否签回单
shipping_payment_type: '', //物流付费 shipping_payment_type: '', //物流付费
client_express_account: '', //客户快递账号
consignee: '', consignee: '',
country: '', country: '',
mobile: '', mobile: '',
...@@ -426,6 +431,8 @@ export default { ...@@ -426,6 +431,8 @@ export default {
this.request(API.getStockOutDetail, 'POST', { stock_out_sn: stock_out_sn }, true).then(res => { this.request(API.getStockOutDetail, 'POST', { stock_out_sn: stock_out_sn }, true).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.detail = res.data; this.detail = res.data;
this.formParams.client_express_account = res.data.stock_out_address.client_express_account; //客户快递账号
this.formParams.real_shipping_type = res.data.stock_out_address.real_shipping_type; //交货方式 this.formParams.real_shipping_type = res.data.stock_out_address.real_shipping_type; //交货方式
let real_shipping_type_index = this.findIndex(this.real_shipping_type_data, this.formParams.real_shipping_type); let real_shipping_type_index = this.findIndex(this.real_shipping_type_data, this.formParams.real_shipping_type);
this.real_shipping_type_index = real_shipping_type_index[0]; this.real_shipping_type_index = real_shipping_type_index[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment