Prechádzať zdrojové kódy

fix bug: 1.改价bug,让其在安卓下支持小数点输入 2. 获取门店重复请求

shizhongqi 10 mesiacov pred
rodič
commit
ad0e60639b

+ 1 - 1
hdApp/src/admin/billing/affirmGhs.vue

@@ -589,7 +589,7 @@ export default {
 			let that = this
 			this.getDetailData()
 
-			this.getCurrentShop()
+			// this.getCurrentShop() //重复执行了,注释掉
 
 			getWlList({id:this.option.id}).then(res=>{
 				if(res.code == 1){

+ 4 - 4
hdApp/src/admin/chat/chatPage.vue

@@ -53,7 +53,7 @@
                 <form @submit.prevent="createQrotedPrice(message)">
                   <input 
                     class="price-input"
-                    type="number" 
+                    type="digit" 
                     v-model="message.quotedPrice"
                     placeholder="输入价格"
                     @focus="hideKeyboard"
@@ -73,7 +73,7 @@
                   > -->
                   <input
                     class="price-input"
-                    type="number"
+                    type="digit"
                     v-model="message.quotedPrice"
                     placeholder="输入价格"
                     @focus="hideKeyboard"
@@ -1131,8 +1131,8 @@ export default {
         this.$msg('价格格式不正确');
         return;
       }
-      if (message.quotedPrice <= 0) {
-        this.$msg('价格不能小于等于0');
+      if (message.quotedPrice <= 0.01) {
+        this.$msg('价格不能小于等于0.01');
         return;
       }
       const keyArr = message.goodsInfo.key.split('-');// shopId-userId-goodsId