Browse Source

修改字段

王新雷 4 years ago
parent
commit
312da974d9

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


+ 1 - 0
dist/static/css/chunk-311f44cf.bc82e279.css

@@ -0,0 +1 @@
+.right-code .title[data-v-0f6a8d58]{font-size:18px;text-align:center;padding-bottom:8px}.newBand[data-v-0f6a8d58]{display:inline-block}.el-input[data-v-0f6a8d58]{width:180px!important}

+ 0 - 1
dist/static/css/chunk-64aa1cae.afbf5ff3.css

@@ -1 +0,0 @@
-.right-code .title[data-v-43074d22]{font-size:18px;text-align:center;padding-bottom:8px}.newBand[data-v-43074d22]{display:inline-block}.el-input[data-v-43074d22]{width:180px!important}

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


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-311f44cf.4160b3eb.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-64aa1cae.d4e2f2ee.js


+ 11 - 11
src/views/sporadicManager/sporadicList.vue

@@ -198,11 +198,11 @@
                     @mousewheel.native.prevent
                     :disabled='!isNew'></el-input>
         </el-form-item>
-        <el-form-item label="缴费人数"
-                      prop="maxNum"
+        <el-form-item label="缴费金额"
+                      prop="maxAmount"
                       :rules="[{ required: true, validator: validMaxNum, trigger: 'blur' }]"
                       v-if="maskForm.type == 12">
-          <el-input v-model.trim="maskForm.maxNum"
+          <el-input v-model.trim="maskForm.maxAmount"
                     type="number"
                     @mousewheel.native.prevent></el-input>
         </el-form-item>
@@ -392,9 +392,9 @@ import load from '@/utils/loading'
 import vueQr from 'vue-qr'
 let validMaxNum = (rule, value, callback) => {
   if (value == '' && typeof value == 'string' || value == null) {
-    callback(new Error('请输入缴费人数'))
+    callback(new Error('请输入缴费金额'))
   } else if (value < 0) {
-    callback(new Error('输入缴费人数必须大于0'))
+    callback(new Error('输入缴费金额必须大于0'))
   } else {
     callback()
   }
@@ -447,7 +447,7 @@ export default {
         title: '',
         code: '',
         musicGroupId: '',
-        maxNum: null,
+        maxAmount: null,
         subMoney: ''
       },
       maskMusicList: [],
@@ -543,7 +543,7 @@ export default {
           musicGroupId: null,
           type: null,
           money: null,
-          maxNum: null,
+          maxAmount: null,
           desc: null,
           title: null,
           code: null
@@ -602,7 +602,7 @@ export default {
       maskForm.organId = row.organId
       maskForm.money = row.amount
       maskForm.subMoney = row.discountAmount
-      maskForm.maxNum = row.maxNum
+      maskForm.maxAmount = row.maxAmount
       maskForm.musicGroupId = row.musicGroupId ? row.musicGroupId : null
       if (row.userId) {
         queryUserMusicInfos({ userId: row.userId }).then(studentInfo => {
@@ -636,7 +636,7 @@ export default {
       }
       this.$refs['maskForm'].validate(item => {
         if(item) {
-          updateZero(cleanDeep({ id: maskForm.id, maxNum: maskForm.maxNum })).then(res => {
+          updateZero(cleanDeep({ id: maskForm.id, maxAmount: maskForm.maxAmount })).then(res => {
             if (res.code == 200) {
                 this.$message.success('更新成功')
                 this.zeroVisible = false;
@@ -657,7 +657,7 @@ export default {
             amount: this.maskForm.money,
             musicGroupId: this.maskForm.musicGroupId,
             discountAmount: this.maskForm.subMoney,
-            maxNum: this.maskForm.maxNum
+            maxAmount: this.maskForm.maxAmount
           }
           addZero(obj).then(res => {
             if (res.code == 200) {
@@ -827,7 +827,7 @@ export default {
           money: '',
           desc: '',
           title: '',
-          maxNum: null,
+          maxAmount: null,
           code: ''
         }
         // this.$refs['maskForm'].resetFields()

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