This commit is contained in:
chenjianan
2019-03-06 11:31:43 +08:00
parent 49ae434744
commit a8e98b9b66
2 changed files with 8 additions and 8 deletions

View File

@@ -138,7 +138,7 @@
</el-table-column> </el-table-column>
<el-table-column label="入库日期" align="center" min-width="100"> <el-table-column label="入库日期" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.入库日期 }} {{ scope.row.入库日期 ? scope.row.入库日期.split(' ')[0] : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="仓库" align="center" min-width="100"> <el-table-column label="仓库" align="center" min-width="100">
@@ -158,7 +158,7 @@
</el-table-column> </el-table-column>
<el-table-column label="到货日期" align="center" min-width="100"> <el-table-column label="到货日期" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.到货日期 }} {{ scope.row.到货日期 ? scope.row.到货日期.split(' ')[0] : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="业务号" align="center" min-width="100"> <el-table-column label="业务号" align="center" min-width="100">
@@ -316,7 +316,7 @@
</el-table-column> </el-table-column>
<el-table-column label="入库日期" align="center" min-width="100" > <el-table-column label="入库日期" align="center" min-width="100" >
<template slot-scope="scope" value-format="yyyy-MM-dd"> <template slot-scope="scope" value-format="yyyy-MM-dd">
{{ scope.row.入库日期 }} {{ scope.row.入库日期 ? scope.row.入库日期.split(' ')[0] : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="仓库" align="center" min-width="100"> <el-table-column label="仓库" align="center" min-width="100">
@@ -336,7 +336,7 @@
</el-table-column> </el-table-column>
<el-table-column label="到货日期" align="center" min-width="100"> <el-table-column label="到货日期" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.到货日期 }} {{ scope.row.到货日期 ? scope.row.到货日期.split(' ')[0] : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="业务号" align="center" min-width="60"> <el-table-column label="业务号" align="center" min-width="60">
@@ -414,7 +414,7 @@
</el-table> </el-table>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button size="small" @click="dialogVisible2 = false">取消</el-button> <el-button size="small" @click="dialogVisible2 = false">取消</el-button>
<el-button :disabled="group1.length===0" size="small" type="primary" @click="submitEdit()">确定</el-button> <el-button :disabled="group1.length===0" size="small" type="primary" @click="submitAdd2()">确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
@@ -712,7 +712,7 @@ export default {
}).then(() => { }).then(() => {
const group = [] const group = []
for (let i = 0; i < this.group2.length; i++) { for (let i = 0; i < this.group2.length; i++) {
group.push(this.group2[i].发票结算申请单明细流水号) group.push(this.group2[i].发票结算申请单明细流水号)
} }
deleteTable2(group).then(response => { deleteTable2(group).then(response => {
if (response.data[0].result === '1') { if (response.data[0].result === '1') {

View File

@@ -133,7 +133,7 @@
</el-table-column> </el-table-column>
<el-table-column label="入库日期" align="center" min-width="100"> <el-table-column label="入库日期" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.入库日期 }} {{ scope.row.入库日期 ? scope.row.入库日期.split(' ')[0] : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="仓库" align="center" min-width="100"> <el-table-column label="仓库" align="center" min-width="100">
@@ -153,7 +153,7 @@
</el-table-column> </el-table-column>
<el-table-column label="到货日期" align="center" min-width="100"> <el-table-column label="到货日期" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.到货日期 }} {{ scope.row.到货日期 ? scope.row.到货日期.split(' ')[0] : '—' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="业务号" align="center" min-width="100"> <el-table-column label="业务号" align="center" min-width="100">