订单逻辑修改

This commit is contained in:
GaoHao
2024-09-26 16:26:32 +08:00
parent 82cea7c341
commit 1e420a9c2a
6 changed files with 143 additions and 32 deletions

View File

@@ -299,14 +299,15 @@
},
async getProductqueryShop (tableCode) {
let res = await this.api.productqueryShop({
code: this.tableCode,
shopId: this.shopId,
let params = {
lng: uni.cache.get('getLocationstorage').lng ? uni.cache.get('getLocationstorage').lng :
'',
lat: uni.cache.get('getLocationstorage').lat ? uni.cache.get('getLocationstorage').lat :
'',
})
}
if (this.tableCode) {params.code = this.tableCode}
if (this.shopId) {params.shopId = this.shopId}
let res = await this.api.productqueryShop(params)
this.shopTableInfo = res.data.shopTableInfo;
console.log(res)
},
@@ -504,6 +505,10 @@
})
return;
}
let noteList = [];
this.listinfo.details.map((item)=>{
console.log(item)
})
let data = {
"skuId": '',
"num": '', //数量