Browse Source

出库申请

master
Zhao Qiqi 3 years ago
parent
commit
cc394f9be6
  1. 15
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue
  2. 17
      anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqingAdd.vue

15
anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqing.vue

@ -62,9 +62,10 @@
<el-table :key="tableKey" v-loading="listLoading" :data="list" :border="true" fit highlight-current-row style="width: 100%;" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center" width="50"/>
<el-table-column label="序号" type="index" width="80" :index="indexMethod" align="center"/>
<el-table-column width="150px" label="操作" align="center">
<el-table-column width="220px" label="操作" align="center">
<template slot-scope="scope">
<div class="searchbtns"> <!--:disabled="scope.row.nodeState == ''?false:true"-->
<el-button size="small" type="danger" :disabled="!scope.row.revokeState" @click="handleRevoke()">撤回</el-button>
<el-button size="small" type="primary" :disabled="scope.row.state !== '待提交'"
@click="changeNodeState(scope.row)">办理
</el-button>
@ -233,7 +234,19 @@ export default {
this.searchxianshitit = '显示查询条件'
}
},
handleRevoke(row){
this.$confirm('是否确定提交该业务', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
revokeBySid(row.sid).then((response) => {
if (response.code === '200') {
}
})
})
},
// sid
handleSelectionChange(row) {
console.log('开票', row)

17
anrui-buscenter/anrui-buscenter-ui/src/views/chukuguanli/chukubanli/chukushenqingAdd.vue

@ -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 = []

Loading…
Cancel
Save