morphone1995 4 yıl önce
ebeveyn
işleme
010626e8f2

+ 2 - 1
src/components/icss/bill/Bill.vue

@@ -161,7 +161,8 @@ export default {
             .updateBillmanStatus({ relationId: row.relationId, status })
             .then(res => {
               if (res.data.code == '0') {
-                this.currentPage = 1; //恢复数据跳转到筛选条件下首页
+                // this.currentPage = 1; //恢复数据跳转到筛选条件下首页
+                console.log(this.currentPage);
                 this.warning(res.data.msg || '操作成功', 'success');
                 this.getDataList();
               } else {

+ 16 - 4
src/components/icss/bill/ConditionForm1.vue

@@ -357,14 +357,26 @@ export default {
       this.$emit('split', condition);
     },
     handleClear(index) {
-      // console.log(this.ruleForm.ruleForm[index]);
       // this.ruleForm.ruleForm[index].value = '';
     },
     handleChangeCom(index) {
       let compare = this.ruleForm.ruleForm[index].compare;
-      
-      console.log(compare);
-
+      if (index === 0 && this.ruleForm.ruleForm.length == 1) {
+        if (compare == '>=') {
+          this.form.maxValue = '';
+          this.$emit('handleInput', {
+            type: 'maxValue',
+            value: this.form.maxValue
+          });
+        } else if (compare == '<=') {
+          this.form.minValue = '';
+          this.$emit('handleInput', {
+            type: 'minValue',
+            value: this.form.minValue
+          });
+        }
+      }
+      // console.log(compare);
       this.ruleForm.ruleForm[index].value = '';
     },
     handleUnitClear(index) {