Commit 003d91be by LJM

css

parent 141b3665
Showing with 10 additions and 10 deletions
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<input class="uni-input" placeholder="请输入FedEx" placeholder-style="color:#919399" focus v-model="searchParams.tracking_no" @input="handleInput(0, $event)" style="width: 400rpx;" /> <input class="uni-input" placeholder="请输入FedEx" placeholder-style="color:#919399" focus v-model="searchParams.tracking_no" @input="handleInput(0, $event)" style="width: 400rpx;" />
</template> </template>
<template v-else-if="index == 3"> <template v-else-if="index == 3">
<input class="uni-input" placeholder="请输入Digikey" placeholder-style="color:#919399" focus v-model="searchParams.code_type" @input="handleInput(9, $event)" style="width: 400rpx;" /> <input class="uni-input" placeholder="请输入DigKey" placeholder-style="color:#919399" focus v-model="searchParams.code_type" @input="handleInput(9, $event)" style="width: 400rpx;" />
</template> </template>
<template v-else-if="index == 4"> <template v-else-if="index == 4">
<input class="uni-input" placeholder="请输入Rochester" placeholder-style="color:#919399" focus v-model="searchParams.code_type" @input="handleInput(9, $event)" style="width: 400rpx;" /> <input class="uni-input" placeholder="请输入Rochester" placeholder-style="color:#919399" focus v-model="searchParams.code_type" @input="handleInput(9, $event)" style="width: 400rpx;" />
...@@ -203,7 +203,7 @@ export default { ...@@ -203,7 +203,7 @@ export default {
limit: 50, limit: 50,
index: 0, index: 0,
indexContainer: -1, indexContainer: -1,
array: ['全量搜索', '入仓号', 'FedEx', 'Digikey', 'Rochester', 'TME', 'Chip1stop'], array: ['全量搜索', '入仓号', 'FedEx', 'DigKey', 'Rochester', 'TME', 'Chip1stop'],
list: [], list: [],
filter_list: [], //筛选已选中的列表 filter_list: [], //筛选已选中的列表
filter_id: [], //入库单列表的入库登记 filter_id: [], //入库单列表的入库登记
...@@ -217,7 +217,7 @@ export default { ...@@ -217,7 +217,7 @@ export default {
container_name: '', //容器编码 container_name: '', //容器编码
container_id: '', //容器id, container_id: '', //容器id,
tracking_no: '', //fedex tracking_no: '', //fedex
goods_sn: '', goods_name: '',
code_type: '' code_type: ''
}, },
formParams: { formParams: {
...@@ -344,16 +344,16 @@ export default { ...@@ -344,16 +344,16 @@ export default {
this.searchParams.tracking_no = ''; this.searchParams.tracking_no = '';
} else if (this.index == 3) { } else if (this.index == 3) {
this.searchParams.code_type = ''; this.searchParams.code_type = '';
this.searchParams.goods_sn = ''; this.searchParams.goods_name = '';
} else if (this.index == 4) { } else if (this.index == 4) {
this.searchParams.code_type = ''; this.searchParams.code_type = '';
this.searchParams.goods_sn = ''; this.searchParams.goods_name = '';
} else if (this.index == 5) { } else if (this.index == 5) {
this.searchParams.code_type = ''; this.searchParams.code_type = '';
this.searchParams.goods_sn = ''; this.searchParams.goods_name = '';
} else if (this.index == 6) { } else if (this.index == 6) {
this.searchParams.code_type = ''; this.searchParams.code_type = '';
this.searchParams.goods_sn = ''; this.searchParams.goods_name = '';
} }
} else { } else {
this.input_contaion = false; this.input_contaion = false;
...@@ -415,7 +415,7 @@ export default { ...@@ -415,7 +415,7 @@ export default {
this.searchParams.code_type = val; this.searchParams.code_type = val;
let code_type = ''; let code_type = '';
if (this.index == 3) { if (this.index == 3) {
code_type = 'Digikey'; code_type = 'DigKey';
} else if (this.index == 4) { } else if (this.index == 4) {
code_type = 'Rochester'; code_type = 'Rochester';
} else if (this.index == 5) { } else if (this.index == 5) {
...@@ -444,9 +444,9 @@ export default { ...@@ -444,9 +444,9 @@ export default {
* 识别二维码的数量和型号 * 识别二维码的数量和型号
*/ */
identifyQrCodeNumAndSn(code_str, code_type) { identifyQrCodeNumAndSn(code_str, code_type) {
this.request(API.identifyQrCodeNumAndSn, 'GET', { code_str: code_str, code_type: code_type }, false).then(res => { this.request(API.identifyQrCodeNumAndSn, 'POST', { code_str: code_str, code_type: code_type }, false).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.searchParams.goods_sn = res.data.sn; this.searchParams.goods_name = res.data.sn;
this.getData(); this.getData();
} else { } else {
uni.showToast({ uni.showToast({
......
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