Browse Source

学院缴费 总现价 总原价

11
mo 4 years ago
parent
commit
7db063b774

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


+ 0 - 0
dist/static/css/chunk-7258b628.3980305c.css → dist/static/css/chunk-7e01a830.3980305c.css


+ 0 - 1
dist/static/css/chunk-afd7c80e.b0b7f24f.css

@@ -1 +0,0 @@
-.studenTable[data-v-0e2e161a]{height:300px;overflow:auto}.infoMsg[data-v-0e2e161a]{margin:30px 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:center}.infoMsg .title[data-v-0e2e161a]{color:#999;font-size:14px;line-height:30px;min-width:100px}.infoMsg .status[data-v-0e2e161a]{font-size:20px}.infoMsg .left[data-v-0e2e161a]{width:200px;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:200px}.infoMsg .left[data-v-0e2e161a],.infoMsg .right[data-v-0e2e161a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;height:60px}.infoMsg .right[data-v-0e2e161a]{text-align:center;line-height:30px;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.infoMsg .right .expectBox[data-v-0e2e161a]{width:220px;border-right:1px solid #ccc}.infoMsg .right .expectBox[data-v-0e2e161a]:last-child{border-right:none!important}.infoMsg .right .expectBox.first[data-v-0e2e161a]{width:300px}.wrap[data-v-0e2e161a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wrap div[data-v-0e2e161a]{margin-right:20px}.inputStyle[data-v-0e2e161a]{width:180px}

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-fc0ad7f2.fd5095b9.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.008cc7a7.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-7e01a830.76c8c642.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-afd7c80e.d2fc04de.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-fc0ad7f2.1ba9e52b.js


+ 1 - 1
src/views/resetTeaming/components/strudentPayInfo.vue

@@ -351,7 +351,7 @@
                    @click="submitAddStudent">确 定</el-button>
                    @click="submitAddStudent">确 定</el-button>
       </div>
       </div>
     </el-dialog>
     </el-dialog>
-    <el-dialog width="500px"
+    <el-dialog width="700px"
                title="查看缴费详情"
                title="查看缴费详情"
                :visible.sync="detailVisible">
                :visible.sync="detailVisible">
       <studentPayDetail :msgList='msgList'
       <studentPayDetail :msgList='msgList'

+ 41 - 12
src/views/resetTeaming/modals/studentPayDetail.vue

@@ -19,10 +19,21 @@
           }}
           }}
         </div>
         </div>
       </el-form-item>
       </el-form-item>
+      <el-form-item label="总现价">
+        <div>{{allCurrentPrice |moneyFormat}}元</div>
+      </el-form-item>
+      <el-form-item label="总原价">
+        <div>{{ allOriginalPrice | moneyFormat}}元</div>
+      </el-form-item>
       <el-form-item label="课程详情">
       <el-form-item label="课程详情">
-        <div class="inputStyle"
-             style="width:500px">
-          <p v-for="(item,index) in msgList">{{item.courseType | coursesType}}: 课程时长:{{item.courseTotalMinuties}}分钟 原价:{{item.courseOriginalPrice}}元 现价{{item.courseCurrentPrice}}元</p>
+        <div class="inputStyle">
+          <div v-for="(item,index) in msgList"
+               class="infoMsg">
+            <p class="name">{{item.courseType | coursesType}}:</p>
+            <p class="courseTime">课程时长:{{item.courseTotalMinuties}}分钟</p>
+            <p>原价:{{item.courseOriginalPrice | moneyFormat}}元</p>
+            <p>现价{{item.courseCurrentPrice | moneyFormat}}元</p>
+          </div>
         </div>
         </div>
       </el-form-item>
       </el-form-item>
     </el-form>
     </el-form>
@@ -48,21 +59,39 @@ export default {
   mounted () { },
   mounted () { },
   methods: {},
   methods: {},
   computed: {
   computed: {
-    infoMsg () {
+    allCurrentPrice () {
       // courseType
       // courseType
-      let str = ''
+      let num = 0;
+      this.msgList.forEach(item => {
+        num += item.courseCurrentPrice
+      })
+      return num
+    },
+    allOriginalPrice () {
+      let num = 0;
       this.msgList.forEach(item => {
       this.msgList.forEach(item => {
-        courseType.forEach(course => {
-          if (item.courseType == course.value) {
-            str += `${course.label}/${item.courseTotalMinuties}分钟、`
-          }
-        })
+        num += item.courseOriginalPrice
       })
       })
-      str = str.substring(0, str.length - 1) + '。'
-      return str
+      return num
+
     }
     }
   }
   }
 }
 }
 </script>
 </script>
 <style lang="scss" scoped>
 <style lang="scss" scoped>
+.infoMsg {
+  display: flex;
+  flex-direction: row;
+  justify-content: flex-start;
+  p {
+    width: 120px;
+    padding-right: 10px;
+  }
+  .name {
+    text-align: right;
+  }
+  .courseTime {
+    width: 150px;
+  }
+}
 </style>
 </style>

Some files were not shown because too many files changed in this diff