Browse Source

2025-04-18

master
qiezi 9 months ago
parent
commit
5d26633ca5
  1. 24
      src/views/modules/project/projectInfo/projectInfo.vue
  2. 23
      src/views/modules/project/projectPart/searchProjectPart.vue

24
src/views/modules/project/projectInfo/projectInfo.vue

@ -188,10 +188,10 @@
</el-form> </el-form>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="客户信息" name="customer">
<el-tab-pane label="客户信息" v-if="isAuth('101002001:customer')" name="customer">
<customer-info :project="currentRow"></customer-info> <customer-info :project="currentRow"></customer-info>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="项目联系人" name="customer_contact">
<el-tab-pane label="项目联系人" v-if="isAuth('101002001:contact')" name="customer_contact">
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;"> <el-form label-position="top" style="margin-top: 1px; margin-left: 0px;">
<el-form :inline="true" label-position="top" style="margin-top: 0px"> <el-form :inline="true" label-position="top" style="margin-top: 0px">
<el-button type="primary" @click="contactChooseModal()">编辑</el-button> <el-button type="primary" @click="contactChooseModal()">编辑</el-button>
@ -235,32 +235,32 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附件信息" name="down">
<el-tab-pane label="附件信息" v-if="isAuth('101002001:file')" name="down">
<oss-components height="25vh" label="项目编码" :columns="ossColumns" :order-ref1="currentRow.site" :order-ref2="currentRow.projectId"></oss-components> <oss-components height="25vh" label="项目编码" :columns="ossColumns" :order-ref1="currentRow.site" :order-ref2="currentRow.projectId"></oss-components>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="项目物料" name="part">
<el-tab-pane label="项目物料" v-if="isAuth('101002001:part')" name="part">
<projectPart ref="projectPart"></projectPart> <projectPart ref="projectPart"></projectPart>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="询价信息" name="quotation">
<el-tab-pane label="询价信息" v-if="isAuth('101002001:quotation')" name="quotation">
<project-quotation ref="projectQuotation" ></project-quotation> <project-quotation ref="projectQuotation" ></project-quotation>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="报价信息" name="quotationHeader">
<el-tab-pane label="报价信息" v-if="isAuth('101002001:quote')" name="quotationHeader">
<!-- <quote :is-menu="false" :project-no="currentRow.projectId" height="22vh"></quote>--> <!-- <quote :is-menu="false" :project-no="currentRow.projectId" height="22vh"></quote>-->
<project-part-quote :is-export="true" height="26vh" :part="currentRow"></project-part-quote> <project-part-quote :is-export="true" height="26vh" :part="currentRow"></project-part-quote>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="打样信息" name="sample">
<el-tab-pane label="打样信息" v-if="isAuth('101002001:sample')" name="sample">
<sample ref="sample"></sample> <sample ref="sample"></sample>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="测试记录" name="test">
<el-tab-pane label="测试记录" v-if="isAuth('101002001:test')" name="test">
<test ref="test"></test> <test ref="test"></test>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="刀模申请" name="toolApply">
<el-tab-pane label="刀模申请" v-if="isAuth('101002001:tool')" name="toolApply">
<toolApply ref="toolApply"></toolApply> <toolApply ref="toolApply"></toolApply>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="技术参数卡" name="technicalSpecification">
<el-tab-pane label="技术参数卡" v-if="isAuth('101002001:technical')" name="technicalSpecification">
<technicalSpecification ref="technicalSpecification"></technicalSpecification> <technicalSpecification ref="technicalSpecification"></technicalSpecification>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="变更记录" name="changeRecord">
<el-tab-pane label="变更记录" v-if="isAuth('101002001:change')" name="changeRecord">
<change-record :data-list="changeRecordList" :height="240" :columns="columnChangeRecord"></change-record> <change-record :data-list="changeRecordList" :height="240" :columns="columnChangeRecord"></change-record>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
@ -413,6 +413,7 @@
import Quote from "../../quote/index.vue"; import Quote from "../../quote/index.vue";
import ProjectQuotation from "./com_project_puotation.vue"; import ProjectQuotation from "./com_project_puotation.vue";
import ProjectPartQuote from "../projectPart/projectPartQuote.vue"; import ProjectPartQuote from "../projectPart/projectPartQuote.vue";
import {isAuth} from "../../../../utils";
/*組件*/ /*組件*/
export default { export default {
components: { components: {
@ -1294,6 +1295,7 @@
}) })
}, },
methods: { methods: {
isAuth,
// S // S
getBaseList (val, type) { getBaseList (val, type) {
this.tagNo = val this.tagNo = val

23
src/views/modules/project/projectPart/searchProjectPart.vue

@ -83,7 +83,7 @@
</el-pagination> </el-pagination>
<el-tabs style="font-size: 12px;min-height: 330px" class="customer-tab" v-model="activeName" type="border-card" @tab-click="tabClick"> <el-tabs style="font-size: 12px;min-height: 330px" class="customer-tab" v-model="activeName" type="border-card" @tab-click="tabClick">
<el-tab-pane label="项目信息" name="project">
<el-tab-pane label="项目信息" name="project">
<el-form label-position="top" style="margin-top: 0px; margin-left: 0px;"> <el-form label-position="top" style="margin-top: 0px; margin-left: 0px;">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="5"><div class="grid-content bg-purple"> <el-col :span="5"><div class="grid-content bg-purple">
@ -179,31 +179,28 @@
</el-form> </el-form>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="客户信息" name="customer">
<el-tab-pane label="客户信息" v-if="isAuth('101002002:customer')" name="customer">
<customer-info :project="currentRow"></customer-info> <customer-info :project="currentRow"></customer-info>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="询价信息" name="projectQuotation">
<el-tab-pane label="询价信息" v-if="isAuth('101002002:quotation')" name="projectQuotation">
<projectQuotation ref="projectQuotation"></projectQuotation> <projectQuotation ref="projectQuotation"></projectQuotation>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="报价信息" name="quotationHeader">
<el-tab-pane label="报价信息" v-if="isAuth('101002002:quote')" name="quotationHeader">
<project-part-quote :part="currentRow"></project-part-quote> <project-part-quote :part="currentRow"></project-part-quote>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="打样信息" name="sample">
<el-tab-pane label="打样信息" v-if="isAuth('101002002:sample')" name="sample">
<sample ref="sample"></sample> <sample ref="sample"></sample>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="测试记录" name="test">
<el-tab-pane label="测试记录" v-if="isAuth('101002002:test')" name="test">
<test ref="test"></test> <test ref="test"></test>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="刀模申请" name="toolApply">
<el-tab-pane label="刀模申请" v-if="isAuth('101002002:tool')" name="toolApply">
<toolApply ref="toolApply"></toolApply> <toolApply ref="toolApply"></toolApply>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="技术参数卡" name="technicalSpecification">
<el-tab-pane label="技术参数卡" v-if="isAuth('101002002:technical')" name="technicalSpecification">
<technicalSpecification ref="technicalSpecification" ></technicalSpecification> <technicalSpecification ref="technicalSpecification" ></technicalSpecification>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="变更记录" name="changeRecord">
<el-tab-pane label="变更记录" v-if="isAuth('101002002:change')" name="changeRecord">
<change-record :data-list="changeRecordList" :height="240" :columns="columnChangeRecord"></change-record> <change-record :data-list="changeRecordList" :height="240" :columns="columnChangeRecord"></change-record>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
@ -233,6 +230,7 @@
import toolApply from "../projectInfo/com_project_toolApplyCation.vue"; import toolApply from "../projectInfo/com_project_toolApplyCation.vue";
import CustomerInfo from "../../quotation/sellForQuotation/customerInfo.vue"; import CustomerInfo from "../../quotation/sellForQuotation/customerInfo.vue";
import ChangeRecord from "../projectInfo/com_project_change_record.vue"; import ChangeRecord from "../projectInfo/com_project_change_record.vue";
import {isAuth} from "../../../../utils";
export default { export default {
components: { components: {
ChangeRecord, ChangeRecord,
@ -758,6 +756,7 @@
}, },
methods: { methods: {
isAuth,
// bu // bu
getBuBySite () { getBuBySite () {
let tempData = { let tempData = {

Loading…
Cancel
Save