Commit 4e541f5e by zhangquan

金额限制

1 parent 0add5991
......@@ -370,9 +370,9 @@ export default {
if (Number(e.target.value) < minPrice) {
this.$set(this.itemsList[id], type, 1)
}
let maxPrice = 200000
if(type == 'lossAssessmentAmount') {
maxPrice = 2000000
let maxPrice = 2000000
if(type == 'applyAmount' || type == 'approveAmount') {
maxPrice = 200000
}
if (Number(e.target.value) > maxPrice) {
this.$set(this.itemsList[id], type, maxPrice)
......
......@@ -378,9 +378,9 @@ export default {
if (Number(e.target.value) < minPrice) {
this.$set(this.serviceItemsList[id], key, 1)
}
let maxPrice = 200000
if(key == 'lossAssessmentAmount') {
maxPrice = 2000000
let maxPrice = 2000000
if(key == 'approveAmount' || key == 'customerApplyAmount') {
maxPrice = 200000
}
if (Number(e.target.value) > maxPrice) {
this.$set(this.serviceItemsList[id], key, maxPrice)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!