Browse Source

no message

linwenxin 1 year ago
parent
commit
4b3efeda3c
1 changed files with 8 additions and 9 deletions
  1. 8 9
      src/views/valueAddedService/orderBranchAccount/index.vue

+ 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
             })