|
@@ -281,7 +281,8 @@
|
|
|
:authCode="authCode"
|
|
|
:showCityPrice="isCityPrice"
|
|
|
:showAveragePrice="isAveragePrice"
|
|
|
- @hideTable="hideTable">
|
|
|
+ @hideTable="hideTable"
|
|
|
+ @onlyBorrow="v=>onlyBorrowFlag=v">
|
|
|
</detailProductList>
|
|
|
</a-card>
|
|
|
</a-spin>
|
|
@@ -473,7 +474,8 @@ export default {
|
|
|
salesPromoSnSet: [], // 当前勾选的活动sn
|
|
|
chooseDealerList: [], // 发货经销商数据
|
|
|
colsOptions: [],
|
|
|
- colsValue: []
|
|
|
+ colsValue: [],
|
|
|
+ onlyBorrowFlag: false
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -1000,6 +1002,10 @@ export default {
|
|
|
// 打印导出弹框
|
|
|
handlePrint (type, authCode) {
|
|
|
const _this = this
|
|
|
+ if (this.onlyBorrowFlag) {
|
|
|
+ _this.$message.warning('单据均是累计产品无需打印或导出!')
|
|
|
+ return
|
|
|
+ }
|
|
|
_this.$store.state.app.curActionPermission = authCode
|
|
|
// 销售分类导出
|
|
|
if (type == 'typeExport') {
|