订单状态对于按钮操作确认修改

This commit is contained in:
2024-02-29 09:20:34 +08:00
parent 1318e96d0d
commit d750cbe0f8
4 changed files with 4 additions and 12 deletions

View File

@@ -233,10 +233,6 @@ export default {
// 增加
emitButtonClick1() {
let n = this.tableData1.length
if (n >=3) {
this.$modal.msgWarning('最多可添加3档计价')
return false
}
let obj = {}
obj.startTime = n === 0 ? '' : this.tableData1[n-1].endTime
obj.endTime = ''
@@ -245,10 +241,6 @@ export default {
},
emitButtonClick2() {
let n = this.tableData2.length
// if (n >=3) {
// this.$modal.msgWarning('最多可添加3档计价')
// return false
// }
let obj = {}
obj.startUsed = n === 0 ? 0 : this.tableData2[n-1].endUsed
obj.endUsed = 0