Commit ed2c46c3 by LJM

移动端--标签补打--增加D/C信息

parent b4e321c5
Showing with 46 additions and 9 deletions
......@@ -52,6 +52,23 @@
<text class="iconfont icon-a-juxing11" @click="clearInput(2)" v-if="input_flag_num"></text>
</view>
</view>
<!-- D/C -->
<view class="search-box row bothSide verCenter" style="margin-bottom: 22rpx;">
<view class="sn row rowCenter verCenter">
<view>
<view class="row verCenter">
<view class="uni-input">D/C</view>
</view>
</view>
</view>
<view class="search-bar row bothSide verCenter">
<view class="row verCenter">
<text class="iconfont icon-juxing1"></text>
<input class="uni-input" type="number" v-model="formParams.dc" placeholder="请输入D/C" placeholder-style="color:#919399" @input="handleInput(4, formParams.dc)" :focus="is_focus4" maxlength="10" />
</view>
<text class="iconfont icon-a-juxing11" @click="clearInput(4)" v-if="input_flag_dc"></text>
</view>
</view>
<!-- 目标打印机 -->
<view class="search-box row bothSide verCenter" style="margin-bottom: 22rpx;">
<view class="sn row rowCenter verCenter">
......@@ -138,10 +155,12 @@
is_focus1: false, //获取焦点动态化
is_focus2: false,
is_focus3: false,
is_focus4: false,
company_id: 1,
input_flag: false, //入库标签叉叉
input_flag_num: false, //数量叉叉
input_flag_target_printer_ip: false, //目标打印机
input_flag_dc: false, //D/C
index: 0,
print_language_index: 0,
print_language: ['中文', '英文'],
......@@ -153,6 +172,7 @@
formParams: {
user_email: '', // 登录账号邮箱
sn: '',
dc: '',
target_printer_ip: '', //模板打印机
tally_qty: '', //打印数量
print_language: 1, //标签版本
......@@ -217,14 +237,19 @@
} else if (type == 3) {
//目标打印机
this.input_flag_target_printer_ip = true;
} else if (type == 4) {
//D/C
this.input_flag_dc = true;
}
} else {
if (type == 1) {
this.input_flag = false;
} else if (type == 2) {
this.input_flag_num = false;
} else if (type == 2) {
} else if (type == 3) {
this.input_flag_target_printer_ip = false;
} else if (type == 4) {
this.input_flag_dc = false;
}
}
}, 500),
......@@ -247,6 +272,11 @@
this.formParams.target_printer_ip = '';
this.input_flag_target_printer_ip = false;
this.clearInputAndFocus(3);
} else if (type == 4) {
//D/C
this.formParams.dc = '';
this.input_flag_dc = false;
this.clearInputAndFocus(4);
}
},
/**
......@@ -319,6 +349,13 @@
setTimeout(() => {
this.is_focus3 = true;
}, 200);
} else if (type == 4) {
//D/C
this.input_flag_dc = false;
this.is_focus4 = false;
setTimeout(() => {
this.is_focus4 = true;
}, 200);
}
}
}
......
// const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
// const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
// const API_BASE = 'http://wms.liexindev.net'; //WMS系统
// const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
// const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
// const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
// const API_BASE = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE_OSS = 'https://image.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