|
@@ -202,7 +202,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="已开金额" align="center" prop="planAmount">
|
|
|
<template slot-scope="{row}">
|
|
|
- <span>{{ row.planAmount }}</span>
|
|
|
+ <span>{{ row.realAmount }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="实际开票时间" align="center">
|
|
@@ -315,6 +315,11 @@
|
|
|
<span>{{ row.type }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="发票号" align="center">
|
|
|
+ <template slot-scope="{row}">
|
|
|
+ <span>{{ row.ticketNo }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="已开金额" align="center" prop="planAmount">
|
|
|
<template slot-scope="{row}">
|
|
|
<span>{{ row.planAmount }}</span>
|
|
@@ -475,7 +480,7 @@
|
|
|
<el-col :xs="24" :sm="12" :lg="12" :span="6">
|
|
|
<el-form-item label="实开金额(元):" prop="realAmount" label-width="140px" class="postInfo-container-item"
|
|
|
:rules="{ required: true, message: '实开金额不能为空', trigger: 'blur' }">
|
|
|
- <el-input-number :precision="2" :min="0" :value-on-clear="0" v-model.number="invoice.realAmount" style="width: 100%;" class="filter-item" />
|
|
|
+ <el-input-number :precision="2" :min="0" :value-on-clear="0" v-model.number="invoice.realAmount" style="width: 100%;" class="filter-item" readonly disabled />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
@@ -836,7 +841,9 @@ export default {
|
|
|
openMakeDialog(row){
|
|
|
this.newInvoiceDialog= true;
|
|
|
this.invoice = row;
|
|
|
- this.invoice.realAmount = row.planAmount;
|
|
|
+ if (!this.invoice.realAmount){
|
|
|
+ this.invoice.realAmount = row.planAmount;
|
|
|
+ }
|
|
|
},
|
|
|
makeInvoice(){
|
|
|
this.$refs.invoice.validate(valid=>{
|
|
@@ -866,7 +873,7 @@ export default {
|
|
|
duration: 2000
|
|
|
});
|
|
|
this.newInvoiceDialog= false;
|
|
|
- this.getList();
|
|
|
+ this.getList1();
|
|
|
}else {
|
|
|
this.$notify({
|
|
|
title: '失败',
|
|
@@ -897,7 +904,7 @@ export default {
|
|
|
duration: 2000
|
|
|
});
|
|
|
this.newInvoiceDialog= false;
|
|
|
- this.getList();
|
|
|
+ this.getList1();
|
|
|
}else {
|
|
|
this.$notify({
|
|
|
title: '失败',
|
|
@@ -925,7 +932,7 @@ export default {
|
|
|
duration: 2000
|
|
|
});
|
|
|
this.newInvoiceDialog= false;
|
|
|
- this.getList();
|
|
|
+ this.getList1();
|
|
|
}else {
|
|
|
this.$notify({
|
|
|
title: '失败',
|