去除限制3档计价
This commit is contained in:
parent
6ed21030f5
commit
ceeb853783
@ -220,10 +220,6 @@ export default {
|
|||||||
// 增加
|
// 增加
|
||||||
emitButtonClick1() {
|
emitButtonClick1() {
|
||||||
let n = this.tableData1.length
|
let n = this.tableData1.length
|
||||||
if (n >=3) {
|
|
||||||
this.$modal.msgWarning('最多可添加3档计价')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
let obj = {}
|
let obj = {}
|
||||||
obj.startTime = n === 0 ? '' : this.tableData1[n-1].endTime
|
obj.startTime = n === 0 ? '' : this.tableData1[n-1].endTime
|
||||||
obj.endTime = ''
|
obj.endTime = ''
|
||||||
@ -232,10 +228,6 @@ export default {
|
|||||||
},
|
},
|
||||||
emitButtonClick2() {
|
emitButtonClick2() {
|
||||||
let n = this.tableData2.length
|
let n = this.tableData2.length
|
||||||
if (n >=3) {
|
|
||||||
this.$modal.msgWarning('最多可添加3档计价')
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
let obj = {}
|
let obj = {}
|
||||||
obj.startUsed = n === 0 ? 0 : this.tableData2[n-1].endUsed
|
obj.startUsed = n === 0 ? 0 : this.tableData2[n-1].endUsed
|
||||||
obj.endUsed = 0
|
obj.endUsed = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user