|
@@ -819,6 +819,11 @@ export default {
|
|
|
</ol>
|
|
|
</div>,
|
|
|
onOk () {
|
|
|
+ // 只有累计产品
|
|
|
+ if (e.length) {
|
|
|
+ _this.onlyBorrowProduct(e)
|
|
|
+ return
|
|
|
+ }
|
|
|
// 售价是否低于参考成本价
|
|
|
_this.validPriceLessCost(d, isBatch)
|
|
|
},
|
|
@@ -830,9 +835,7 @@ export default {
|
|
|
}
|
|
|
// 只有累计产品
|
|
|
if (e.length) {
|
|
|
- _this.auditText = e[0].message
|
|
|
- _this.visibleAudit = true
|
|
|
- _this.spinning = false
|
|
|
+ _this.onlyBorrowProduct(e)
|
|
|
return
|
|
|
}
|
|
|
// 售价是否低于参考成本价
|
|
@@ -841,6 +844,13 @@ export default {
|
|
|
_this.verificationSuccess(isBatch)
|
|
|
}
|
|
|
},
|
|
|
+ // 只有累计产品弹框
|
|
|
+ onlyBorrowProduct (e) {
|
|
|
+ const _this = this
|
|
|
+ _this.auditText = e[0].message
|
|
|
+ _this.visibleAudit = true
|
|
|
+ _this.spinning = false
|
|
|
+ },
|
|
|
// 售价是否低于参考成本价提示弹框
|
|
|
validPriceLessCost (d, isBatch) {
|
|
|
const _this = this
|