Commit f32ea5fb by LJM

优化

parent b4449cb3
......@@ -210,6 +210,16 @@ export default {
}
};
},
watch: {
'searchParams.stock_in_with_stock_in_items_inhouse'(newValue) {
if (newValue) {
const str = newValue;
const index = str.indexOf('-');
const result = index === -1 ? str : str.substring(0, index);
this.searchParams.stock_in_with_stock_in_items_inhouse = result;
}
}
},
onReachBottom() {
if (!this.hasMoreData) {
return;
......
......@@ -39,6 +39,7 @@ export default {
uni.removeStorageSync('oa_skey');
uni.removeStorageSync('oa_user_id');
uni.removeStorageSync('company_id');
uni.removeStorageSync('oa_user_email');
},
methods: {
bindPickerChange: function(e) {
......
......@@ -297,15 +297,15 @@
<text class="label" style="white-space: nowrap;">合计待复核数量:</text>
<text class="tt">{{ detailContainer.total_check_num }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<view class="item row verCenter" style="flex: 0 0 100%;" v-if="detailContainer.list">
<text class="label">上游备注:</text>
<text class="tt" style="max-width: 56%;">{{ detailContainer.list[0].upstream_remark }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<view class="item row verCenter" style="flex: 0 0 100%;" v-if="detailContainer.list">
<text class="label">明细备注:</text>
<text class="tt" style="max-width: 56%;">{{ detailContainer.list[0].remark }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<view class="item row verCenter" style="flex: 0 0 100%;" v-if="detailContainer.list">
<text class="label">客户名:</text>
<text class="tt" style="max-width: 56%;">{{ detailContainer.list[0].customer_name }}</text>
</view>
......
......@@ -81,6 +81,10 @@
</view>
<view class="text-item row">
<text class="label">上游备注:</text>
<text class="desc">{{ item.stock_in_upstream_remark }}</text>
</view>
<view class="text-item row">
<text class="label">明细备注:</text>
<text class="desc">{{ item.upstream_remark }}</text>
</view>
<view class="text-item row verCenter">
......@@ -201,6 +205,21 @@ export default {
}
};
},
watch: {
'searchParams.stock_in_with_stock_in_items_inhouse'(newValue) {
if (newValue) {
const str = newValue;
const index = str.indexOf('-');
const result = index === -1 ? str : str.substring(0, index);
this.searchParams.stock_in_with_stock_in_items_inhouse = result;
}
},
image_list(arr) {
if (arr.length > 0) {
this.formParams.image_ids = arr.join(',');
}
}
},
onReachBottom() {
if (!this.hasMoreData) {
return;
......@@ -215,13 +234,6 @@ export default {
});
}
},
watch: {
image_list(arr) {
if (arr.length > 0) {
this.formParams.image_ids = arr.join(',');
}
}
},
onShow() {
if (this.noexebshowFalg) {
this.resetChange();
......
......@@ -111,6 +111,10 @@
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">上游备注:</text>
<text class="text" style="font-weight: bold;max-width: 491rpx;">{{ detail.stock_in_upstream_remark }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">明细备注:</text>
<text class="text" style="font-weight: bold;max-width: 491rpx;">{{ detail.upstream_remark }}</text>
</view>
</view>
......@@ -243,6 +247,14 @@ export default {
}
},
watch: {
'searchParams.stock_in_with_stock_in_items_inhouse'(newValue) {
if (newValue) {
const str = newValue;
const index = str.indexOf('-');
const result = index === -1 ? str : str.substring(0, index);
this.searchParams.stock_in_with_stock_in_items_inhouse = result;
}
},
image_list(arr) {
if (arr.length > 0) {
this.formParams.image_ids = arr.join(',');
......
......@@ -58,7 +58,7 @@
</radio-group>
</view>
<view class="list row bothSide" v-if="list.length > 0">
<view class="box" v-for="(item, index) in list" :key="index" :class="{ curr: filter_list[index] }">
<view class="box" v-for="(item, index) in list" :key="index" :class="{ curr: filter_list[index] }" style="padding-bottom: 50rpx;">
<view class="check-box-icon" @click="filterChange(index)"></view>
<view class="text-item row verCenter">
<text class="label">入库单号:</text>
......@@ -93,6 +93,14 @@
<text class="label">理货数量:</text>
<text class="ttt">{{ item.tally_qty }}</text>
</view>
<view class="text-item row">
<text class="label">上游备注:</text>
<text class="desc">{{ item.stock_in_upstream_remark }}</text>
</view>
<view class="text-item row">
<text class="label">明细备注:</text>
<text class="desc">{{ item.upstream_remark }}</text>
</view>
<view class="btn-box row"><view class="detail-btn row rowCenter verCenter" @click="showDrawer(item)">详情</view></view>
</view>
</view>
......@@ -171,6 +179,14 @@
<text class="label">其他批次属性:</text>
<text class="tt">{{ detail.other_batch_attr }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;margin-bottom: 17rpx;">
<text class="label">上游备注:</text>
<text class="tt" style="max-width: 454rpx;">{{ detail.stock_in_upstream_remark }}</text>
</view>
<view class="item row verCenter" style="flex: 0 0 100%;margin-bottom: 17rpx;">
<text class="label">上游明细备注:</text>
<text class="tt" style="max-width: 454rpx;">{{ detail.upstream_remark }}</text>
</view>
</view>
<view class="bor"></view>
<view class="field-item row">
......
// const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
// const API_BASE_ORDER = 'http://order.liexindev.net'; //订单系统
// const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
// const API_BASE_SUPPLIER = 'http://supplier.liexin.net'; //供应商系统
// const API_BASE_CRM = 'http://crmnew.liexindev.net'; //CRM系统
// const API_BASE = 'http://wms.liexindev.net'; //WMS系统
// const API_BASE_LIEXIN = 'http://api.liexin.com'; //api系统
// const API_BASE_OSS = 'http://file.liexindev.net'; //oss系统
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
const API_BASE_ORDER = 'http://order.liexindev.net'; //订单系统
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const API_BASE_SUPPLIER = 'http://supplier.liexin.net'; //供应商系统
const API_BASE_CRM = 'http://crmnew.liexindev.net'; //CRM系统
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
const API_BASE_LIEXIN = 'http://api.liexin.com'; //api系统
const API_BASE_OSS = 'http://file.liexindev.net'; //oss系统
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
const API_BASE_ORDER = 'https://order.ichunt.net'; //订单系统
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
const API_BASE_SUPPLIER = 'https://supplier.ichunt.net'; //供应商系统
const API_BASE_CRM = 'https://crm.ichunt.net'; //CRM系统
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
const API_BASE_LIEXIN = 'https://api.ichunt.com'; //api系统
const API_BASE_OSS = 'https://files.ichunt.net'; //oss系统
// const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
// const API_BASE_ORDER = 'https://order.ichunt.net'; //订单系统
// const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
// const API_BASE_SUPPLIER = 'https://supplier.ichunt.net'; //供应商系统
// const API_BASE_CRM = 'https://crm.ichunt.net'; //CRM系统
// const API_BASE = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE_LIEXIN = 'https://api.ichunt.com'; //api系统
// const API_BASE_OSS = 'https://files.ichunt.net'; //oss系统
const API = {
......
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