|
@@ -306,15 +306,15 @@ export default {
|
|
|
},
|
|
|
// 打开审核/一键审核弹框
|
|
|
handleAudit (isBatch) {
|
|
|
- if(this.detailData&&this.detailData.promoFlag==1&&this.$refs.productList.outStockStr != ''){
|
|
|
- this.$info({
|
|
|
- title: '提示',
|
|
|
- content: '参加促销活动的销售单,有缺货产品,不可一键审核!',
|
|
|
- centered: true
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
if (isBatch) { // 一键审核
|
|
|
+ if(this.detailData&&this.detailData.promoFlag==1&&this.$refs.productList.outStockStr != ''){
|
|
|
+ this.$info({
|
|
|
+ title: '提示',
|
|
|
+ content: '参加促销活动的销售单,有缺货产品,不可一键审核!',
|
|
|
+ centered: true
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
this.showDsModal = true
|
|
|
this.$refs.dsModal.setDetail(this.detailData)
|
|
|
} else {
|