소스 검색

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

1
mo 3 년 전
부모
커밋
ea27c2b419
2개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 0
      src/views/businessManager/orderManager/financeManager-taoqi.vue
  2. 5 1
      src/views/businessManager/orderManager/financeManager.vue

+ 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) {