Commit 3b55074f by LJM

WMS--入库单明细增加字段:箱号,及移动端相关操作

parent c809f65a
...@@ -321,8 +321,7 @@ ...@@ -321,8 +321,7 @@
.drawer-list { .drawer-list {
.box { .box {
position: relative; position: relative;
padding: 18rpx 18rpx 0 18rpx; padding: 18rpx 18rpx 18rpx 18rpx;
height: 94rpx;
background: #ffffff; background: #ffffff;
box-shadow: 0px 3rpx 3rpx 0px rgba(198, 199, 204, 0.3); box-shadow: 0px 3rpx 3rpx 0px rgba(198, 199, 204, 0.3);
border-radius: 10rpx; border-radius: 10rpx;
......
...@@ -37,6 +37,10 @@ ...@@ -37,6 +37,10 @@
<radio value="2" style="transform:scale(0.7)" color="#1969F9" /> <radio value="2" style="transform:scale(0.7)" color="#1969F9" />
<text class="tt">FedEX</text> <text class="tt">FedEX</text>
</label> </label>
<label class="radio">
<radio value="3" style="transform:scale(0.7)" color="#1969F9" />
<text class="tt">箱号</text>
</label>
</radio-group> </radio-group>
</view> </view>
<view class="total-text"><text>{{total}}</text>条数据</view> <view class="total-text"><text>{{total}}</text>条数据</view>
...@@ -57,6 +61,10 @@ ...@@ -57,6 +61,10 @@
<template v-else-if="index == 2"> <template v-else-if="index == 2">
<input class="uni-input" placeholder="请输入FedEx" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.tracking_no" @input="handleInput(3, $event)" /> <input class="uni-input" placeholder="请输入FedEx" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.tracking_no" @input="handleInput(3, $event)" />
</template> </template>
<!-- fedex -->
<template v-else-if="index == 3">
<input class="uni-input" placeholder="请输入箱号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.box_sn" @input="handleInput(4, $event)" />
</template>
</view> </view>
<text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text> <text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text>
</view> </view>
...@@ -99,6 +107,10 @@ ...@@ -99,6 +107,10 @@
<text class="label">标准品牌:</text> <text class="label">标准品牌:</text>
<text class="tt">{{ item.stock_in_items[0].brand_name }}</text> <text class="tt">{{ item.stock_in_items[0].brand_name }}</text>
</view> </view>
<view class="text-item row verCenter" v-if="item.stock_in_items[0].box_sn">
<text class="label">箱号:</text>
<text class="tt">{{ item.stock_in_items[0].box_sn }}</text>
</view>
<view class="text-item row verCenter"> <view class="text-item row verCenter">
<text class="label">预期数量:</text> <text class="label">预期数量:</text>
<text class="tt">{{ item.stock_in_items[0].expect_qty }}</text> <text class="tt">{{ item.stock_in_items[0].expect_qty }}</text>
...@@ -173,13 +185,16 @@ ...@@ -173,13 +185,16 @@
<view class="drawer-list" v-if="detail.stock_in_items"> <view class="drawer-list" v-if="detail.stock_in_items">
<scroll-view style="max-height: 755rpx" scroll-y="true"> <scroll-view style="max-height: 755rpx" scroll-y="true">
<view class="box" v-for="(item, index) in detail.stock_in_items" :key="index"> <view class="box" v-for="(item, index) in detail.stock_in_items" :key="index">
<view class="row bothSide vverCenter top"> <view class="row bothSide verCenter top">
<view class="row verCenter"> <view class="row verCenter">
<text class="t1">{{ index + 1 }}.</text> <text class="t1">{{ index + 1 }}.</text>
<text class="t2">{{ item.goods_name }}</text> <text class="t2">{{ item.goods_name }}</text>
</view> </view>
<view class="row verCenter">
<text class="t3" style="margin-right: 10rpx;" v-if="item.box_sn">箱号:{{ item.box_sn}}</text>
<text class="t3">销售员:{{ item.sale_user }}</text> <text class="t3">销售员:{{ item.sale_user }}</text>
</view> </view>
</view>
<view class="row verCenter"> <view class="row verCenter">
<view class="bar row verCenter" style="width: 40%;"> <view class="bar row verCenter" style="width: 40%;">
<text class="tt">标准品牌:</text> <text class="tt">标准品牌:</text>
...@@ -517,7 +532,8 @@ ...@@ -517,7 +532,8 @@
create_time_end: '', //结束日期 create_time_end: '', //结束日期
mobile_register_all_search: '', //全量搜索 mobile_register_all_search: '', //全量搜索
stock_in_with_stock_in_items_inhouse: '', //入仓单号 stock_in_with_stock_in_items_inhouse: '', //入仓单号
tracking_no: '' //fedex tracking_no: '', //fedex
box_sn: '' //箱号
}, },
maxInputLength: 8, maxInputLength: 8,
formParams: { formParams: {
...@@ -782,6 +798,8 @@ ...@@ -782,6 +798,8 @@
this.resetChange(); this.resetChange();
this.searchParams.mobile_register_all_search = ''; this.searchParams.mobile_register_all_search = '';
this.searchParams.stock_in_with_stock_in_items_inhouse = ''; this.searchParams.stock_in_with_stock_in_items_inhouse = '';
this.searchParams.tracking_no = '';
this.searchParams.box_sn = '';
if (val) { if (val) {
if (type == 1) { if (type == 1) {
//全量搜索 //全量搜索
...@@ -804,13 +822,15 @@ ...@@ -804,13 +822,15 @@
} else { } else {
this.searchParams.tracking_no = val; this.searchParams.tracking_no = val;
} }
} else if (type == 4) {
this.searchParams.box_sn = val;
} }
this.input_flag = true; this.input_flag = true;
} else { } else {
this.input_flag = false; this.input_flag = false;
} }
this.getData(); this.getData();
}, 800), }, 500),
/** /**
* 获取仓库 * 获取仓库
*/ */
......
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
<template v-else-if="index == 1"> <template v-else-if="index == 1">
<input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(2, $event)" :maxlength="maxInputLength" /> <input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(2, $event)" :maxlength="maxInputLength" />
</template> </template>
<template v-else-if="index == 2">
<input class="uni-input" placeholder="请输入箱号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.box_sn" @input="handleInput(3, $event)" :maxlength="maxInputLength" />
</template>
</view> </view>
<text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text> <text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text>
</view> </view>
...@@ -55,6 +58,10 @@ ...@@ -55,6 +58,10 @@
<text class="label">标准品牌:</text> <text class="label">标准品牌:</text>
<text class="tt">{{ item.stock_in_items[0].brand_name }}</text> <text class="tt">{{ item.stock_in_items[0].brand_name }}</text>
</view> </view>
<view class="text-item row verCenter" v-if="item.stock_in_items[0].box_sn">
<text class="label">箱号:</text>
<text class="tt">{{ item.stock_in_items[0].box_sn }}</text>
</view>
<view class="text-item row verCenter"> <view class="text-item row verCenter">
<text class="label">预期数量:</text> <text class="label">预期数量:</text>
<text class="tt">{{ item.stock_in_items[0].expect_qty }}</text> <text class="tt">{{ item.stock_in_items[0].expect_qty }}</text>
...@@ -115,13 +122,16 @@ ...@@ -115,13 +122,16 @@
<view class="drawer-list" v-if="detail.stock_in_items"> <view class="drawer-list" v-if="detail.stock_in_items">
<scroll-view style="max-height: 60vh" scroll-y="true"> <scroll-view style="max-height: 60vh" scroll-y="true">
<view class="box" v-for="(item, index) in detail.stock_in_items" :key="index"> <view class="box" v-for="(item, index) in detail.stock_in_items" :key="index">
<view class="row bothSide vverCenter top"> <view class="row bothSide verCenter top">
<view class="row verCenter"> <view class="row verCenter">
<text class="t1">{{ index + 1 }}.</text> <text class="t1">{{ index + 1 }}.</text>
<text class="t2">{{ item.goods_name }}</text> <text class="t2">{{ item.goods_name }}</text>
</view> </view>
<view class="row verCenter">
<text class="t3" style="margin-right: 10rpx;" v-if="item.box_sn">箱号:{{ item.box_sn}}</text>
<text class="t3">销售员:{{ item.sale_user }}</text> <text class="t3">销售员:{{ item.sale_user }}</text>
</view> </view>
</view>
<view class="row verCenter"> <view class="row verCenter">
<view class="bar row verCenter" style="flex: 0 0 40%;"> <view class="bar row verCenter" style="flex: 0 0 40%;">
<text class="tt">标准品牌:</text> <text class="tt">标准品牌:</text>
...@@ -172,7 +182,7 @@ ...@@ -172,7 +182,7 @@
page: 1, page: 1,
limit: 30, limit: 30,
index: 0, index: 0,
array: ['全量搜索', '入仓号'], array: ['全量搜索', '入仓号', '箱号'],
list: [], list: [],
filter_list: [], //筛选已选中的列表 filter_list: [], //筛选已选中的列表
filter_id: [], //过滤id filter_id: [], //过滤id
...@@ -182,7 +192,8 @@ ...@@ -182,7 +192,8 @@
maxInputLength: 7, maxInputLength: 7,
searchParams: { searchParams: {
mobile_register_all_search: '', //全量搜索 mobile_register_all_search: '', //全量搜索
stock_in_with_stock_in_items_inhouse: '' //入仓单号 stock_in_with_stock_in_items_inhouse: '', //入仓单号
box_sn: '' //箱号
} }
}; };
}, },
...@@ -271,6 +282,7 @@ ...@@ -271,6 +282,7 @@
var val = event.target.value; var val = event.target.value;
this.searchParams.mobile_register_all_search = ''; this.searchParams.mobile_register_all_search = '';
this.searchParams.stock_in_with_stock_in_items_inhouse = ''; this.searchParams.stock_in_with_stock_in_items_inhouse = '';
this.searchParams.box_sn = '';
if (val) { if (val) {
if (type == 1) { if (type == 1) {
...@@ -285,6 +297,9 @@ ...@@ -285,6 +297,9 @@
this.maxInputLength = 7; this.maxInputLength = 7;
} }
this.searchParams.stock_in_with_stock_in_items_inhouse = val; this.searchParams.stock_in_with_stock_in_items_inhouse = val;
} else if (type == 3) {
//箱号
this.searchParams.box_sn = val;
} }
this.input_flag = true; this.input_flag = true;
} else { } else {
......
...@@ -20,21 +20,24 @@ ...@@ -20,21 +20,24 @@
<input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(2, $event)" maxlength="8" /> <input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(2, $event)" maxlength="8" />
</template> </template>
<template v-else-if="index == 2"> <template v-else-if="index == 2">
<input class="uni-input" placeholder="请输入FedEx" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.tracking_no" @input="handleInput(0, $event)" /> <input class="uni-input" placeholder="请输入箱号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.box_sn" @input="handleInput(4, $event)" />
</template> </template>
<template v-else-if="index == 3"> <template v-else-if="index == 3">
<input class="uni-input" maxlength="-1" placeholder="请输入DigiKey" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" /> <input class="uni-input" placeholder="请输入FedEx" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.tracking_no" @input="handleInput(0, $event)" />
</template> </template>
<template v-else-if="index == 4"> <template v-else-if="index == 4">
<input class="uni-input" maxlength="-1" placeholder="请输入Rochester" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" /> <input class="uni-input" maxlength="-1" placeholder="请输入DigiKey" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" />
</template> </template>
<template v-else-if="index == 5"> <template v-else-if="index == 5">
<input class="uni-input" maxlength="-1" placeholder="请输入TME" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" /> <input class="uni-input" maxlength="-1" placeholder="请输入Rochester" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" />
</template> </template>
<template v-else-if="index == 6"> <template v-else-if="index == 6">
<input class="uni-input" maxlength="-1" placeholder="请输入Chip1stop" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" /> <input class="uni-input" maxlength="-1" placeholder="请输入TME" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" />
</template> </template>
<template v-else-if="index == 7"> <template v-else-if="index == 7">
<input class="uni-input" maxlength="-1" placeholder="请输入Chip1stop" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" />
</template>
<template v-else-if="index == 8">
<input class="uni-input" maxlength="-1" placeholder="请输入Mouser" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" /> <input class="uni-input" maxlength="-1" placeholder="请输入Mouser" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.code_type" @input="handleInputChange($event)" style="width: 100%;" />
</template> </template>
</view> </view>
...@@ -73,6 +76,10 @@ ...@@ -73,6 +76,10 @@
<text class="label">入仓号:</text> <text class="label">入仓号:</text>
<text class="tt">{{ item.inhouse }}</text> <text class="tt">{{ item.inhouse }}</text>
</view> </view>
<view class="text-item row verCenter" v-if="item.box_sn">
<text class="label">箱号:</text>
<text class="tt">{{ item.box_sn }}</text>
</view>
<view class="text-item row verCenter" v-if="item.sku_id > 0"> <view class="text-item row verCenter" v-if="item.sku_id > 0">
<text class="label" style="width: 100rpx;">自营货品ID:</text> <text class="label" style="width: 100rpx;">自营货品ID:</text>
<text class="tt">{{ item.sku_id }}</text> <text class="tt">{{ item.sku_id }}</text>
...@@ -222,7 +229,7 @@ ...@@ -222,7 +229,7 @@
limit: 30, //分页限制数量 limit: 30, //分页限制数量
index: uni.getStorageSync('tallyReceiveIndex') || 0, //记录用户上一次的选择 index: uni.getStorageSync('tallyReceiveIndex') || 0, //记录用户上一次的选择
indexContainer: -1, indexContainer: -1,
array: ['全量搜索', '入仓号', 'FedEx', 'DigiKey', 'Rochester', 'TME', 'Chip1stop', 'Mouser'], array: ['全量搜索', '入仓号', '箱号', 'FedEx', 'DigiKey', 'Rochester', 'TME', 'Chip1stop', 'Mouser'],
list: [], list: [],
filter_list: [], //筛选已选中的列表 filter_list: [], //筛选已选中的列表
filter_id: [], //入库单列表的入库登记 filter_id: [], //入库单列表的入库登记
...@@ -240,7 +247,8 @@ ...@@ -240,7 +247,8 @@
container_id: '', //容器id, container_id: '', //容器id,
tracking_no: '', //fedex tracking_no: '', //fedex
goods_name: '', goods_name: '',
code_type: '' code_type: '',
box_sn: ''
}, },
formParams: { formParams: {
container_id: '', container_id: '',
...@@ -439,6 +447,7 @@ ...@@ -439,6 +447,7 @@
this.searchParams.stock_in_with_stock_in_items_inhouse = ''; //清空入仓号字段 this.searchParams.stock_in_with_stock_in_items_inhouse = ''; //清空入仓号字段
this.searchParams.tracking_no = ''; //清空FedEx this.searchParams.tracking_no = ''; //清空FedEx
this.searchParams.code_type = ''; //清空DigiKey等一系列供应商 this.searchParams.code_type = ''; //清空DigiKey等一系列供应商
this.searchParams.box_sn = '';
this.searchParams.mobile_wait_tally_all_search = val; //赋值全量搜索字段 this.searchParams.mobile_wait_tally_all_search = val; //赋值全量搜索字段
this.input_flag = true; this.input_flag = true;
...@@ -449,6 +458,7 @@ ...@@ -449,6 +458,7 @@
this.searchParams.mobile_wait_tally_all_search = ''; //清空全量搜索字段 this.searchParams.mobile_wait_tally_all_search = ''; //清空全量搜索字段
this.searchParams.tracking_no = ''; //清空FedEx this.searchParams.tracking_no = ''; //清空FedEx
this.searchParams.code_type = ''; //清空DigiKey等一系列供应商 this.searchParams.code_type = ''; //清空DigiKey等一系列供应商
this.searchParams.box_sn = '';
//处理F号开头 //处理F号开头
var str = val; var str = val;
...@@ -459,6 +469,16 @@ ...@@ -459,6 +469,16 @@
} }
this.input_flag = true; this.input_flag = true;
this.getData(); this.getData();
} else if (type == 4) {
//箱号
this.resetChange();
this.searchParams.mobile_wait_tally_all_search = ''; //清空全量搜索字段
this.searchParams.tracking_no = ''; //清空FedEx
this.searchParams.code_type = ''; //清空DigiKey等一系列供应商
this.searchParams.box_sn = val;
this.input_flag = true;
this.getData();
} else if (type == 3) { } else if (type == 3) {
//容器 && 一键理货的容器监听 //容器 && 一键理货的容器监听
this.searchParams.container_name = val; this.searchParams.container_name = val;
...@@ -471,6 +491,8 @@ ...@@ -471,6 +491,8 @@
this.searchParams.mobile_wait_tally_all_search = ''; //清空全量搜索字段 this.searchParams.mobile_wait_tally_all_search = ''; //清空全量搜索字段
this.searchParams.stock_in_with_stock_in_items_inhouse = ''; //清空入仓号字段 this.searchParams.stock_in_with_stock_in_items_inhouse = ''; //清空入仓号字段
this.searchParams.code_type = ''; //清空DigiKey等一系列供应商 this.searchParams.code_type = ''; //清空DigiKey等一系列供应商
this.searchParams.box_sn = '';
// 规则处理FedEx截取后12位 // 规则处理FedEx截取后12位
let last12 = val.slice(22); let last12 = val.slice(22);
this.searchParams.tracking_no = last12; //赋值FedEx this.searchParams.tracking_no = last12; //赋值FedEx
...@@ -503,11 +525,11 @@ ...@@ -503,11 +525,11 @@
this.resetSearchParams(); //重置参数 this.resetSearchParams(); //重置参数
this.searchParams.code_type = val; //赋值DigiKey,Rochester,TME,Chip1stop供应商 this.searchParams.code_type = val; //赋值DigiKey,Rochester,TME,Chip1stop供应商
let codeTypeByIndex = { let codeTypeByIndex = {
3: 'DigiKey', 4: 'DigiKey',
4: 'Rochester', 5: 'Rochester',
5: 'TME', 6: 'TME',
6: 'Chip1stop', 7: 'Chip1stop',
7: 'Mouser' 8: 'Mouser'
}; };
const codeType = codeTypeByIndex[this.index] || ''; const codeType = codeTypeByIndex[this.index] || '';
this.input_flag = true; this.input_flag = true;
...@@ -529,6 +551,7 @@ ...@@ -529,6 +551,7 @@
this.searchParams.tracking_no = ''; this.searchParams.tracking_no = '';
this.searchParams.goods_name = ''; this.searchParams.goods_name = '';
this.searchParams.code_type = ''; this.searchParams.code_type = '';
this.searchParams.box_sn = '';
}, },
/** /**
* 识别二维码的数量和型号 * 识别二维码的数量和型号
......
...@@ -52,10 +52,22 @@ ...@@ -52,10 +52,22 @@
<text class="label">入 仓 号:</text> <text class="label">入 仓 号:</text>
<text class="text">{{ detail.inhouse }}</text> <text class="text">{{ detail.inhouse }}</text>
</view> </view>
<template v-if="detail.box_sn">
<view class="item row verCenter">
<text class="label">物流单号:</text>
<text class="text">{{ detail.tracking_no }}</text>
</view>
<view class="item row verCenter">
<text class="label">箱号:</text>
<text class="text">{{ detail.box_sn }}</text>
</view>
</template>
<template v-else>
<view class="item row verCenter" style="flex: 0 0 100%;"> <view class="item row verCenter" style="flex: 0 0 100%;">
<text class="label">物流单号:</text> <text class="label">物流单号:</text>
<text class="text">{{ detail.tracking_no }}</text> <text class="text">{{ detail.tracking_no }}</text>
</view> </view>
</template>
<view class="item row verCenter"> <view class="item row verCenter">
<text class="label">到货时间:</text> <text class="label">到货时间:</text>
<text class="tt">{{ detail.arrival_time_cn }}</text> <text class="tt">{{ detail.arrival_time_cn }}</text>
......
...@@ -36,6 +36,9 @@ ...@@ -36,6 +36,9 @@
<template v-else-if="index == 1"> <template v-else-if="index == 1">
<input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(2, $event)" /> <input class="uni-input" placeholder="请输入入仓号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.stock_in_with_stock_in_items_inhouse" @input="handleInput(2, $event)" />
</template> </template>
<template v-else-if="index == 2">
<input class="uni-input" placeholder="请输入箱号" placeholder-style="color:#919399" :focus="is_focus" v-model="searchParams.box_sn" @input="handleInput(3, $event)" />
</template>
</view> </view>
<text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text> <text class="iconfont icon-a-juxing11" @click="clearInput()" v-if="input_flag"></text>
</view> </view>
...@@ -105,6 +108,10 @@ ...@@ -105,6 +108,10 @@
<text class="label">入仓号:</text> <text class="label">入仓号:</text>
<text class="tt">{{ item.inhouse }}</text> <text class="tt">{{ item.inhouse }}</text>
</view> </view>
<view class="text-item row verCenter" v-if="item.box_sn">
<text class="label">箱号:</text>
<text class="tt">{{ item.box_sn }}</text>
</view>
<view class="text-item row verCenter" v-if="item.sku_id > 0"> <view class="text-item row verCenter" v-if="item.sku_id > 0">
<text class="label" style="width: 100rpx;">自营货品ID:</text> <text class="label" style="width: 100rpx;">自营货品ID:</text>
<text class="tt">{{ item.sku_id }}</text> <text class="tt">{{ item.sku_id }}</text>
...@@ -175,6 +182,10 @@ ...@@ -175,6 +182,10 @@
<text class="label">入 仓 号:</text> <text class="label">入 仓 号:</text>
<text class="text">{{ detail.inhouse }}</text> <text class="text">{{ detail.inhouse }}</text>
</view> </view>
<view class="item row verCenter" v-if="detail.box_sn">
<text class="label">箱号:</text>
<text class="text">{{ detail.box_sn }}</text>
</view>
<view class="item row verCenter"> <view class="item row verCenter">
<text class="label">物流单号:</text> <text class="label">物流单号:</text>
<text class="text">{{ detail.tracking_no }}</text> <text class="text">{{ detail.tracking_no }}</text>
...@@ -416,7 +427,7 @@ ...@@ -416,7 +427,7 @@
curr: 0, curr: 0,
noexebshowFalg: true, //控制是否会触发生命周期 noexebshowFalg: true, //控制是否会触发生命周期
item: ['货品信息', '其他信息'], item: ['货品信息', '其他信息'],
array: ['全量搜索', '入仓号'], array: ['全量搜索', '入仓号', '箱号'],
list: [], list: [],
filter_list: [], //筛选已选中的列表 filter_list: [], //筛选已选中的列表
filter_id: [], //入库单列表的入库登记 filter_id: [], //入库单列表的入库登记
...@@ -436,6 +447,7 @@ ...@@ -436,6 +447,7 @@
tally_status: 0, //默认显示已理货 tally_status: 0, //默认显示已理货
stock_tally_with_stock_in_stock_in_type_in: '', //入库类型 stock_tally_with_stock_in_stock_in_type_in: '', //入库类型
watch_all: 0, //1查看所有,0查看自己 watch_all: 0, //1查看所有,0查看自己
box_sn: '' //箱号
}, },
changeStockTallyImagesParams: { changeStockTallyImagesParams: {
tally_id: '', tally_id: '',
...@@ -660,11 +672,14 @@ ...@@ -660,11 +672,14 @@
var val = event.target.value; var val = event.target.value;
this.searchParams.mobile_have_tally_all_search = ''; this.searchParams.mobile_have_tally_all_search = '';
this.searchParams.stock_in_with_stock_in_items_inhouse = ''; this.searchParams.stock_in_with_stock_in_items_inhouse = '';
this.searchParams.box_sn = '';
if (val) { if (val) {
if (type == 1) { if (type == 1) {
this.searchParams.mobile_have_tally_all_search = val; this.searchParams.mobile_have_tally_all_search = val;
} else if (type == 2) { } else if (type == 2) {
this.searchParams.stock_in_with_stock_in_items_inhouse = val; this.searchParams.stock_in_with_stock_in_items_inhouse = val;
} else if (type == 3) {
this.searchParams.box_sn = val;
} }
this.input_flag = true; this.input_flag = true;
} else { } else {
......
// const API_BASE_USER = 'http://user.liexindev.net'; //用户系统 const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
// const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统 const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
// const API_BASE = 'http://wms.liexindev.net'; //WMS系统 const API_BASE = 'http://wms.liexindev.net'; //WMS系统
// const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统 const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统 // const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统 // const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
const API_BASE = 'https://wms.ichunt.net'; //WMS系统 // const API_BASE = 'https://wms.ichunt.net'; //WMS系统
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统 // const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const API = { 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