@@ -156,7 +156,7 @@ export default {
const _this = this
_this.spinning = true
const url = allocLinkagePutDetailPrint
- const params = { sn: this.$route.params.sn, type: printerType }
+ const params = { sn: this.$route.params.sn, type: printerType, showFlag: this.$hasPermissions('M_ShowAllCost') ? 1 : 0 }
// 打印或导出
hdPrint(printerType, type, url, params, '', function () {
_this.spinning = false
@@ -327,7 +327,7 @@ export default {
@@ -166,7 +166,7 @@ export default {
const url = allocLinkageOutDetailPrint
- const params = { sn: this.outBizSn || this.$route.params.sn, type: printerType }
+ const params = { sn: this.outBizSn || this.$route.params.sn, type: printerType, showFlag: this.$hasPermissions('M_ShowAllCost') ? 1 : 0 }
@@ -463,7 +463,7 @@ export default {
@@ -131,7 +131,7 @@ export default {
let url = purchaseReturnDetailPrint
const params = { sn: this.$route.params.sn || this.outBizSn }
- params.showCost = this.$hasPermissions('M_ShowAllCost') ? 1 : 0
+ params.showFlag = this.$hasPermissions('M_ShowAllCost') ? 1 : 0
if (type == 'export') { // 导出
url = purchaseReturnDetailExport
}
@@ -267,6 +267,7 @@ export default {
const params = { sn: this.$route.params.sn }