Explorar o código

Merge branch 'fix_lin' of ssh://gogs.zfire.top:2222/zfire-front/zfire-newmall-admin into develop

linwenxin hai 1 ano
pai
achega
6f790f9533

+ 1 - 1
src/views/setting/personal/renew.vue

@@ -25,7 +25,7 @@
 					<div class="flex" style="align-items: center;">
 						<div>实付: <span style="font-size: 20px;color: #ff6804;">¥</span><span style="font-size: 36px;color: #ff6804;font-weight: bold;">{{(goodsList[goodsIndex].normAmount * 100 - goodsList[goodsIndex].discountAmount * 100)/100}}</span></div>
 						<div style="margin: 0 20px;">已优惠: <span style="font-size: 18px;color: #ff6804;">¥</span><span style="font-size: 20px;color: #ff6804;">{{goodsList[goodsIndex].discountAmount}}</span></div>
-						<el-tooltip effect="dark" content="购买年限越大越优惠,优惠价格按年份递减折扣,第1年原价,第2年8折,第3年7折,第4年6折,第5年5折。举例:张三购买了3年限套餐,第1年原价为1000元,所需支付价格为:第一年1000元+第二年800元+第三年700元,需支付金额:2500元。" placement="top">
+						<el-tooltip effect="dark" content="购买年限越大越优惠,优惠价格按年份增加折扣,第1年8.8折,第2年8折,第3年7折,第4年6折,第5年5折。举例: 原价1000元/年,张三购买了3年限套餐,所需支付价格为: 第1年880.00元+第2年800.00元+第三年700.00元,需支付金额: 2380.00元" placement="top">
 						    <i class="el-icon-question icon-question"></i>
 						</el-tooltip>
 					</div>

+ 8 - 9
src/views/valueAddedService/orderBranchAccount/index.vue

@@ -3,8 +3,9 @@
     :options-evens-group="optionsEvensGroup" :more-parameters="moreParameters" :column-parsing="columnParsing"
     :operation="operation" :exportList="exportList">
     <div class="cartographer">
-      <el-dialog title="明细" width="100%" :modal="false" :visible.sync="formDialog" :before-close="()=>{formDialog = false}">
-        <template-page v-if="formDialog" :get-list="getList2" :columnParsing="columnParsing2"/>
+      <el-dialog title="明细" width="100%" :modal="false" :visible.sync="formDialog"
+        :before-close="() => { formDialog = false }">
+        <template-page v-if="formDialog" :get-list="getList2" :columnParsing="columnParsing2" />
       </el-dialog>
     </div>
   </template-page>
@@ -67,13 +68,11 @@ export default {
       return (
         <div class="operation-btns">
           <el-button type="text" onClick={() => {
-            this.detailParams.push(
-              {
-                param: "a.websit_id",
-                compare: "=",
-                value: row.websitId
-              }
-            )
+            this.detailParams = [...this.detailParams.filter(item => item.param === "a.pay_time"), {
+              param: "a.websit_id",
+              compare: "=",
+              value: row.websitId
+            }];
             this.$nextTick(() => {
               this.formDialog = true
             })

+ 17 - 3
src/views/valueAddedService/valueAddedConfig/index.vue

@@ -181,7 +181,12 @@ export default {
               <el-form-item label="" label-width="0px" prop={`pgIncreItems.${index}.${column.columnAttributes.prop}`} rules={required}>
                 <el-input
                   value={row[column.columnAttributes.prop]}
-                  onInput={(val) => { row[column.columnAttributes.prop] = val }}
+                  onInput={(val) => {
+                    row[column.columnAttributes.prop] = val
+                    if (val && row.workerAmount && Number(row.workerAmount) > Number(val)) {
+                      row.workerAmount = val
+                    }
+                  }}
                   placeholder="请输入内容"
                 >
                 </el-input>
@@ -199,7 +204,9 @@ export default {
               <el-form-item label="" label-width="0px" prop={`pgIncreItems.${index}.${column.columnAttributes.prop}`} rules={required}>
                 <el-input
                   value={row[column.columnAttributes.prop]}
-                  onInput={(val) => { row[column.columnAttributes.prop] = val }}
+                  onInput={(val) => {
+                    row[column.columnAttributes.prop] = val && row.amount && Number(val) > Number(row.amount) ? row.amount : val
+                  }}
                   placeholder="请输入内容"
                 >
                 </el-input>
@@ -412,7 +419,14 @@ export default {
         {
           name: 'el-input',
           md: 24,
-          attributes: { disabled: false, placeholder: '请输入', type: "textarea" },
+          attributes: {
+            disabled: false,
+            placeholder: '请输入',
+            type: "textarea",
+            autosize: { minRows: 2, maxRows: 4 },
+            maxlength: 50,
+            'show-word-limit': true
+          },
           formItemAttributes: {
             label: '服务介绍',
             prop: 'intro',