Commit b949ae81 by LJM

移动端-标签补打无法输入打印机IP打印

parent bce1cd53
Showing with 3 additions and 2 deletions
......@@ -140,7 +140,7 @@ export default {
latePrint() {
if (!this.formParams.sn) {
uni.showToast({
title: '输入入库批次号',
title: '请输入标签',
icon: 'error'
});
return false;
......@@ -161,6 +161,7 @@ export default {
// company_id == 1 ? '深圳市猎芯科技有限公司' : '深贸电子有限公司'
this.company_id = uni.getStorageSync('company_id') || 1;
// 7 深圳仓, 10 香港仓
if (this.company_id == 1) {
this.formParams.warehouse_id = 7;
......@@ -171,7 +172,7 @@ export default {
this.request(API.latePrint, 'POST', this.formParams, true).then(res => {
if (res.code === 0) {
uni.showLoading({
title: '正在打印中,请检查打印机'
title: '正在打印中...'
});
setTimeout(() => {
uni.hideLoading();
......
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