|
|
@ -7,7 +7,6 @@ |
|
|
|
<div> |
|
|
|
<el-button type="primary" size="small" :disabled="createBtn" @click="handleCreate()">保存</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="disabled" @click="handleSubmit()">提交</el-button> |
|
|
|
<el-button size="small" type="danger" :disabled="!revokeBtn" @click="handleRevoke()">撤回</el-button> |
|
|
|
<el-button type="primary" size="small">打印</el-button> |
|
|
|
<el-button type="info" size="small" @click="handleReturn()">返回</el-button> |
|
|
|
</div> |
|
|
@ -116,7 +115,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import {mapGetters} from 'vuex' |
|
|
|
import {fetchDetailsBySid, revokeBySid, save, submitInfo} from '@/api/chukuguanli/chukubanli' |
|
|
|
import {fetchDetailsBySid, save, submitInfo} from '@/api/chukuguanli/chukubanli' |
|
|
|
import userInfoAdd from "./relation/userInfoAdd"; |
|
|
|
import userInfoLook from "./relation/userInfoLook"; |
|
|
|
|
|
|
@ -132,7 +131,6 @@ |
|
|
|
index: 0, |
|
|
|
disabled: false, // 保存、提交按钮状态 |
|
|
|
createBtn: false, |
|
|
|
revokeBtn:true, |
|
|
|
dialogStatus: 'add', // 提交状态 |
|
|
|
// --按钮菜单------- |
|
|
|
isShow: true, |
|
|
@ -375,7 +373,6 @@ |
|
|
|
this.temp = response.data |
|
|
|
this.temp.sid = sid |
|
|
|
this.detailsList = response.data.listVo |
|
|
|
this.revokeBtn = response.data.revokeState |
|
|
|
for (var i = 0; i < this.detailsList.length; i++) { |
|
|
|
//JSON.stringify() |
|
|
|
if (this.detailsList[i].useMessage.vinNo !== '') { |
|
|
@ -387,19 +384,7 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleRevoke(){ |
|
|
|
this.$confirm('是否确定提交该业务', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
revokeBySid(this.temp.sid).then((response) => { |
|
|
|
if (response.code === '200') { |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleSelectionChange(row) { |
|
|
|
console.log('开票', row) |
|
|
|
const aa = [] |
|
|
|