md
This commit is contained in:
parent
f20829b95d
commit
14b072b6d2
@ -313,17 +313,6 @@
|
||||
|
||||
<div slot="toolbar">
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<!-- <el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
icon="el-icon-plus"
|
||||
size="mini"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['emis:emisSettleSubBill:add']"
|
||||
>新增</el-button>
|
||||
</el-col> -->
|
||||
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
@ -331,19 +320,29 @@
|
||||
size="mini"
|
||||
:disabled="multiple"
|
||||
@click="handleConfirmByCenter"
|
||||
v-hasPermi="['emis:emisSettleSubBill:edit']"
|
||||
v-hasPermi="['emis:emisSettleSubBill:confirmBillByCenter']"
|
||||
>批量确认</el-button>
|
||||
</el-col>
|
||||
<!-- <el-col :span="1.5">
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
size="mini"
|
||||
:disabled="single"
|
||||
@click="handleConfirmNoBill"
|
||||
v-hasPermi="['emis:emisSettleSubBill:edit']"
|
||||
@click="handleConfirmNoBillByCenter"
|
||||
v-hasPermi="['emis:emisSettleSubBill:confirmNoBillByCenter']"
|
||||
>确认不出账</el-button>
|
||||
</el-col> -->
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
size="mini"
|
||||
:disabled="single"
|
||||
@click="handleSetBillErrorByCenter"
|
||||
v-hasPermi="['emis:emisSettleSubBill:setBillErrorByCenter']"
|
||||
>置账单异常</el-button>
|
||||
</el-col>
|
||||
<el-col :span="1.5">
|
||||
<el-button
|
||||
type="danger"
|
||||
@ -351,7 +350,7 @@
|
||||
size="mini"
|
||||
:disabled="multiple"
|
||||
@click="handleCancelConfirmByCenter"
|
||||
v-hasPermi="['emis:emisSettleSubBill:edit']"
|
||||
v-hasPermi="['emis:emisSettleSubBill:cancelConfirmBillByCente']"
|
||||
>取消确认</el-button>
|
||||
</el-col>
|
||||
|
||||
@ -362,7 +361,7 @@
|
||||
size="mini"
|
||||
:disabled="single"
|
||||
@click="handleSplit"
|
||||
v-hasPermi="['emis:emisSettleSubBill:edit']"
|
||||
v-hasPermi="['emis:emisSettleSubBill:splitSubBill']"
|
||||
>拆分子账单</el-button>
|
||||
</el-col>
|
||||
|
||||
@ -663,7 +662,24 @@ export default {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
}).catch(() => {});
|
||||
},
|
||||
|
||||
handleConfirmNoBillByCenter(row) {
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal.confirm('是否确认不出账').then(function() {
|
||||
return confirmNoBillByCenter(ids);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
}).catch(() => {});
|
||||
},
|
||||
handleSetBillErrorByCenter(row) {
|
||||
const ids = row.id || this.ids;
|
||||
this.$modal.confirm('是否设置账单异常').then(function() {
|
||||
return setBillErrorByCenter(ids);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
}).catch(() => {});
|
||||
},
|
||||
handleView(row) {
|
||||
this.id=row.id;
|
||||
this.titleView="查看";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user