|
@@ -82,12 +82,12 @@
|
|
|
detailList.examineStatus == 'SAVE'
|
|
|
? '保存'
|
|
|
: detailList.examineStatus == 'WAIT'
|
|
|
- ? '待审核'
|
|
|
- : detailList.examineStatus == 'OK'
|
|
|
- ? '通过'
|
|
|
- : detailList.examineStatus == 'FAIL'
|
|
|
- ? '不通过'
|
|
|
- : '关闭'
|
|
|
+ ? '待审核'
|
|
|
+ : detailList.examineStatus == 'OK'
|
|
|
+ ? '通过'
|
|
|
+ : detailList.examineStatus == 'FAIL'
|
|
|
+ ? '不通过'
|
|
|
+ : '关闭'
|
|
|
}}
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -135,35 +135,43 @@
|
|
|
<div class="value">{{ detailList.refInstallAddress }}</div>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
- <div class="label">登录有效期</div>
|
|
|
- <div class="value">
|
|
|
- {{ detailList.refBillsExpireDate }}
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
- <div class="label">实际使用单位</div>
|
|
|
- <div class="value">
|
|
|
- {{ detailList.realUseUnit }}
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
- <div class="label">实际安装地址</div>
|
|
|
- <div class="value">
|
|
|
- {{ detailList.realInstallAddress }}
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
- <div class="label">项目编号</div>
|
|
|
- <div class="value">
|
|
|
- {{ detailList.refProjectNo }}
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
- <div class="label">购买单位</div>
|
|
|
- <div class="value">
|
|
|
- {{ detailList.refBuyUnitName }}
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
+ <div class="label">登录有效期</div>
|
|
|
+ <div class="value">
|
|
|
+ {{ detailList.refBillsExpireDate }}
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
+ <div class="label">实际使用单位</div>
|
|
|
+ <div class="value">
|
|
|
+ <el-input
|
|
|
+ v-model="detailList.realUseUnit"
|
|
|
+ :readonly="detailList.examineStatus !== 'WAIT'"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
+ <div class="label">实际安装地址</div>
|
|
|
+ <div class="value">
|
|
|
+ <el-input
|
|
|
+ v-model="detailList.realInstallAddress"
|
|
|
+ :readonly="detailList.examineStatus !== 'WAIT'"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
+ <div class="label">项目编号</div>
|
|
|
+ <div class="value">
|
|
|
+ {{ detailList.refProjectNo }}
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
+ <div class="label">购买单位</div>
|
|
|
+ <div class="value">
|
|
|
+ {{ detailList.refBuyUnitName }}
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
<div class="label">工程订单号</div>
|
|
|
<div class="value">{{ detailList.customerName }}</div>
|
|
@@ -177,19 +185,6 @@
|
|
|
<div class="label">项目说明</div>
|
|
|
<div class="value">{{ detailList.refProjectNote }}</div>
|
|
|
</el-col>
|
|
|
- <!-- <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
- <div class="label">订单日期</div>
|
|
|
- <div class="value">{{ detailList.customerName }}</div>
|
|
|
- </el-col> -->
|
|
|
-
|
|
|
- <!-- <el-col :xs="24" :sm="24" :lg="24" class="item">
|
|
|
- <div class="label">格力内部备注</div>
|
|
|
- <div class="value">{{ detailList.customerName }}</div>
|
|
|
- </el-col> -->
|
|
|
- <!-- <el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
- <div class="label">文件编码</div>
|
|
|
- <div class="value">{{ detailList.customerName }}</div>
|
|
|
- </el-col> -->
|
|
|
<el-col :xs="24" :sm="24" :lg="24" class="item">
|
|
|
<div class="label">备注</div>
|
|
|
<!-- <div class="value">{{ detailList.remark }}</div> -->
|
|
@@ -207,19 +202,24 @@
|
|
|
<div class="value">
|
|
|
<el-input
|
|
|
v-model="detailList.geLiInerNote"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ <el-col v-if="!isCustomer" :xs="24" :sm="24" :lg="24" class="item">
|
|
|
+ <div class="label">格力内部资料备注</div>
|
|
|
+ <div class="value">
|
|
|
+ <el-input
|
|
|
+ v-model="detailList.geLiInnerDataNote"
|
|
|
:readonly="detailList.examineStatus !== 'WAIT'"
|
|
|
placeholder="请输入内容"
|
|
|
/>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col v-if="!isCustomer" :xs="24" :sm="24" :lg="24" class="item">
|
|
|
- <div class="label">格力内部资料备注</div>
|
|
|
- <div class="value">{{ detailList.geLiInnerDataNote }}</div>
|
|
|
- </el-col>
|
|
|
- <el-col v-if="!isCustomer" :xs="24" :sm="24" :lg="24" class="item">
|
|
|
- <div class="label">订单格力内部备注</div>
|
|
|
- <div class="value">{{ detailList. orderGeLiInnerNote }}</div>
|
|
|
- </el-col>
|
|
|
+ <div class="label">订单格力内部备注</div>
|
|
|
+ <div class="value">{{ detailList.orderGeLiInnerNote }}</div>
|
|
|
+ </el-col>
|
|
|
<el-col :xs="24" :sm="24" :lg="8" class="item">
|
|
|
<div class="label">提交保证函</div>
|
|
|
<!-- <div class="value">{{ detailList.remark }}</div> -->
|
|
@@ -597,101 +597,149 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<h3>押金货品信息</h3>
|
|
|
- <el-divider />
|
|
|
- <!-- 列表 -->
|
|
|
- <div class="mymain-container">
|
|
|
- <div class="table">
|
|
|
- <el-table
|
|
|
- v-loading="listLoading"
|
|
|
- :data="detailList.collectList"
|
|
|
- element-loading-text="Loading"
|
|
|
- border
|
|
|
- fit
|
|
|
- highlight-current-row
|
|
|
- stripe
|
|
|
- show-summary
|
|
|
- :summary-method="$getSummaries"
|
|
|
+ <el-divider />
|
|
|
+ <!-- 列表 -->
|
|
|
+ <div class="mymain-container">
|
|
|
+ <div class="table">
|
|
|
+ <el-table
|
|
|
+ v-loading="listLoading"
|
|
|
+ :data="detailList.collectList"
|
|
|
+ element-loading-text="Loading"
|
|
|
+ border
|
|
|
+ fit
|
|
|
+ highlight-current-row
|
|
|
+ stripe
|
|
|
+ show-summary
|
|
|
+ :summary-method="$getSummaries"
|
|
|
+ >
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="工程登录单号"
|
|
|
+ prop="refEnginRecordNo"
|
|
|
+ min-width="130"
|
|
|
+ show-overflow-tooltip
|
|
|
>
|
|
|
- <el-table-column align="left" label="工程登录单号" prop="refEnginRecordNo" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.refEnginRecordNo" />
|
|
|
- <span>{{ scope.row.refEnginRecordNo }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="规格型号" prop="specification" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.specification" />
|
|
|
- <span>{{ scope.row.specification }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="基本单位编码" prop="unit" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.unit" />
|
|
|
- <span>{{ scope.row.unit }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="现金钱包" prop="customerWalletName" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.customerWalletName" />
|
|
|
- <span>{{ scope.row.customerWalletName }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="现金钱包编码" prop="customerWalletNumber" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.customerWalletNumber" />
|
|
|
- <span>{{ scope.row.customerWalletNumber }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="金蝶物料类型名称" prop="k3CategoryName" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.k3CategoryName" />
|
|
|
- <span>{{ scope.row.k3CategoryName }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="金蝶物料类型编码" prop="k3CategoryNumber" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.k3CategoryNumber" />
|
|
|
- <span>{{ scope.row.k3CategoryNumber }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="金蝶物料名称" prop="materialName" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.materialName" />
|
|
|
- <span>{{ scope.row.materialName }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <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>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <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>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copy-text="scope.row.refEnginRecordNo" />
|
|
|
+ <span>{{ scope.row.refEnginRecordNo }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="left" label="规格型号" prop="specification" min-width="130" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copy-text="scope.row.specification" />
|
|
|
+ <span>{{ scope.row.specification }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="left" label="基本单位编码" prop="unit" min-width="130" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copy-text="scope.row.unit" />
|
|
|
+ <span>{{ scope.row.unit }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="现金钱包"
|
|
|
+ prop="customerWalletName"
|
|
|
+ min-width="130"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copy-text="scope.row.customerWalletName" />
|
|
|
+ <span>{{ scope.row.customerWalletName }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="现金钱包编码"
|
|
|
+ prop="customerWalletNumber"
|
|
|
+ min-width="130"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copy-text="scope.row.customerWalletNumber" />
|
|
|
+ <span>{{ scope.row.customerWalletNumber }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="金蝶物料类型名称"
|
|
|
+ prop="k3CategoryName"
|
|
|
+ min-width="130"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copy-text="scope.row.k3CategoryName" />
|
|
|
+ <span>{{ scope.row.k3CategoryName }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="金蝶物料类型编码"
|
|
|
+ prop="k3CategoryNumber"
|
|
|
+ min-width="130"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copy-text="scope.row.k3CategoryNumber" />
|
|
|
+ <span>{{ scope.row.k3CategoryNumber }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="left" label="金蝶物料名称" prop="materialName" min-width="130" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <CopyButton :copy-text="scope.row.materialName" />
|
|
|
+ <span>{{ scope.row.materialName }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <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>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <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>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
|
|
|
- <el-table-column align="left" label="已发押金数量" prop="hasSendQty" min-width="130" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="单价" prop="price" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.price | numToFixed }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="已退押金金额" prop="refundDepositAmount" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.refundDepositAmount | numToFixed }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="left" label="押金金额" prop="depositAmount" min-width="130" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.depositAmount | numToFixed }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
+ <el-table-column align="left" label="已发押金数量" prop="hasSendQty" min-width="130" show-overflow-tooltip />
|
|
|
+ <el-table-column align="left" label="单价" prop="price" min-width="130" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.price | numToFixed }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="已退押金金额"
|
|
|
+ prop="refundDepositAmount"
|
|
|
+ min-width="130"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.refundDepositAmount | numToFixed }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="left" label="押金金额" prop="depositAmount" min-width="130" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.depositAmount | numToFixed }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
<h3 class="gdzl">工程资料</h3>
|
|
|
<!-- <el-button :readonly="isDis" class="batchDownload" type="primary" size="small" @click="batchDownloadFn"-->
|
|
|
<!-- >批量下载</el-button-->
|
|
@@ -723,11 +771,11 @@
|
|
|
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" />
|
|
|
+ <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>
|
|
@@ -737,9 +785,11 @@
|
|
|
</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>
|
|
@@ -930,19 +980,19 @@
|
|
|
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) == '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) == '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>
|
|
@@ -952,9 +1002,11 @@
|
|
|
</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>
|
|
@@ -1010,17 +1062,23 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <br />
|
|
|
+ <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>
|
|
@@ -1029,19 +1087,14 @@
|
|
|
|
|
|
<script>
|
|
|
import imageUpload from '@/components/Common/image-upload.vue'
|
|
|
-import { downloadFiles, downloadPdf } from '@/utils/util'
|
|
|
-import { getFileUrl } from '@/api/common'
|
|
|
+import { downloadFiles } from '@/utils/util'
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import {
|
|
|
getDepositManageDetail,
|
|
|
getDepositManageExamine,
|
|
|
- getDepositManageDownZip,
|
|
|
- getDepositManageEdit,
|
|
|
- getCommonFileGetStream
|
|
|
-} from '@/api/engin_deposit/refund_list'
|
|
|
-import { applyDeposit, computeDiff } from '@/api/engin_deposit.js'
|
|
|
+ getDepositManageEdit } from '@/api/engin_deposit/refund_list'
|
|
|
+import { computeDiff } from '@/api/engin_deposit.js'
|
|
|
|
|
|
-import ret from 'bluebird/js/release/util'
|
|
|
export default {
|
|
|
components: { imageUpload },
|
|
|
props: {
|
|
@@ -1065,7 +1118,6 @@ export default {
|
|
|
isDis: true,
|
|
|
imageURL: this.$imageUrl,
|
|
|
title: '审批',
|
|
|
- imageURL: this.$imageUrl,
|
|
|
listLoading: false, // 列表加载loading
|
|
|
dataList: [], // 列表数据
|
|
|
detailList: {},
|
|
@@ -1399,16 +1451,15 @@ export default {
|
|
|
]
|
|
|
})
|
|
|
res.data.collectList.forEach(item => {
|
|
|
-
|
|
|
-// item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
|
|
|
-item.sums1 = ['orderHasSendQty', 'dataQty', 'hasSendQty']
|
|
|
-item.sums2 = [ 'price', 'refundDepositAmount', 'depositAmount']
|
|
|
-})
|
|
|
+ // item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
|
|
|
+ item.sums1 = ['orderHasSendQty', 'dataQty', 'hasSendQty']
|
|
|
+ item.sums2 = ['price', 'refundDepositAmount', 'depositAmount']
|
|
|
+ })
|
|
|
res.data.items = arr
|
|
|
this.amendData = res.data.dataList.filter(k => k.dataPosition == 'AMEND')
|
|
|
this.original = res.data.dataList.filter(k => k.dataPosition != 'AMEND')
|
|
|
- res.data.realUseUnit =res.data.realUseUnit || res.data.refUseUnit
|
|
|
- res.data.realInstallAddress = res.data.realInstallAddress ||res.data.refInstallAddress
|
|
|
+ res.data.realUseUnit = res.data.realUseUnit || res.data.refUseUnit
|
|
|
+ res.data.realInstallAddress = res.data.realInstallAddress || res.data.refInstallAddress
|
|
|
this.detailList = res.data
|
|
|
if (res.data.examineStatus == 'SAVE' || res.data.examineStatus == 'OK' || res.data.examineStatus == 'FAIL') {
|
|
|
this.title = '详情'
|