修改订单展示问题

This commit is contained in:
liuyuan
2025-04-22 15:06:23 +08:00
parent 965abb4634
commit 861d047eb5
6 changed files with 639 additions and 510 deletions

View File

@@ -309,7 +309,7 @@ export default {
},
//积分输入
handleChangejf(val) {
var value = val;
var value = String(val);
this.$nextTick(() => {
// 1. 只允许数字字符,并去掉小数点后的部分
value = value.replace(/[^0-9.]/g, ""); // 删除非数字和小数点字符
@@ -362,7 +362,6 @@ export default {
},
//获取总金额
getTotalPrice(userInfo) {
console.log(userInfo,'22222222222222222')
if (userInfo.jf >= this.options.price) {
this.jfNumber = this.options.price;
this.jfNumberMax = this.options.price;