This commit is contained in:
liulujia
2020-04-29 08:55:46 +08:00
22 changed files with 136 additions and 74 deletions

View File

@@ -38,7 +38,7 @@
<!-- </el-card>-->
<el-card>
<el-table v-loading="loading1" :data="tableData1" size="mini" border stripe style="width: 60%;" height="210px" highlight-current-row @row-click="searchTable2">
<el-table v-loading="loading1" :data="tableData1" size="mini" border stripe style="width: 70%;" height="210px" highlight-current-row @row-click="searchTable2">
<!-- <el-table-column type="expand" label="详情">-->
<!-- <template slot-scope="scope">-->
<!-- <el-form id="table" label-position="left" inline class="demo-table-expand">-->
@@ -100,7 +100,7 @@
{{ scope.row.操作时间 ? scope.row.操作时间.split(' ')[0] : '-' }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" min-width="100" fixed="right">
<el-table-column label="操作" align="center" min-width="80" fixed="right">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-check" @click="yesApproval(scope.row)">通过</el-button>
<el-button type="text" size="mini" icon="el-icon-close" @click="noApproval(scope.row)">不通过</el-button>

View File

@@ -98,7 +98,7 @@
</el-table-column>
<el-table-column align="center" label="利用库存数" width="100px">
<template slot-scope="scope">
{{ scope.row.使用库存数 || '—' }}
{{ scope.row.使用库存数 ? scope.row.使用库存数 : '—' }}
</template>
</el-table-column>
<el-table-column align="center" label="采购数量" width="100px">
@@ -695,6 +695,7 @@ export default {
零件数量: response.data.result[i].零件数量,
数量: response.data.result[i].数量,
离线采购数量: response.data.result[i].离线采购数量,
使用库存数: response.data.result[i].使用库存数,
已到货数量: response.data.result[i].已到货数量,
离线到货数量: response.data.result[i].离线到货数量,
供应商名称: response.data.result[i].供应商名称,