|
|
|
@ -977,7 +977,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
if (this.isMenu && this.searchIndex === 0){ |
|
|
|
if (this.isMenu && this.searchIndex === 0 && this.isAuth('5011:query')){ |
|
|
|
this.quoteForm = { |
|
|
|
...this.quote, |
|
|
|
site: this.$store.state.user.site, |
|
|
|
@ -1054,7 +1054,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
activated() { |
|
|
|
if (!this.isMenu){ |
|
|
|
if (!this.isMenu && !this.isAuth('5011:query')){ |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.$route.params.ids){ |
|
|
|
@ -1126,10 +1126,16 @@ export default { |
|
|
|
<quotation-customer-contact height="28vh" :quotation-header="currentQuote"></quotation-customer-contact> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="报价-附件信息" name="quote_oss"> |
|
|
|
<oss-components label="报价单号" height="28vh" |
|
|
|
:columns="ossColumns" |
|
|
|
:order-ref1="currentQuote.site?currentQuote.site:''" |
|
|
|
:order-ref2="currentQuote.quoteVersionNo?currentQuote.quoteVersionNo:''"> |
|
|
|
<oss-components |
|
|
|
:save-visible="isAuth('5011:tab6:save')" |
|
|
|
:download-visible="isAuth('5011:tab6:download')" |
|
|
|
:remove-visible="isAuth('5011:tab6:remove')" |
|
|
|
:preview-visible="isAuth('5011:tab6:preview')" |
|
|
|
label="报价单号" |
|
|
|
height="28vh" |
|
|
|
:columns="ossColumns" |
|
|
|
:order-ref1="currentQuote.site?currentQuote.site:''" |
|
|
|
:order-ref2="currentQuote.quoteVersionNo?currentQuote.quoteVersionNo:''"> |
|
|
|
</oss-components> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="询价-基本信息" name="request"> |
|
|
|
@ -1138,10 +1144,16 @@ export default { |
|
|
|
height="31vh"></price-check-properties> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="询价-附件信息" name="oss"> |
|
|
|
<oss-components label="询价单号" height="28vh" |
|
|
|
:columns="ossColumns" |
|
|
|
:order-ref1="currentQuote.site" |
|
|
|
:order-ref2="currentQuote.insideInquiryNo?currentQuote.insideInquiryNo.split('-')[0]:''"> |
|
|
|
<oss-components |
|
|
|
:save-visible="isAuth('102001001:tab6:save')" |
|
|
|
:download-visible="isAuth('102001001:tab6:download')" |
|
|
|
:remove-visible="isAuth('102001001:tab6:remove')" |
|
|
|
:preview-visible="isAuth('102001001:tab6:preview')" |
|
|
|
label="询价单号" |
|
|
|
height="28vh" |
|
|
|
:columns="ossColumns" |
|
|
|
:order-ref1="currentQuote.site" |
|
|
|
:order-ref2="currentQuote.insideInquiryNo?currentQuote.insideInquiryNo.split('-')[0]:''"> |
|
|
|
</oss-components> |
|
|
|
</el-tab-pane> |
|
|
|
<!-- 审批信息 --> |
|
|
|
|