|
@@ -79,15 +79,15 @@
|
|
|
<div class="label">单据状态</div>
|
|
|
<div class="value">
|
|
|
{{
|
|
|
- detailList.examineStatus == 'SAVE'
|
|
|
- ? '保存'
|
|
|
- : detailList.examineStatus == 'WAIT'
|
|
|
- ? '待审核'
|
|
|
- : detailList.examineStatus == 'OK'
|
|
|
- ? '通过'
|
|
|
- : detailList.examineStatus == 'FAIL'
|
|
|
- ? '不通过'
|
|
|
- : '关闭'
|
|
|
+ detailList.examineStatus == 'SAVE'
|
|
|
+ ? '保存'
|
|
|
+ : detailList.examineStatus == 'WAIT'
|
|
|
+ ? '待审核'
|
|
|
+ : detailList.examineStatus == 'OK'
|
|
|
+ ? '通过'
|
|
|
+ : detailList.examineStatus == 'FAIL'
|
|
|
+ ? '不通过'
|
|
|
+ : '关闭'
|
|
|
}}
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -118,9 +118,16 @@
|
|
|
<el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
<div class="label">安装时间</div>
|
|
|
<div class="value">
|
|
|
- <el-date-picker v-model="detailList.installDate" prefix-icon="''" placeholder="请选择安装时间"
|
|
|
- :readonly="title == '详情'" class="selectStyle" type="datetime" default-time="00:00:00"
|
|
|
- value-format="yyyy-MM-dd HH:mm:ss" />
|
|
|
+ <el-date-picker
|
|
|
+ v-model="detailList.installDate"
|
|
|
+ prefix-icon="''"
|
|
|
+ placeholder="请选择安装时间"
|
|
|
+ :readonly="title == '详情'"
|
|
|
+ class="selectStyle"
|
|
|
+ type="datetime"
|
|
|
+ default-time="00:00:00"
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
+ />
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :lg="16" class="item">
|
|
@@ -158,15 +165,22 @@
|
|
|
<div class="label">备注</div>
|
|
|
<!-- <div class="value">{{ detailList.remark }}</div> -->
|
|
|
<div class="value">
|
|
|
- <el-input v-model="detailList.remark" :readonly="detailList.examineStatus !== 'WAIT'" placeholder="请输入内容" />
|
|
|
+ <el-input
|
|
|
+ v-model="detailList.remark"
|
|
|
+ :readonly="detailList.examineStatus !== 'WAIT'"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ />
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col v-if="!isCustomer" :xs="24" :sm="24" :lg="16" class="item">
|
|
|
<div class="label">格力内部备注</div>
|
|
|
<!-- <div class="value">{{ detailList.geLiInerNote}}</div> -->
|
|
|
<div class="value">
|
|
|
- <el-input v-model="detailList.geLiInerNote" :readonly="detailList.examineStatus !== 'WAIT'"
|
|
|
- placeholder="请输入内容" />
|
|
|
+ <el-input
|
|
|
+ v-model="detailList.geLiInerNote"
|
|
|
+ :readonly="detailList.examineStatus !== 'WAIT'"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ />
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
@@ -350,8 +364,17 @@
|
|
|
<div class="mymain-container">
|
|
|
<div class="table">
|
|
|
<div class="table">
|
|
|
- <el-table v-loading="listLoading" :data="detailList.items" element-loading-text="Loading" border fit
|
|
|
- highlight-current-row stripe show-summary :summary-method="$getSummaries">
|
|
|
+ <el-table
|
|
|
+ v-loading="listLoading"
|
|
|
+ :data="detailList.items"
|
|
|
+ element-loading-text="Loading"
|
|
|
+ border
|
|
|
+ fit
|
|
|
+ highlight-current-row
|
|
|
+ stripe
|
|
|
+ show-summary
|
|
|
+ :summary-method="$getSummaries"
|
|
|
+ >
|
|
|
<template v-if="!isCustomer">
|
|
|
<el-table-column align="left" label="厂编号" prop="factoryNo" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
@@ -359,7 +382,13 @@
|
|
|
<span>{{ scope.row.factoryNo }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="130" show-overflow-tooltip>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="物料编码"
|
|
|
+ prop="materialNumber"
|
|
|
+ min-width="130"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<CopyButton :copy-text="scope.row.materialNumber" />
|
|
|
<span>{{ scope.row.materialNumber }}</span>
|
|
@@ -367,7 +396,13 @@
|
|
|
</el-table-column>
|
|
|
</template>
|
|
|
|
|
|
- <el-table-column align="left" label="产品编码" prop="materialOldNumber" min-width="130" show-overflow-tooltip>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="产品编码"
|
|
|
+ prop="materialOldNumber"
|
|
|
+ min-width="130"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<CopyButton :copy-text="scope.row.materialOldNumber" />
|
|
|
<span>{{ scope.row.materialOldNumber }}</span>
|
|
@@ -386,23 +421,39 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="实装规格型号"
|
|
|
+ prop="realSpecification"
|
|
|
+ min-width="300"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<div :style="scope.row.realSpecification != scope.row.specification ? { color: 'blue' } : ''">
|
|
|
{{ scope.row.realSpecification }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="left" label="实装物料编号" prop="realMaterialNumber" min-width="150"
|
|
|
- show-overflow-tooltip>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="实装物料编号"
|
|
|
+ prop="realMaterialNumber"
|
|
|
+ min-width="150"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<div :style="scope.row.realMaterialNumber != scope.row.materialNumber ? { color: 'blue' } : ''">
|
|
|
{{ scope.row.realMaterialNumber }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="left" label="实装厂产品编码" prop="realMaterialOldNumber" min-width="200"
|
|
|
- show-overflow-tooltip>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="实装厂产品编码"
|
|
|
+ prop="realMaterialOldNumber"
|
|
|
+ min-width="200"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
<div :style="scope.row.realMaterialOldNumber != scope.row.materialOldNumber ? { color: 'blue' } : ''">
|
|
|
{{ scope.row.realMaterialOldNumber }}
|
|
@@ -421,7 +472,13 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="right" label="押金数量" prop="hasSendQty" min-width="160" show-overflow-tooltip />
|
|
|
- <el-table-column align="right" label="发货数量" prop="orderHasSendQty" min-width="160" show-overflow-tooltip />
|
|
|
+ <el-table-column
|
|
|
+ align="right"
|
|
|
+ label="发货数量"
|
|
|
+ prop="orderHasSendQty"
|
|
|
+ min-width="160"
|
|
|
+ show-overflow-tooltip
|
|
|
+ />
|
|
|
<el-table-column align="right" label="押金金额" prop="depositAmount" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.depositAmount | numToFixed }}
|
|
@@ -429,8 +486,13 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="right" label="合同数量" prop="contractQty" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input v-if="title !== '详情'" v-model.number="scope.row.contractQty" class="inpt" size="mini"
|
|
|
- clearable />
|
|
|
+ <el-input
|
|
|
+ v-if="title !== '详情'"
|
|
|
+ v-model.number="scope.row.contractQty"
|
|
|
+ class="inpt"
|
|
|
+ size="mini"
|
|
|
+ clearable
|
|
|
+ />
|
|
|
<div v-else>
|
|
|
{{ scope.row.contractQty }}
|
|
|
</div>
|
|
@@ -438,8 +500,13 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="right" label="合同单价" prop="contractPrice" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input v-if="title !== '详情'" v-model.number="scope.row.contractPrice" class="inpt" size="mini"
|
|
|
- clearable />
|
|
|
+ <el-input
|
|
|
+ v-if="title !== '详情'"
|
|
|
+ v-model.number="scope.row.contractPrice"
|
|
|
+ class="inpt"
|
|
|
+ size="mini"
|
|
|
+ clearable
|
|
|
+ />
|
|
|
<div v-else>
|
|
|
{{ scope.row.contractPrice }}
|
|
|
</div>
|
|
@@ -454,8 +521,13 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="right" label="上交资料" prop="dataQty" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input v-if="title !== '详情'" v-model.number.trim="scope.row.dataQty" class="inpt" size="mini"
|
|
|
- @blur="setDataQty($event, scope.row)" />
|
|
|
+ <el-input
|
|
|
+ v-if="title !== '详情'"
|
|
|
+ v-model.number.trim="scope.row.dataQty"
|
|
|
+ class="inpt"
|
|
|
+ size="mini"
|
|
|
+ @blur="setDataQty($event, scope.row)"
|
|
|
+ />
|
|
|
<div v-else>
|
|
|
{{ scope.row.dataQty }}
|
|
|
</div>
|
|
@@ -466,7 +538,13 @@
|
|
|
{{ scope.row.diffAmount | numToFixed }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="right" label="收差政策价格" prop="diffPolicyPrice" min-width="200" show-overflow-tooltip>
|
|
|
+ <el-table-column
|
|
|
+ align="right"
|
|
|
+ label="收差政策价格"
|
|
|
+ prop="diffPolicyPrice"
|
|
|
+ min-width="200"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.diffPolicyPrice | numToFixed }}
|
|
|
</template>
|
|
@@ -486,14 +564,27 @@
|
|
|
<!-- 列表 -->
|
|
|
<div class="mymain-container">
|
|
|
<div class="table">
|
|
|
- <el-table v-loading="listLoading" :data="original" element-loading-text="Loading" border fit
|
|
|
- highlight-current-row stripe>
|
|
|
+ <el-table
|
|
|
+ v-loading="listLoading"
|
|
|
+ :data="original"
|
|
|
+ element-loading-text="Loading"
|
|
|
+ border
|
|
|
+ fit
|
|
|
+ highlight-current-row
|
|
|
+ stripe
|
|
|
+ >
|
|
|
<el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
|
|
|
<el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
|
|
|
<el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img" :src="imageURL + scope.row.fileUrl"
|
|
|
- style="width: 120px; height: 120px" fit="cover" :preview-src-list="[imageURL + scope.row.fileUrl]" />
|
|
|
+ <el-image
|
|
|
+ v-if="checkFileType(scope.row.fileUrl) == 'image'"
|
|
|
+ ref="img"
|
|
|
+ :src="imageURL + scope.row.fileUrl"
|
|
|
+ style="width: 120px; height: 120px"
|
|
|
+ fit="cover"
|
|
|
+ :preview-src-list="[imageURL + scope.row.fileUrl]"
|
|
|
+ />
|
|
|
<img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
|
|
|
<img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file" src="@/assets/common/excel.png" />
|
|
|
<img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
|
|
@@ -508,8 +599,9 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button type="text" class="textColor"
|
|
|
- @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
|
|
|
+ <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
|
|
|
+ >下载</el-button
|
|
|
+ >
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -545,8 +637,15 @@
|
|
|
<!-- 列表 -->
|
|
|
<div class="mymain-container">
|
|
|
<div class="table">
|
|
|
- <el-table v-loading="listLoading" :data="detailList.checkRecordItems" element-loading-text="Loading" border fit
|
|
|
- highlight-current-row stripe>
|
|
|
+ <el-table
|
|
|
+ v-loading="listLoading"
|
|
|
+ :data="detailList.checkRecordItems"
|
|
|
+ element-loading-text="Loading"
|
|
|
+ border
|
|
|
+ fit
|
|
|
+ highlight-current-row
|
|
|
+ stripe
|
|
|
+ >
|
|
|
<el-table-column align="left" label="申请人" prop="submitName" min-width="160" show-overflow-tooltip />
|
|
|
<el-table-column align="left" label="申请日期" prop="submitTime" min-width="160" show-overflow-tooltip />
|
|
|
<el-table-column align="left" label="申请说明" prop="applyNote" min-width="160" show-overflow-tooltip />
|
|
@@ -562,14 +661,18 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <h3 v-if="
|
|
|
- detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
|
|
|
- ">
|
|
|
+ <h3
|
|
|
+ v-if="
|
|
|
+ detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
|
|
|
+ "
|
|
|
+ >
|
|
|
审批
|
|
|
</h3>
|
|
|
- <el-divider v-if="
|
|
|
- detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
|
|
|
- " />
|
|
|
+ <el-divider
|
|
|
+ v-if="
|
|
|
+ detailList.examineStatus == 'WAIT' || detailList.examineStatus == 'FAIL' || detailList.examineStatus == 'OK'
|
|
|
+ "
|
|
|
+ />
|
|
|
<div v-if="detailList.examineStatus == 'WAIT'" class="diy-table-1">
|
|
|
<el-row :gutter="0">
|
|
|
<el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
@@ -579,8 +682,15 @@
|
|
|
<el-col :xs="12" :sm="12" :lg="12" class="item dateS">
|
|
|
<div class="label">受理日期</div>
|
|
|
<div class="value">
|
|
|
- <el-date-picker readonly prefix-icon="''" class="selectStyle" type="datetime" placeholder="系统自动生成"
|
|
|
- default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
|
|
|
+ <el-date-picker
|
|
|
+ readonly
|
|
|
+ prefix-icon="''"
|
|
|
+ class="selectStyle"
|
|
|
+ type="datetime"
|
|
|
+ placeholder="系统自动生成"
|
|
|
+ default-time="00:00:00"
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
+ />
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :xs="12" :sm="24" :lg="24" class="item">
|
|
@@ -610,8 +720,16 @@
|
|
|
<el-col :xs="12" :sm="12" :lg="12" class="item dateS">
|
|
|
<div class="label">受理日期</div>
|
|
|
<div class="value">
|
|
|
- <el-date-picker v-model="detailList.checkDate" readonly prefix-icon="''" class="selectStyle" type="datetime"
|
|
|
- placeholder="" default-time="00:00:00" value-format="yyyy-MM-dd HH:mm:ss" />
|
|
|
+ <el-date-picker
|
|
|
+ v-model="detailList.checkDate"
|
|
|
+ readonly
|
|
|
+ prefix-icon="''"
|
|
|
+ class="selectStyle"
|
|
|
+ type="datetime"
|
|
|
+ placeholder=""
|
|
|
+ default-time="00:00:00"
|
|
|
+ value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
+ />
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :xs="12" :sm="24" :lg="24" class="item">
|
|
@@ -638,121 +756,133 @@
|
|
|
</el-row>
|
|
|
</div>
|
|
|
<div>
|
|
|
-
|
|
|
- <div
|
|
|
- v-if="detailList.dataState == 'AMEND' || detailList.dataState == 'WAIT_REVIEW' || detailList.dataState == 'REVIEW'">
|
|
|
- <h3 class="gdzl">补充资料</h3>
|
|
|
- <el-divider />
|
|
|
- <div class="mymain-container">
|
|
|
- <div class="table">
|
|
|
- <el-table v-loading="listLoading" :data="amendData" element-loading-text="Loading" border fit
|
|
|
- highlight-current-row stripe>
|
|
|
- <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-image v-if="checkFileType(scope.row.fileUrl) == 'image'" ref="img"
|
|
|
- :src="imageURL + scope.row.fileUrl" style="width: 120px; height: 120px" fit="cover"
|
|
|
- :preview-src-list="[imageURL + scope.row.fileUrl]" />
|
|
|
- <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file"
|
|
|
- src="@/assets/common/word.png" />
|
|
|
- <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file"
|
|
|
- src="@/assets/common/excel.png" />
|
|
|
- <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
|
|
|
- <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png" />
|
|
|
- <img v-if="checkFileType(scope.row.fileUrl) == 'file'" class="file aaa"
|
|
|
- src="@/assets/common/zip.jpeg" />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ '资料_' + scope.row.fileName }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" class="textColor"
|
|
|
- @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)">下载</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- <div class="diy-table-1">
|
|
|
- <el-row :gutter="0">
|
|
|
- <el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
|
- <div class="label">
|
|
|
- 上传人
|
|
|
- </div>
|
|
|
- <div class="value">
|
|
|
- {{ detailList.amendBy }}
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
|
- <div class="label">
|
|
|
- 上传时间
|
|
|
- </div>
|
|
|
- <div class="value">
|
|
|
- {{ detailList.amendTime }}
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="12" :sm="24" :lg="24" class="item">
|
|
|
- <div class="label">
|
|
|
- 补充说明
|
|
|
- </div>
|
|
|
- <div class="value">
|
|
|
- {{ detailList.amendRemark }}
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- </el-row>
|
|
|
- </div>
|
|
|
+ <div
|
|
|
+ v-if="
|
|
|
+ detailList.dataState == 'AMEND' || detailList.dataState == 'WAIT_REVIEW' || detailList.dataState == 'REVIEW'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <h3 class="gdzl">补充资料</h3>
|
|
|
+ <el-divider />
|
|
|
+ <div class="mymain-container">
|
|
|
+ <div class="table">
|
|
|
+ <el-table
|
|
|
+ v-loading="listLoading"
|
|
|
+ :data="amendData"
|
|
|
+ element-loading-text="Loading"
|
|
|
+ border
|
|
|
+ fit
|
|
|
+ highlight-current-row
|
|
|
+ stripe
|
|
|
+ >
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="资料描述"
|
|
|
+ prop="dataDescribe"
|
|
|
+ min-width="160"
|
|
|
+ show-overflow-tooltip
|
|
|
+ />
|
|
|
+ <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
|
|
|
+ <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-image
|
|
|
+ v-if="checkFileType(scope.row.fileUrl) == 'image'"
|
|
|
+ ref="img"
|
|
|
+ :src="imageURL + scope.row.fileUrl"
|
|
|
+ style="width: 120px; height: 120px"
|
|
|
+ fit="cover"
|
|
|
+ :preview-src-list="[imageURL + scope.row.fileUrl]"
|
|
|
+ />
|
|
|
+ <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png" />
|
|
|
+ <img
|
|
|
+ v-if="checkFileType(scope.row.fileUrl) == 'excel'"
|
|
|
+ class="file"
|
|
|
+ src="@/assets/common/excel.png"
|
|
|
+ />
|
|
|
+ <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png" />
|
|
|
+ <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png" />
|
|
|
+ <img
|
|
|
+ v-if="checkFileType(scope.row.fileUrl) == 'file'"
|
|
|
+ class="file aaa"
|
|
|
+ src="@/assets/common/zip.jpeg"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ '资料_' + scope.row.fileName }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="text" class="textColor" @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
|
|
|
+ >下载</el-button
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div v-if="(detailList.dataState == 'REVIEW' || detailList.dataState == 'AMEND') &&isCustomer">
|
|
|
- <h3 class="gdzl">复核</h3>
|
|
|
- <el-divider />
|
|
|
<div class="diy-table-1">
|
|
|
<el-row :gutter="0">
|
|
|
<el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
|
- <div class="label">
|
|
|
- 复核人
|
|
|
- </div>
|
|
|
+ <div class="label">上传人</div>
|
|
|
<div class="value">
|
|
|
- {{detailList.reviewBy}}
|
|
|
+ {{ detailList.amendBy }}
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
|
- <div class="label">
|
|
|
- 复核时间
|
|
|
- </div>
|
|
|
+ <div class="label">上传时间</div>
|
|
|
<div class="value">
|
|
|
- {{detailList.reviewTime}}
|
|
|
+ {{ detailList.amendTime }}
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :xs="12" :sm="24" :lg="24" class="item dateS">
|
|
|
- <div class="label">
|
|
|
- 复核说明
|
|
|
- </div>
|
|
|
+ <el-col :xs="12" :sm="24" :lg="24" class="item">
|
|
|
+ <div class="label">补充说明</div>
|
|
|
<div class="value">
|
|
|
-{{
|
|
|
- detailList.reviewRemark
|
|
|
-}} </div>
|
|
|
+ {{ detailList.amendRemark }}
|
|
|
+ </div>
|
|
|
</el-col>
|
|
|
-
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+ </div>
|
|
|
+ <div v-if="(detailList.dataState == 'REVIEW' || detailList.dataState == 'AMEND') && isCustomer">
|
|
|
+ <h3 class="gdzl">复核</h3>
|
|
|
+ <el-divider />
|
|
|
+ <div class="diy-table-1">
|
|
|
+ <el-row :gutter="0">
|
|
|
+ <el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
|
+ <div class="label">复核人</div>
|
|
|
+ <div class="value">
|
|
|
+ {{ detailList.reviewBy }}
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="12" :sm="12" :lg="12" class="item">
|
|
|
+ <div class="label">复核时间</div>
|
|
|
+ <div class="value">
|
|
|
+ {{ detailList.reviewTime }}
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="12" :sm="24" :lg="24" class="item dateS">
|
|
|
+ <div class="label">复核说明</div>
|
|
|
+ <div class="value">
|
|
|
+ {{ detailList.reviewRemark }}
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<br />
|
|
|
<!-- 按钮 -->
|
|
|
<!-- detailList.examineStatus != 'OK' || detailList.examineStatus != 'FAIL' -->
|
|
|
<div class="btn-group clearfix">
|
|
|
<div class="fl">
|
|
|
- <el-button v-if="detailList.examineStatus == 'WAIT'" type="primary" size="small"
|
|
|
- @click="adoptFn">审批通过</el-button>
|
|
|
- <el-button v-if="detailList.examineStatus == 'WAIT'" type="primary" size="small"
|
|
|
- @click="rejectFn">审批驳回</el-button>
|
|
|
+ <el-button v-if="detailList.examineStatus == 'WAIT'" type="primary" size="small" @click="adoptFn"
|
|
|
+ >审批通过</el-button
|
|
|
+ >
|
|
|
+ <el-button v-if="detailList.examineStatus == 'WAIT'" type="primary" size="small" @click="rejectFn"
|
|
|
+ >审批驳回</el-button
|
|
|
+ >
|
|
|
<el-button v-if="detailList.examineStatus == 'OK'" type="primary" size="small" @click="saveFn">保存</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -775,7 +905,7 @@ import { applyDeposit, computeDiff } from '@/api/engin_deposit.js'
|
|
|
|
|
|
import ret from 'bluebird/js/release/util'
|
|
|
export default {
|
|
|
- components: { imageUpload, },
|
|
|
+ components: { imageUpload },
|
|
|
props: {
|
|
|
detailId: {
|
|
|
type: String,
|
|
@@ -894,8 +1024,6 @@ export default {
|
|
|
type: 'warning'
|
|
|
})
|
|
|
.then(() => {
|
|
|
-
|
|
|
-
|
|
|
if (this.isCustomer) {
|
|
|
for (let i = 0; i < this.detailList.items.length; i++) {
|
|
|
this.detailList.items[i].contractAmount =
|
|
@@ -950,9 +1078,9 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
- .finally(res => { })
|
|
|
+ .finally(res => {})
|
|
|
})
|
|
|
- .catch(() => { })
|
|
|
+ .catch(() => {})
|
|
|
} else {
|
|
|
getDepositManageExamine(data)
|
|
|
.then(res => {
|
|
@@ -975,10 +1103,10 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
- .finally(res => { })
|
|
|
+ .finally(res => {})
|
|
|
}
|
|
|
})
|
|
|
- .catch(() => { })
|
|
|
+ .catch(() => {})
|
|
|
// if (!this.detailList.installDate) {
|
|
|
// this.$message.error("请选择安装时间");
|
|
|
// return;
|
|
@@ -1048,6 +1176,8 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.$successMsg('进入下一张待审批订单')
|
|
|
+ this.amendData = res.data.dataList.filter(k => k.dataPosition == 'AMEND')
|
|
|
+ this.original = res.data.dataList.filter(k => k.dataPosition != 'AMEND')
|
|
|
this.detailList = res.data
|
|
|
})
|
|
|
.catch(() => {
|
|
@@ -1056,9 +1186,9 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
- .finally(res => { })
|
|
|
+ .finally(res => {})
|
|
|
})
|
|
|
- .catch(() => { })
|
|
|
+ .catch(() => {})
|
|
|
} else {
|
|
|
getDepositManageExamine(data)
|
|
|
.then(res => {
|
|
@@ -1073,6 +1203,8 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
this.$successMsg('进入下一张待审批订单')
|
|
|
+ this.amendData = res.data.dataList.filter(k => k.dataPosition == 'AMEND')
|
|
|
+ this.original = res.data.dataList.filter(k => k.dataPosition != 'AMEND')
|
|
|
this.detailList = res.data
|
|
|
})
|
|
|
.catch(() => {
|
|
@@ -1081,10 +1213,10 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
- .finally(res => { })
|
|
|
+ .finally(res => {})
|
|
|
}
|
|
|
})
|
|
|
- .catch(() => { })
|
|
|
+ .catch(() => {})
|
|
|
|
|
|
// if (!this.detailList.installDate) {
|
|
|
// this.$message.error("请选择安装时间");
|