|
@@ -1910,10 +1910,10 @@ export default {
|
|
|
if (this.form.costOth > 0 && !this.form.costRemarks) {
|
|
|
return this.$message.error("请输入花销备注");
|
|
|
}
|
|
|
- if (this.form.costomAmt02 > 0 && !this.form.costomStr02) {
|
|
|
- return this.$message.error("请输入费用备注");
|
|
|
+ if (!this.form.costomAmt02) {
|
|
|
+ return this.$message.error("请输入其他费用");
|
|
|
}
|
|
|
- if (this.form.costomAmt01 > 0 && !this.form.costomStr01) {
|
|
|
+ if (!this.form.costomStr02 && !this.form.costomStr01) {
|
|
|
return this.$message.error("请输入费用备注");
|
|
|
}
|
|
|
this.DList.map((e) => {
|