@@ -4,7 +4,7 @@
<template slot="subTitle">
<a href="javascript:;" @click="handleBack"><a-icon type="left"></a-icon> 返回列表</a>
</template>
- <template slot="extra">
+ <template slot="extra" v-if="$hasPermissions('B_salesPrint')">
<a-button
key="3"
type="primary"
@@ -157,7 +157,9 @@ export default {
this.$emit('close')
this.$refs.ruleForm.resetFields()
} else {
- this.getTypeData()
+ if (this.nowType == 'SALES_BILL_TYPE') {
+ this.getTypeData()
+ }
}
@@ -9,7 +9,7 @@
</a>
<!-- 操作区,位于 title 行的行尾 -->
+ <template slot="extra" v-if="$hasPermissions('B_salesReturnPrint')">