Parcourir la source

财务 财务含淘气 添加订单加类型

1
mo il y a 3 ans
Parent
commit
ea27c2b419

+ 4 - 0
src/views/businessManager/orderManager/financeManager-taoqi.vue

@@ -912,8 +912,12 @@ export default {
             form.applyType == "SERVICE" ? null : JSON.stringify(goodsJson);
           if (this.insertOrderType == 1) {
             form.calenderId = null;
+            form.type='PERSONAL'
           } else if (this.insertOrderType == 2) {
             form.userId = null;
+                form.type='SCHOOL'
+          }else{
+                form.type='OTHER'
           }
           routeOrderAdd(form).then((res) => {
             if (res.code == 200) {

+ 5 - 1
src/views/businessManager/orderManager/financeManager.vue

@@ -911,10 +911,14 @@ export default {
           }
           form.goodsJson =
             form.applyType == "SERVICE" ? null : JSON.stringify(goodsJson);
-          if (this.insertOrderType == 1) {
+                 if (this.insertOrderType == 1) {
             form.calenderId = null;
+            form.type='PERSONAL'
           } else if (this.insertOrderType == 2) {
             form.userId = null;
+                form.type='SCHOOL'
+          }else{
+                form.type='OTHER'
           }
           routeOrderAdd(form).then((res) => {
             if (res.code == 200) {