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