diff --git a/fuintAdmin/src/views/member/userInfoOrder/balanceRecord.vue b/fuintAdmin/src/views/member/userInfoOrder/balanceRecord.vue
index 53538f8e6..ba920080c 100644
--- a/fuintAdmin/src/views/member/userInfoOrder/balanceRecord.vue
+++ b/fuintAdmin/src/views/member/userInfoOrder/balanceRecord.vue
@@ -5,49 +5,70 @@
升数卡记录
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 减少
+ 增加
+
-
-
-
+
+
+
+
+ {{ scope.row.afterTheChange?scope.row.afterTheChange + scope.row.balance : '/'}}
+
+
+
+
+ {{ scope.row.afterTheChange?scope.row.afterTheChange : '/'}}
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 减少
+ 增加
+
+
+
+
+
+
diff --git a/gasStation-uni/pagesHome/order/order.vue b/gasStation-uni/pagesHome/order/order.vue
index 83fb11eb7..816b38a14 100644
--- a/gasStation-uni/pagesHome/order/order.vue
+++ b/gasStation-uni/pagesHome/order/order.vue
@@ -157,6 +157,8 @@
}
})
uni.$emit('un')
+ // 根据storeId查询店铺信息
+ this.getInfoByStoreId()
},
onShow() {
@@ -199,7 +201,9 @@
// remaining_inventory
console.log('当前值为: ' + e.value)
console.log('当前值为123: ' + this.goodsInfo.remainingInventory)
- if (e.value >= this.goodsInfo.remainingInventory) {
+
+ //判断库存
+ if (e.value >= this.goodsInfo.remainingInventory && this.goodsInfo.remainingInventory != -1) { // -1为无限库存
e.value = this.goodsInfo.remainingInventory
this.value = this.goodsInfo.remainingInventory
this.flag = true
@@ -345,6 +349,7 @@
},
// 根据storeId查询店铺信息
getInfoByStoreId() {
+ console.log("helllllllllllllllllllllllllo")
request({
url: '/business/storeInformation/store/storeInfoUni',
method: 'get',