|
@@ -44,8 +44,7 @@
|
|
|
</e-desc-item>
|
|
|
</e-desc>
|
|
|
<e-desc title="物料清单明细">
|
|
|
- <el-table :data="productDetails" row-key="productId" border :indent='20' lazy :load="loadingData"
|
|
|
- style="width: 100%;">
|
|
|
+ <el-table :data="productDetails" row-key="productId" border :indent='20' lazy :load="loadingData" style="width: 100%;">
|
|
|
<el-table-column label="序号" type="index" width="50" align="center">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="mapNumber" header-align="center" align="left" width="160"
|
|
@@ -54,9 +53,9 @@
|
|
|
<el-table-column prop="productName" header-align="center" align="left" width="160"
|
|
|
:show-tooltip-when-overflow="true" label="物料名称">
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="relatedProduct" header-align="center" align="center" width="120"
|
|
|
+ <!-- <el-table-column prop="relatedProduct" header-align="center" align="center" width="120"
|
|
|
:show-tooltip-when-overflow="true" label="物料关联">
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column header-align="center" align="center" min-width="100" :show-tooltip-when-overflow="true"
|
|
|
label="简图">
|
|
|
<template slot-scope="scope">
|
|
@@ -132,7 +131,7 @@
|
|
|
<span>{{ !scope.row.appraisal ? '' : (Number(scope.row.appraisal) === 2 ? '是' : '否') }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column header-align="center" align="center" width="120" :show-tooltip-when-overflow="true"
|
|
|
+ <!-- <el-table-column header-align="center" align="center" width="120" :show-tooltip-when-overflow="true"
|
|
|
label="试制前检查">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ !scope.row.inspect ? '' : (Number(scope.row.inspect) === 2 ? '是' : '否') }}</span>
|
|
@@ -151,7 +150,7 @@
|
|
|
<el-button :disabled="!scope.row.attachListExamine || scope.row.attachListExamine.length === 0"
|
|
|
type="text" size="small" @click="attachDetails(scope.row.attachListExamine)">查看</el-button>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column prop="notes" header-align="center" align="center" min-width="120"
|
|
|
:show-tooltip-when-overflow="true" label="备注">
|
|
|
</el-table-column>
|
|
@@ -272,12 +271,13 @@ export default {
|
|
|
getDetails(businessType) {
|
|
|
getOrderDetail(this.id).then(({ data }) => {
|
|
|
if (data && data.code === '200') {
|
|
|
+ console.log(data)
|
|
|
this.dataForm = data.data
|
|
|
// 流程图展示
|
|
|
- if (data.data.workFlowBusinessExt.workFlowProcessStepList) {
|
|
|
+ if (data.data.workFlowBusinessExt && data.data.workFlowBusinessExt.workFlowProcessStepList) {
|
|
|
dealStepData(data.data.workFlowBusinessExt.workFlowProcessStepList, this.stepList)
|
|
|
}
|
|
|
- if (data.data.workFlowBusinessExt.processLogList) {
|
|
|
+ if (data.data.workFlowBusinessExt && data.data.workFlowBusinessExt.processLogList) {
|
|
|
dealStepLogs(data.data.workFlowBusinessExt.processLogList, this.logList)
|
|
|
}
|
|
|
if (data.data.workFlowProcessStepList) {
|