Commit 0bc62913 by liangjianmin

js

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