优化提交
This commit is contained in:
@@ -16,12 +16,12 @@ const baseUrl = debug ? proxyApi : "https://wxcashiertest.sxczgkj.cn/cashierServ
|
||||
const baseUrlwws = 'ws://cashier.sxczgkj.cn/cashierService'
|
||||
// #endif
|
||||
// #ifdef APP || MP-WEIXIN
|
||||
const baseUrl = 'https://cashier.sxczgkj.cn/cashierService'// 线上
|
||||
const baseUrlwws = 'wss://cashier.sxczgkj.cn/cashierService' // 线上
|
||||
// const baseUrl = 'https://cashier.sxczgkj.cn/cashierService'// 线上
|
||||
// const baseUrlwws = 'wss://cashier.sxczgkj.cn/cashierService' // 线上
|
||||
// const baseUrl = 'http://192.168.2.42:9888/cashierService'// 测试-w
|
||||
// const baseUrlwws ='ws://192.168.2.42:9888/cashierService' // 测试-w
|
||||
// const baseUrl = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试
|
||||
// const baseUrlwws ='wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试
|
||||
const baseUrl = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试
|
||||
const baseUrlwws ='wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试
|
||||
|
||||
// #endif
|
||||
|
||||
|
||||
@@ -391,9 +391,10 @@
|
||||
msg.data.forEach((item, index, arr) => { //初始化skuidname的数据 选择第一个
|
||||
if (item.skuId == this.skuidsearch) {
|
||||
this.$set(this, 'amountcartNumber', item.number)
|
||||
} else {
|
||||
this.$set(this, 'amountcartNumber', 0)
|
||||
}
|
||||
}
|
||||
// else {
|
||||
// this.$set(this, 'amountcartNumber', 0)
|
||||
// }
|
||||
})
|
||||
} else {
|
||||
this.$set(this, 'amountcartNumber', 0)
|
||||
@@ -527,6 +528,7 @@
|
||||
return res
|
||||
})
|
||||
this.specifications.tagSnap.forEach((val, index, arr) => { //初始化skuidname的数据 选择第一个
|
||||
console.log(val.children[0],'skuidnam是否为空1')
|
||||
this.skuidname.push(val.children[0])
|
||||
})
|
||||
try {
|
||||
@@ -539,6 +541,7 @@
|
||||
}
|
||||
},
|
||||
async morloe(e, index, index1, item) {
|
||||
console.log(index,'skuidnam是否为空2')
|
||||
this.specifications.tagSnap[index]['start'] = index1
|
||||
this.skuidname.splice(index, 1, e) //替换skuidname的数据
|
||||
this.hodgepodge(item, 2)
|
||||
|
||||
Reference in New Issue
Block a user