linwenxin 5 miesięcy temu
rodzic
commit
4753e528c0

+ 8 - 4
src/views/setting/networkSigning/settlementRelationshipAllocation/index.vue

@@ -73,7 +73,11 @@ export default {
       formData: {
         companyWechatId: '',
         companyWechatName: '',
+        createBy: '',
+        createTime: '',
         items: [],
+        updateBy: '',
+        updateTime: '',
         websitId: ''
       },
       formRules: {},
@@ -82,7 +86,7 @@ export default {
         websitId: '',
         websitName: ''
       },
-      items: []
+      itemsList: []
     }
   },
   computed: {
@@ -322,7 +326,7 @@ export default {
       this.$data.formData = this.$options.data().formData
       this.formType = 0
       this.formBool = false
-      this.items = []
+      this.itemsList = []
     },
     formConfirm() {
       this.$refs.formRef.validate((valid, invalidFields, errLabels) => {
@@ -344,7 +348,7 @@ export default {
                 websitId: row.websitId
               }).then(res => {
                 this.formData = res.data
-                this.items = this.formData.items.map(item => ({ ...item }))
+                this.itemsList = this.formData.items.map(item => ({ ...item }))
                 this.$nextTick(() => {
                   this.formType = 1
                   this.formBool = true
@@ -368,7 +372,7 @@ export default {
         settleRelaConfigQuerySubWebsit({ pageNum: pageIndex, pageSize: pageSize, ...this.formInline }).then(res => {
           resolve({
             total: res.data.total,
-            data: [...this.items, ...res.data.records]
+            data: [...this.itemsList, ...res.data.records]
           })
         })
       })