@@ -479,6 +479,14 @@ export default {
this.newTime = new Date().valueOf();
},
async handlePurchaseConfirm(data) {
+ // 是否为库存品
+ const isStock = this.sitem.order_type === "1";
+
+ //不是库存品 & 审核通过 = 待客户退货
+ if(data.status === "11" && !isStock){
+ data.status = "4"
+ }
const model = {
returnCode: this.code,
...data,