Commit 0bc62913 by liangjianmin

js

parent 92800a7c
Showing with 20 additions and 20 deletions
......@@ -181,24 +181,24 @@ export default {
this.form.numbers[index].value = e.detail.value;
},
submit() {
// if (!this.device_name) {
// uni.showModal({
// title: '提示',
// content: '请连接蓝牙设备',
// showCancel: false,
// confirmText: '关闭',
// success: function(res) {
// if (res.confirm) {
// uni.navigateTo({
// url: '/pages/tag/deviceList'
// });
// } else if (res.cancel) {
// console.log('用户点击取消');
// }
// }
// });
// return false;
// }
if (!this.device_name) {
uni.showModal({
title: '提示',
content: '请连接蓝牙设备',
showCancel: false,
confirmText: '关闭',
success: function(res) {
if (res.confirm) {
uni.navigateTo({
url: '/pages/tag/deviceList'
});
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
return false;
}
if (!this.form.erp_order_sn) {
uni.showModal({
title: '提示',
......
//const API_BASE = 'https://api.ichunt.com';
const API_BASE = 'http://api.liexin.com';
const API_BASE = 'https://api.ichunt.com';
//const API_BASE = 'http://api.liexin.com';
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