大小写转化修复

This commit is contained in:
2024-12-18 11:07:31 +08:00
parent d72af5d3e6
commit 41846cea0b
2 changed files with 1 additions and 9 deletions

View File

@@ -926,13 +926,9 @@ export default {
this.$modal.msgWarning("第" + ii + "条明细名称不能为空!");
} else if (vo.price == null || vo.price == undefined || vo.price == "") {
this.$modal.msgWarning("第" + ii + "条明细金额不能为空,且必须是两位小数点数字!");
} else if (!price) {
this.$modal.msgWarning("第" + ii + "条明细金额必须是两位小数点数字!");
} else if (vo.bigPrice == null || vo.bigPrice == undefined || vo.bigPrice == "" ) {
this.$modal.msgWarning("第" + ii + "条明细大写金额不能为空!");
} else if(this.smalltoBIG(vo.price) != vo.bigPrice){
this.$modal.msgWarning("第" + ii + "条明细大小写金额不一致!");
}else {
} else {
boolValue.push(1)
}
})

View File

@@ -1133,12 +1133,8 @@ export default {
this.$modal.msgWarning("第" + ii + "条明细名称不能为空!");
} else if (vo.price == null || vo.price == undefined || vo.price == "") {
this.$modal.msgWarning("第" + ii + "条明细金额不能为空,且必须是两位小数点数字!");
} else if (!price) {
this.$modal.msgWarning("第" + ii + "条明细金额必须是两位小数点数字!");
} else if (vo.bigPrice == null || vo.bigPrice == undefined || vo.bigPrice == "") {
this.$modal.msgWarning("第" + ii + "条明细大写金额不能为空!");
} else if (this.smalltoBIG(vo.price) != vo.bigPrice) {
this.$modal.msgWarning("第" + ii + "条明细大小写金额不一致!");
} else {
boolValue.push(1)
}