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