|
|
|
@ -167,7 +167,7 @@ |
|
|
|
|
|
|
|
<el-table |
|
|
|
@header-dragend="handleColumnResize" |
|
|
|
:height="this.height + 50" |
|
|
|
:height="this.height + 350" |
|
|
|
:data="dataList" |
|
|
|
ref="mainTable" |
|
|
|
highlight-current-row |
|
|
|
@ -320,297 +320,297 @@ |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-tabs style="margin-top: 0px; width: 100%; height: 100%;" v-model="activeName" class="customer-tab" type="border-card" @tab-click="tabClick"> |
|
|
|
<el-tab-pane label="打样记录" name="proofRecord" style="margin-left: -10px"> |
|
|
|
<proofRecord ref="proofRecord"></proofRecord> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="转量产阶段文档" name="massProductionStage"> |
|
|
|
<el-button type="primary" v-if="!this.authUpdate" icon="el-icon-upload" style="margin-top: -5px" @click="projectDocumentList()">文档清单定义</el-button> |
|
|
|
<el-button type="primary" v-if="this.proofingCurrentRow.status !== '草稿'" icon="el-icon-upload" style="margin-top: -5px" @click="uploadOtherDocument()">上传其他文档</el-button> |
|
|
|
<el-button type="primary" v-if="this.sendMassMailFlag === true && !this.authUpdate" style="margin-top: -5px" @click="sendMassMailHandle()">邮件提醒</el-button> |
|
|
|
<el-table |
|
|
|
:data="projectOtherDocumentList" |
|
|
|
border |
|
|
|
style="width: 100%;margin-top: 5px;" |
|
|
|
:height="this.height + 110" |
|
|
|
ref="proofDocumentTable" |
|
|
|
@row-click="projectOtherDocumentClickRow" |
|
|
|
@current-change="changeCurrentRow1" |
|
|
|
:row-class-name="tableRowClassName" |
|
|
|
v-loading="dataListLoading"> |
|
|
|
<el-table-column |
|
|
|
v-if="this.authUpdate" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="140" |
|
|
|
fixed="left" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="primary" v-if="scope.row.documentDefinitionListId !== '-1'" @click="uploadFile(scope.row)">上传文件</a> |
|
|
|
<a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null" |
|
|
|
@click="copyFile(scope.row)">复制</a> |
|
|
|
<a type="text" size="small" v-if="shouldShowDelete(scope.row) || scope.row.projectPhase === 'SOP文档'" @click="viewMassDocumentFile(scope.row)">查看附件</a> |
|
|
|
<a type="text" size="small" v-if="shouldShowDelete(scope.row) && scope.row.createdBy === $store.state.user.name" |
|
|
|
@click="massProductionDocumentDelete(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-else |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="150" |
|
|
|
fixed="left" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="primary" v-if="scope.row.documentDefinitionListId !== '-1'" @click="uploadFile(scope.row)">上传文件</a> |
|
|
|
<a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null" |
|
|
|
@click="copyFile(scope.row)">复制</a> |
|
|
|
<a type="text" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && !shouldShowDelete(scope.row)" @click="warnSendMail(scope.row)">提醒</a> |
|
|
|
<a type="text" size="small" v-if="shouldShowDelete(scope.row) || scope.row.projectPhase === 'SOP文档'" @click="viewMassDocumentFile(scope.row)">查看附件</a> |
|
|
|
<a type="text" size="small" v-if="shouldShowDelete(scope.row)" @click="massProductionDocumentDelete(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="序号" type="index" align="center" :index="indexMethod"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span> |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="文档类型" align="left"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span> |
|
|
|
{{ getCombinedDocumentType(scope.row) }} |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnFileContentArray" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
:align="item.align" |
|
|
|
:fixed="item.fixed==''?false:item.fixed" |
|
|
|
:min-width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="所有文档" name="allDocument"> |
|
|
|
<el-button type="primary" v-if="this.proofingCurrentRow.status !== '草稿' && !this.authUpdate" icon="el-icon-upload" style="margin-top: -5px" @click="projectProductionValidationDocument()">选择生产确认文档</el-button> |
|
|
|
<el-table |
|
|
|
:data="projectAllDocumentList" |
|
|
|
border |
|
|
|
style="width: 100%;margin-top: 5px;" |
|
|
|
:height="this.height + 50" |
|
|
|
ref="projectAllDocumentDocumentTable" |
|
|
|
@row-click="projectAllDocumentClickRow" |
|
|
|
v-loading="dataListLoading" |
|
|
|
:row-class-name="tableRowClassName"> |
|
|
|
<el-table-column |
|
|
|
v-if="this.authUpdate" |
|
|
|
header-align="center" |
|
|
|
fixed="left" |
|
|
|
align="center" |
|
|
|
width="90" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" v-if="shouldShowDelete(scope.row) || scope.row.uploadedFlag === 'Y'" @click="viewMassDocumentFile(scope.row)">查看附件</a> |
|
|
|
<a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null" |
|
|
|
@click="copyFile(scope.row)">复制</a> |
|
|
|
<a type="text" size="small" v-if="scope.row.uploadedFlag === 'N'" @click="uploadAllDocumentFile(scope.row)">上传文件</a> |
|
|
|
<a type="text" size="small" v-if="shouldShowDelete(scope.row) && scope.row.createdBy === $store.state.user.name" |
|
|
|
@click="massProductionDocumentDelete(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-else |
|
|
|
header-align="center" |
|
|
|
fixed="left" |
|
|
|
align="center" |
|
|
|
width="90" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" v-if="shouldShowDelete(scope.row) || scope.row.uploadedFlag === 'Y'" @click="viewMassDocumentFile(scope.row)">查看附件</a> |
|
|
|
<a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null" |
|
|
|
@click="copyFile(scope.row)">复制</a> |
|
|
|
<a type="text" size="small" v-if="scope.row.uploadedFlag === 'N'" @click="uploadAllDocumentFile(scope.row)">上传文件</a> |
|
|
|
<a type="text" size="small" v-if="shouldShowDelete(scope.row)" |
|
|
|
@click="massProductionDocumentDelete(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="序号" type="index" align="center" :index="indexMethod"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span> |
|
|
|
{{ scope.$index + 1 }} |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="文档类型" align="left"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span> |
|
|
|
{{ getCombinedDocumentType(scope.row) }} |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnProjectAllDocumentList" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
:align="item.align" |
|
|
|
:fixed="item.fixed==''?false:item.fixed" |
|
|
|
:min-width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="生产文档确认进度" name="productionDocumentsConfirmProgress"> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8" class="left-section"> |
|
|
|
<div class="table-container" style="height: 100%;margin-top: -5px"> |
|
|
|
<p style="margin-top: -5px">文档清单</p> |
|
|
|
<el-table :data="confirmProgressDocumentList" |
|
|
|
border |
|
|
|
style="width: 100%;margin-top: -5px;" |
|
|
|
:height="this.height + 95"> |
|
|
|
<el-table-column header-align="center" align="center" width="50" prop="itemNo" label="序号"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="left" prop="documentType" label="文档类型"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="left" prop="fileName" label="文件名"></el-table-column> |
|
|
|
<el-table-column |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="90" |
|
|
|
fixed="right" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" @click="viewMassDocumentFile(scope.row)">查看附件</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
<el-col :span="15" class="right-section"> |
|
|
|
<div class="table-container" style="height: 100%;margin-top: -5px"> |
|
|
|
<p style="margin-top: -5px">推送人员清单</p> |
|
|
|
<el-table :data="confirmProgressPusherList" |
|
|
|
border |
|
|
|
style="width: 100%;margin-top: -5px;" |
|
|
|
:height="this.height + 95"> |
|
|
|
<el-table-column header-align="center" align="center" width="40" prop="itemNo" label="序号"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="left" width="70" prop="userDisplay" label="指定确认人"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="center" :formatter="formatDate" prop="wantedConfirmDate" label="要求确认日期"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="center" prop="confirmFlag" label="是否确认"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="left" prop="confirmedBy" label="实际确认人"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="left" prop="remark" label="备注"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="center" prop="confirmedDate" label="实际确认时间"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="center" prop="createDate" label="推送时间"></el-table-column> |
|
|
|
<el-table-column header-align="center" align="left" prop="createBy" label="推送人"></el-table-column> |
|
|
|
<el-table-column |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="90" |
|
|
|
fixed="left" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" @click="confirmDocument(scope.row)">确认</a> |
|
|
|
<a type="text" size="small" @click="viewDocumentFile(scope.row)">查看附件</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="量产BOM" name="massProductionBOM"> |
|
|
|
<el-table |
|
|
|
:data="projectPartBomList" |
|
|
|
row-key="levelCode" |
|
|
|
border |
|
|
|
style="width: 100%; margin-top: 5px;" |
|
|
|
:height="this.height + 50" |
|
|
|
ref="projectBomTable" |
|
|
|
v-loading="dataListLoading" |
|
|
|
:tree-props="{ children: 'children' }"> |
|
|
|
<!-- 数据列 --> |
|
|
|
<el-table-column |
|
|
|
label="" |
|
|
|
prop="" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="80"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-for="(item, index) in columnProjectBomList" |
|
|
|
:key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
:align="item.align" |
|
|
|
:fixed="item.fixed === '' ? false : item.fixed" |
|
|
|
:min-width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-if="item.columnProp === 'levelCode'"> |
|
|
|
<span v-if="scope.row.levelCode === '1'">{{ '主BOM' }}</span> |
|
|
|
<span v-else>{{ scope.row.levelCode }}</span> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="产品工艺路线" name="Routing"> |
|
|
|
<el-table |
|
|
|
:data="projectPartRoutingList" |
|
|
|
border |
|
|
|
style="width: 100%; margin-top: 5px;" |
|
|
|
:height="this.height + 50" |
|
|
|
ref="projectBomTable" |
|
|
|
v-loading="dataListLoading" |
|
|
|
> |
|
|
|
<!-- 数据列 --> |
|
|
|
<el-table-column |
|
|
|
v-for="(item, index) in columnProjectRoutingList" |
|
|
|
:key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
:align="item.align" |
|
|
|
:fixed="item.fixed === '' ? false : item.fixed" |
|
|
|
:min-width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-if="item.columnProp === 'levelCode'"> |
|
|
|
<span v-if="scope.row.levelCode === '1'">{{ '1' }}</span> |
|
|
|
<span v-else>{{ scope.row.levelCode }}</span> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
<!-- <el-tabs style="margin-top: 0px; width: 100%; height: 100%;" v-model="activeName" class="customer-tab" type="border-card" @tab-click="tabClick">--> |
|
|
|
<!-- <el-tab-pane label="打样记录" name="proofRecord" style="margin-left: -10px">--> |
|
|
|
<!-- <proofRecord ref="proofRecord"></proofRecord>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
<!-- <el-tab-pane label="转量产阶段文档" name="massProductionStage">--> |
|
|
|
<!-- <el-button type="primary" v-if="!this.authUpdate" icon="el-icon-upload" style="margin-top: -5px" @click="projectDocumentList()">文档清单定义</el-button>--> |
|
|
|
<!-- <el-button type="primary" v-if="this.proofingCurrentRow.status !== '草稿'" icon="el-icon-upload" style="margin-top: -5px" @click="uploadOtherDocument()">上传其他文档</el-button>--> |
|
|
|
<!-- <el-button type="primary" v-if="this.sendMassMailFlag === true && !this.authUpdate" style="margin-top: -5px" @click="sendMassMailHandle()">邮件提醒</el-button>--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="projectOtherDocumentList"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- style="width: 100%;margin-top: 5px;"--> |
|
|
|
<!-- :height="this.height + 110"--> |
|
|
|
<!-- ref="proofDocumentTable"--> |
|
|
|
<!-- @row-click="projectOtherDocumentClickRow"--> |
|
|
|
<!-- @current-change="changeCurrentRow1"--> |
|
|
|
<!-- :row-class-name="tableRowClassName"--> |
|
|
|
<!-- v-loading="dataListLoading">--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-if="this.authUpdate"--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="140"--> |
|
|
|
<!-- fixed="left"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <a type="primary" v-if="scope.row.documentDefinitionListId !== '-1'" @click="uploadFile(scope.row)">上传文件</a>--> |
|
|
|
<!-- <a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null"--> |
|
|
|
<!-- @click="copyFile(scope.row)">复制</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="shouldShowDelete(scope.row) || scope.row.projectPhase === 'SOP文档'" @click="viewMassDocumentFile(scope.row)">查看附件</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="shouldShowDelete(scope.row) && scope.row.createdBy === $store.state.user.name"--> |
|
|
|
<!-- @click="massProductionDocumentDelete(scope.row)">删除</a>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-else--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="150"--> |
|
|
|
<!-- fixed="left"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <a type="primary" v-if="scope.row.documentDefinitionListId !== '-1'" @click="uploadFile(scope.row)">上传文件</a>--> |
|
|
|
<!-- <a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null"--> |
|
|
|
<!-- @click="copyFile(scope.row)">复制</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && !shouldShowDelete(scope.row)" @click="warnSendMail(scope.row)">提醒</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="shouldShowDelete(scope.row) || scope.row.projectPhase === 'SOP文档'" @click="viewMassDocumentFile(scope.row)">查看附件</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="shouldShowDelete(scope.row)" @click="massProductionDocumentDelete(scope.row)">删除</a>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column label="序号" type="index" align="center" :index="indexMethod">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span>--> |
|
|
|
<!-- {{ scope.$index + 1 }}--> |
|
|
|
<!-- </span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column label="文档类型" align="left">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span>--> |
|
|
|
<!-- {{ getCombinedDocumentType(scope.row) }}--> |
|
|
|
<!-- </span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item,index) in columnFileContentArray" :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed==''?false:item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"--> |
|
|
|
<!-- style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
<!-- <el-tab-pane label="所有文档" name="allDocument">--> |
|
|
|
<!-- <el-button type="primary" v-if="this.proofingCurrentRow.status !== '草稿' && !this.authUpdate" icon="el-icon-upload" style="margin-top: -5px" @click="projectProductionValidationDocument()">选择生产确认文档</el-button>--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="projectAllDocumentList"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- style="width: 100%;margin-top: 5px;"--> |
|
|
|
<!-- :height="this.height + 50"--> |
|
|
|
<!-- ref="projectAllDocumentDocumentTable"--> |
|
|
|
<!-- @row-click="projectAllDocumentClickRow"--> |
|
|
|
<!-- v-loading="dataListLoading"--> |
|
|
|
<!-- :row-class-name="tableRowClassName">--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-if="this.authUpdate"--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- fixed="left"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="90"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <a type="text" size="small" v-if="shouldShowDelete(scope.row) || scope.row.uploadedFlag === 'Y'" @click="viewMassDocumentFile(scope.row)">查看附件</a>--> |
|
|
|
<!-- <a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null"--> |
|
|
|
<!-- @click="copyFile(scope.row)">复制</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="scope.row.uploadedFlag === 'N'" @click="uploadAllDocumentFile(scope.row)">上传文件</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="shouldShowDelete(scope.row) && scope.row.createdBy === $store.state.user.name"--> |
|
|
|
<!-- @click="massProductionDocumentDelete(scope.row)">删除</a>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-else--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- fixed="left"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="90"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <a type="text" size="small" v-if="shouldShowDelete(scope.row) || scope.row.uploadedFlag === 'Y'" @click="viewMassDocumentFile(scope.row)">查看附件</a>--> |
|
|
|
<!-- <a type="primary" size="small" v-if="scope.row.documentDefinitionListId !== '-1' && scope.row.documentId === null"--> |
|
|
|
<!-- @click="copyFile(scope.row)">复制</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="scope.row.uploadedFlag === 'N'" @click="uploadAllDocumentFile(scope.row)">上传文件</a>--> |
|
|
|
<!-- <a type="text" size="small" v-if="shouldShowDelete(scope.row)"--> |
|
|
|
<!-- @click="massProductionDocumentDelete(scope.row)">删除</a>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column label="序号" type="index" align="center" :index="indexMethod">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span>--> |
|
|
|
<!-- {{ scope.$index + 1 }}--> |
|
|
|
<!-- </span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column label="文档类型" align="left">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span>--> |
|
|
|
<!-- {{ getCombinedDocumentType(scope.row) }}--> |
|
|
|
<!-- </span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item,index) in columnProjectAllDocumentList" :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed==''?false:item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]"--> |
|
|
|
<!-- style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
<!-- <el-tab-pane label="生产文档确认进度" name="productionDocumentsConfirmProgress">--> |
|
|
|
<!-- <el-row>--> |
|
|
|
<!-- <el-col :span="8" class="left-section">--> |
|
|
|
<!-- <div class="table-container" style="height: 100%;margin-top: -5px">--> |
|
|
|
<!-- <p style="margin-top: -5px">文档清单</p>--> |
|
|
|
<!-- <el-table :data="confirmProgressDocumentList"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- style="width: 100%;margin-top: -5px;"--> |
|
|
|
<!-- :height="this.height + 95">--> |
|
|
|
<!-- <el-table-column header-align="center" align="center" width="50" prop="itemNo" label="序号"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="left" prop="documentType" label="文档类型"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="left" prop="fileName" label="文件名"></el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="90"--> |
|
|
|
<!-- fixed="right"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <a type="text" size="small" @click="viewMassDocumentFile(scope.row)">查看附件</a>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- <el-col :span="15" class="right-section">--> |
|
|
|
<!-- <div class="table-container" style="height: 100%;margin-top: -5px">--> |
|
|
|
<!-- <p style="margin-top: -5px">推送人员清单</p>--> |
|
|
|
<!-- <el-table :data="confirmProgressPusherList"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- style="width: 100%;margin-top: -5px;"--> |
|
|
|
<!-- :height="this.height + 95">--> |
|
|
|
<!-- <el-table-column header-align="center" align="center" width="40" prop="itemNo" label="序号"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="left" width="70" prop="userDisplay" label="指定确认人"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="center" :formatter="formatDate" prop="wantedConfirmDate" label="要求确认日期"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="center" prop="confirmFlag" label="是否确认"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="left" prop="confirmedBy" label="实际确认人"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="left" prop="remark" label="备注"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="center" prop="confirmedDate" label="实际确认时间"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="center" prop="createDate" label="推送时间"></el-table-column>--> |
|
|
|
<!-- <el-table-column header-align="center" align="left" prop="createBy" label="推送人"></el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="90"--> |
|
|
|
<!-- fixed="left"--> |
|
|
|
<!-- label="操作">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <a type="text" size="small" @click="confirmDocument(scope.row)">确认</a>--> |
|
|
|
<!-- <a type="text" size="small" @click="viewDocumentFile(scope.row)">查看附件</a>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- </el-col>--> |
|
|
|
<!-- </el-row>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
<!-- <el-tab-pane label="量产BOM" name="massProductionBOM">--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="projectPartBomList"--> |
|
|
|
<!-- row-key="levelCode"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- style="width: 100%; margin-top: 5px;"--> |
|
|
|
<!-- :height="this.height + 50"--> |
|
|
|
<!-- ref="projectBomTable"--> |
|
|
|
<!-- v-loading="dataListLoading"--> |
|
|
|
<!-- :tree-props="{ children: 'children' }">--> |
|
|
|
<!-- <!– 数据列 –>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- label=""--> |
|
|
|
<!-- prop=""--> |
|
|
|
<!-- header-align="center"--> |
|
|
|
<!-- align="center"--> |
|
|
|
<!-- width="80">--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item, index) in columnProjectBomList"--> |
|
|
|
<!-- :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed === '' ? false : item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <div v-if="item.columnProp === 'levelCode'">--> |
|
|
|
<!-- <span v-if="scope.row.levelCode === '1'">{{ '主BOM' }}</span>--> |
|
|
|
<!-- <span v-else>{{ scope.row.levelCode }}</span>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div v-else>--> |
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
<!-- <el-tab-pane label="产品工艺路线" name="Routing">--> |
|
|
|
<!-- <el-table--> |
|
|
|
<!-- :data="projectPartRoutingList"--> |
|
|
|
<!-- border--> |
|
|
|
<!-- style="width: 100%; margin-top: 5px;"--> |
|
|
|
<!-- :height="this.height + 50"--> |
|
|
|
<!-- ref="projectBomTable"--> |
|
|
|
<!-- v-loading="dataListLoading"--> |
|
|
|
<!-- >--> |
|
|
|
<!-- <!– 数据列 –>--> |
|
|
|
<!-- <el-table-column--> |
|
|
|
<!-- v-for="(item, index) in columnProjectRoutingList"--> |
|
|
|
<!-- :key="index"--> |
|
|
|
<!-- :sortable="item.columnSortable"--> |
|
|
|
<!-- :prop="item.columnProp"--> |
|
|
|
<!-- :header-align="item.headerAlign"--> |
|
|
|
<!-- :show-overflow-tooltip="item.showOverflowTooltip"--> |
|
|
|
<!-- :align="item.align"--> |
|
|
|
<!-- :fixed="item.fixed === '' ? false : item.fixed"--> |
|
|
|
<!-- :min-width="item.columnWidth"--> |
|
|
|
<!-- :label="item.columnLabel">--> |
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
<!-- <div v-if="item.columnProp === 'levelCode'">--> |
|
|
|
<!-- <span v-if="scope.row.levelCode === '1'">{{ '1' }}</span>--> |
|
|
|
<!-- <span v-else>{{ scope.row.levelCode }}</span>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- <div v-else>--> |
|
|
|
<!-- <span v-if="!item.columnHidden">{{scope.row[item.columnProp]}}</span>--> |
|
|
|
<!-- <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>--> |
|
|
|
<!-- </div>--> |
|
|
|
<!-- </template>--> |
|
|
|
<!-- </el-table-column>--> |
|
|
|
<!-- </el-table>--> |
|
|
|
<!-- </el-tab-pane>--> |
|
|
|
<!-- </el-tabs>--> |
|
|
|
|
|
|
|
<el-dialog title="文档清单定义" @close="projectDocumentListVisibleFalse" :visible.sync="projectDocumentListVisible" width="768px" style="margin-top: 7px" :close-on-click-modal="false"> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
@ -736,13 +736,16 @@ |
|
|
|
@selection-change="selectionProjectDocument" |
|
|
|
style="width: 100%;"> |
|
|
|
<el-table-column |
|
|
|
header-align="center" |
|
|
|
type="selection" |
|
|
|
align="center" |
|
|
|
width="55"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="documentTypeId" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="100" |
|
|
|
label="文档类型ID"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
|