|
@@ -71,9 +71,36 @@
|
|
<el-table-column prop="businessType" label="类型" width="150"></el-table-column>
|
|
<el-table-column prop="businessType" label="类型" width="150"></el-table-column>
|
|
<el-table-column prop="leadingCadre" label="负责人"></el-table-column>
|
|
<el-table-column prop="leadingCadre" label="负责人"></el-table-column>
|
|
<el-table-column prop="purchaseQuantity" label="数量"></el-table-column>
|
|
<el-table-column prop="purchaseQuantity" label="数量"></el-table-column>
|
|
- <el-table-column prop="purchasePrice" width="120" label="采购单价(元)"></el-table-column>
|
|
|
|
- <el-table-column prop="currentPrice" width="120" label="当前单价(元)"></el-table-column>
|
|
|
|
- <el-table-column prop="totalPrice" width="120" label="总价(元)"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="purchasePrice" width="120" label="采购单价(元)">
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div v-if="!scope.row.purchasePrice">
|
|
|
|
+ <span>暂无</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ {{scope.row.purchasePrice}}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="currentPrice" width="120" label="当前单价(元)">
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div v-if="!scope.row.currentPrice">
|
|
|
|
+ <span>暂无</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ {{scope.row.currentPrice}}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column prop="totalPrice" width="120" label="总价(元)">
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div v-if="!scope.row.totalPrice">
|
|
|
|
+ <span>暂无</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ {{scope.row.totalPrice}}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<!-- <el-table-column prop="expenseRemarks" label="附件">
|
|
<!-- <el-table-column prop="expenseRemarks" label="附件">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
<img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
@@ -98,7 +125,16 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column prop="purchaseDate" label="采购日期" width="150"></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop="purchaseDate" label="采购日期" width="150">
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div v-if="scope.row.purchaseDate == '1991-12-01'">
|
|
|
|
+ <span>暂无</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else>
|
|
|
|
+ {{scope.row.purchaseDate}}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column prop="remark" width="120" label="备注">
|
|
<el-table-column prop="remark" width="120" label="备注">
|
|
<template scope="scope">
|
|
<template scope="scope">
|
|
<div v-if="!scope.row.select" @click.stop="lookRemark(scope.row)">
|
|
<div v-if="!scope.row.select" @click.stop="lookRemark(scope.row)">
|
|
@@ -425,7 +461,9 @@ export default {
|
|
obj.status = v.状态
|
|
obj.status = v.状态
|
|
obj.businessType = v.经营方式
|
|
obj.businessType = v.经营方式
|
|
obj.remark = v.备注
|
|
obj.remark = v.备注
|
|
- obj.purchaseDate = _this.formatDate(v.采购日期, '-')
|
|
|
|
|
|
+ if(obj.purchaseDate){
|
|
|
|
+ obj.purchaseDate = _this.formatDate(v.采购日期, '-')
|
|
|
|
+ }
|
|
_this.excelFreightspace.push(obj)
|
|
_this.excelFreightspace.push(obj)
|
|
})
|
|
})
|
|
if (_this.excelFreightspace) {
|
|
if (_this.excelFreightspace) {
|