company/src/components/enterprise/directInvoicingApplication.vue
@@ -208,7 +208,15 @@ this.$message.warning('请输入接收地址') return } if (this.list2.length > 0 && this.setectData.length === 0) { // if (this.list2.length > 0 && this.setectData.length === 0) { // this.$message.warning('至少勾选一项冲红单数据') // return // } let price = 0 this.list1.forEach(item => { price += item.amount }) if (price < 0 && this.setectData.length === 0) { this.$message.warning('至少勾选一项冲红单数据') return }