zs 1 년 전
부모
커밋
a6189b88ee
2개의 변경된 파일2276개의 추가작업 그리고 2275개의 파일을 삭제
  1. 2273 2274
      config.js
  2. 3 1
      pagesMy/statistics/index.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2273 - 2274
config.js


+ 3 - 1
pagesMy/statistics/index.vue

@@ -72,8 +72,10 @@
 				let user = that.user;
 				let info = {
 					time: that.years[that.yearsIndex],
-					supplier: user._id,
 				};
+				if (user.role == 'cs') info.supplier = user._id;
+				else if (user.role == 'ld') info.c_leader = user._id;
+				else info.c_accounting = user._id;
 				let res;
 				res = await that.$api(`/Statistics/orderDetail`, 'GET', {
 					...info