完善销售订单
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
<el-table-column label="序号" type="index" width="80" :index="indexMethod" align="center"/>
|
||||
<el-table-column label="操作" width="180" align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-button type="primary" :disabled="scope.row.data == '已审核' || scope.row.state == '审核中'" size="small" @click="toEdit(scope.row)">办理</el-button>
|
||||
<el-button type="primary" :disabled="scope.row.state == '已审核' || scope.row.state == '审核中'" size="small" @click="toEdit(scope.row)">办理</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="billNo" label="单据编号" align="center" width="190" />
|
||||
|
||||
@@ -937,6 +937,7 @@ export default {
|
||||
req.saveOrUpdate(this.formobj).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message({ showClose: true, type: 'success', message: '保存成功' })
|
||||
this.handlePartReset()
|
||||
this.handleReturn('true')
|
||||
} else {
|
||||
this.submitdisabled = false
|
||||
@@ -962,6 +963,7 @@ export default {
|
||||
req.submit(this.formobj).then((res) => {
|
||||
if (res.success) {
|
||||
this.$message({ showClose: true, type: 'success', message: '保存成功' })
|
||||
this.handlePartReset()
|
||||
this.handleReturn('true')
|
||||
} else {
|
||||
this.submitdisabled = false
|
||||
@@ -1083,8 +1085,7 @@ export default {
|
||||
this.submitdisabled = false
|
||||
},
|
||||
handleReturn() {
|
||||
this.$store.dispatch('tagsView/delView', this.$route)
|
||||
this.$router.go(-1)
|
||||
this.$emit('doback')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user