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