shish 4 vuotta sitten
vanhempi
commit
46739c9dfc

+ 1 - 0
ghsPad/src/admin/home/components/rightItemArea.vue

@@ -52,6 +52,7 @@ export default {
     },
     methods:{
 		popAddModelFn(info) {
+            this.$util.hitRemind()
 			this.showAddModelFn({ ...info, buyNum: 1, unitPrice: info.price,unitType:0})
 		},
         async init(){

+ 2 - 0
ghsPad/src/components/app-kd-select-num-price.vue

@@ -136,6 +136,8 @@ export default {
             this.customData.unitPrice = this.unitPrice
             this.customData.unitType = this.unitType
             this.$emit('confirmAddItemModel', this.customData)
+            this.checkType = 0
+            this.fillType = 0
         },
         changeUnitType(){
             this.unitType = this.unitType == 0 ? 1 : 0

+ 4 - 0
ghsPad/src/components/plugin/vKeyboard/VKeyboard.vue

@@ -102,6 +102,7 @@ export default {
 		},
 		//键盘键入
 		typing(input) {
+			this.$util.hitRemind()
 			this.keys.push(input);
 			//app中v-model不生效,改用事件方式在外处理
 			//this.$emit('typing', this.keys.join(''))
@@ -112,6 +113,7 @@ export default {
 		},
 		//退格键
 		backspace() {
+			this.$util.hitRemind()
 			if (this.keys.length) {
 				this.keys.pop()
 			}
@@ -122,10 +124,12 @@ export default {
 		},
 		//键入回车
 		enter() {
+			this.$util.hitRemind()
 			//this.deactivate();
 			this.$emit('enter');
 		},
 		cancel(){
+			this.$util.hitRemind()
 			this.$emit('cancel')
 		},
 		//激活键盘

+ 2 - 2
ghsPad/src/mixins/product.js

@@ -430,12 +430,12 @@ export default {
 				return false
 			}
 
-			if(/(^[1-9]\d*$)/.test(this.customData.buyNUm) == false){
+			if(/(^[1-9]\d*$)/.test(this.customData.buyNum) == false){
 				uni.showToast({title:"请填写数值",icon:"none"})
 				return;
 			}
 
-			if(/(^[1-9]\d*$)/.test(this.customData.buyNUm)){
+			if(/(^[1-9]\d*$)/.test(this.customData.buyNum)){
 				if(this.customData.bigCount<=0){
 					uni.showToast({title:"数量要大于0",icon:"none"})
 					return;