订单相关修改提测

This commit is contained in:
GaoHao
2024-09-09 11:08:04 +08:00
parent c2ff506543
commit 2dbcdf4300
45 changed files with 1377 additions and 3506 deletions

View File

@@ -70,7 +70,6 @@
methods: {
touchstart() {
this.Time = setInterval(() => {
console.log(this.money);
if (this.money == '') {
clearInterval();
}
@@ -82,7 +81,7 @@
},
//处理按键
_handleKeyPress(e) {
console.log('点击传e', e.target.dataset.num);
// console.log('点击传e', e.target.dataset.num);
let num = e.target.dataset.num;
//不同按键处理逻辑
// -1 代表无效按键,直接返回
@@ -141,8 +140,6 @@
//处理数字
_handleNumberKey(num) {
let S = this.money;
//如果有小数点且小数点位数不小于2
// if (S.indexOf('.') > -1 && S.substring(S.indexOf('.') + 1).length < 2)
@@ -157,8 +154,6 @@
// this.money = S + num;
// }
// }
console.log(this.money)
console.log(this.money,this.money.length)
if (this.money.length == 6) {
this.$emit('confirmEvent', this.money); //提交参数
return