|
@@ -865,7 +865,13 @@ export default {
|
|
|
if (valid) {
|
|
|
let payload = {
|
|
|
idList: this.ids,
|
|
|
- status: this.approveForm.orderType == "1" ? "5" : "3",
|
|
|
+ // status: this.approveForm.orderType == "1" ? "5" : "3",
|
|
|
+ status:
|
|
|
+ this.approveForm.status == "7"
|
|
|
+ ? "7"
|
|
|
+ : this.approveForm.orderType == "1"
|
|
|
+ ? "5"
|
|
|
+ : "3",
|
|
|
finance: this.nickName,
|
|
|
};
|
|
|
let res = await batchApproval(payload);
|