|
@@ -382,10 +382,6 @@ export default {
|
|
|
transactionsNumber: '',
|
|
|
basis: '',
|
|
|
submissionDate: '',
|
|
|
- // delivery: false,
|
|
|
- // type: [],
|
|
|
- // resource: '',
|
|
|
- // desc: ''
|
|
|
},
|
|
|
formLabelWidth: '140px',
|
|
|
isShow: !this.autohide,
|
|
@@ -411,13 +407,6 @@ export default {
|
|
|
enter: {
|
|
|
closePositionList: [],
|
|
|
},
|
|
|
- // taskTypeList:[
|
|
|
- // {value:'待审核',type:1},
|
|
|
- // {value:'已完成',type:2},
|
|
|
- // {value:'已通过',type:3},
|
|
|
- // {value:'已成交',type:4},
|
|
|
- // ],
|
|
|
-
|
|
|
// 提交类型
|
|
|
submitType: true,
|
|
|
multipleSelection: [],
|
|
@@ -487,23 +476,13 @@ export default {
|
|
|
this.$message.warning(req.message)
|
|
|
})
|
|
|
} else {
|
|
|
- if (status) {
|
|
|
+ if (status==true) {
|
|
|
this.$message.success('通过成功')
|
|
|
this.getList()
|
|
|
- } else if (!status) {
|
|
|
- postsaleaudit({
|
|
|
- flag: 2,
|
|
|
- purchaseReceiptReportList: this.multipleSelection,
|
|
|
- })
|
|
|
- .toPromise()
|
|
|
- .then((response) => {
|
|
|
- this.$message.success('驳回成功')
|
|
|
- this.getList()
|
|
|
- })
|
|
|
- .catch((req) => {
|
|
|
- this.$message.success('驳回失败')
|
|
|
- })
|
|
|
- }
|
|
|
+ } else if (status==false) {
|
|
|
+ this.$message.success('驳回成功')
|
|
|
+ this.getList()
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
dataFilter(val) {
|
|
@@ -679,13 +658,6 @@ export default {
|
|
|
confirmButtonText: '确定',
|
|
|
type: 'warning',
|
|
|
}).then(() => {
|
|
|
- // postsaleaudit({salesClosingReportList:this.multipleSelection,roleFlag:1,flag:1}).toPromise()
|
|
|
- // .then(response => {
|
|
|
- // this.$message.success('通过成功')
|
|
|
- // this.getList()
|
|
|
- // }) .catch(() => {
|
|
|
- // this.$message.warning('通过失败')
|
|
|
- // })
|
|
|
that.audit(this.multipleSelection[0], 0, true)
|
|
|
})
|
|
|
} else {
|