Commit 0610131d by LJM

切换WiFi蓝牙打印

parent 5d55fbd3
Showing with 26 additions and 8 deletions
......@@ -55,6 +55,11 @@
"navigationBarTitleText": "打印标签"
}
}, {
"path": "pages/tag/printNew",
"style": {
"navigationBarTitleText": "打印标签"
}
}, {
"path": "pages/tag/repairPrint",
"style": {
"navigationBarTitleText": "追加标签"
......
......@@ -190,9 +190,16 @@
if (item.name == '快递回单上传') {
this.scanChange();
} else if (item.name == '打印标签') {
uni.navigateTo({
url: '/pages/tag/print'
});
//是否启用蓝牙wifi打印
if (this.userInfo.is_new_print == 1) {
uni.navigateTo({
url: '/pages/tag/printNew'
});
} else {
uni.navigateTo({
url: '/pages/tag/print'
});
}
} else if (item.name == '追加标签') {
uni.navigateTo({
url: '/pages/tag/repairPrint'
......
const API_BASE = 'https://api.ichunt.com';
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
// const API_BASE = 'https://api.ichunt.com';
// const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
// const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统
// const API_BASE = 'http://api.liexin.com';
// const API_BASE_OSS = 'http://image.liexindev.net';
const API_BASE = 'http://api.liexin.com';
const API_BASE_OSS = 'http://image.liexindev.net';
const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统
const API = {
/**
......@@ -240,7 +242,11 @@ const API = {
/**
* 核对并执行
*/
executeJobV2: API_BASE + '/supplywechatwms/executeJobV2'
executeJobV2: API_BASE + '/supplywechatwms/executeJobV2',
/**
* 标签打印
*/
addSupplyChainData: API_BASE_WMS + '/open/label/addSupplyChainData'
}
......
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