给单据的新增和编辑界面增加审核按钮
This commit is contained in:
@@ -8,10 +8,14 @@
|
||||
:keyboard="false"
|
||||
:forceRender="true"
|
||||
switchFullscreen
|
||||
@ok="handleOk"
|
||||
@cancel="handleCancel"
|
||||
wrapClassName="ant-modal-cust-warp"
|
||||
style="top:5%;height: 100%;overflow-y: hidden">
|
||||
<template slot="footer">
|
||||
<a-button @click="handleCancel">取消</a-button>
|
||||
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
||||
</template>
|
||||
<a-spin :spinning="confirmLoading">
|
||||
<a-form :form="form">
|
||||
<a-row class="form-row" :gutter="24">
|
||||
@@ -191,6 +195,7 @@
|
||||
methods: {
|
||||
//调用完edit()方法之后会自动调用此方法
|
||||
editAfter() {
|
||||
this.billStatus = '0'
|
||||
if (this.action === 'add') {
|
||||
this.addInit("ZZ")
|
||||
this.fileList = []
|
||||
@@ -229,6 +234,7 @@
|
||||
if(this.model.id){
|
||||
billMain.id = this.model.id
|
||||
}
|
||||
billMain.status = this.billStatus
|
||||
return {
|
||||
info: JSON.stringify(billMain),
|
||||
rows: JSON.stringify(detailArr),
|
||||
|
||||
Reference in New Issue
Block a user