yangfeng
2023-08-22 a512ebb0e9cbe2dcd12de3afdf11568d3b2e0e3a
bug修复
3个文件已修改
18 ■■■■ 已修改文件
src/components/makepager/TableCommonView.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/client/contacts/DetailContacts.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/contractManage/AddContractManageDialog.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/makepager/TableCommonView.vue
@@ -223,8 +223,7 @@
                  sumPrice += parseFloat(val.total)
                })
              })
              console.log((sums[index + 1] = sumPrice))
              console.log(sumPrice)
              sums[index + 1] = sumPrice
            }
            if (column.property === "productAmount") {
              let sumPrice = 0
@@ -234,8 +233,7 @@
                  sumPrice += parseFloat(val.amount)
                })
              })
              console.log((sums[index + 1] = sumPrice))
              console.log(sumPrice)
              sums[index + 1] = sumPrice
            }
          }
        })
src/views/client/contacts/DetailContacts.vue
@@ -10,7 +10,7 @@
      <template slot="title">
        <div class="header">
          <span class="header-label">联系人姓名</span>
          <span class="header-title">{{ detailConfig.infomation.contact_name }}</span>
          <span class="header-title">{{ detailConfig.infomation.name }}</span>
        </div>
      </template>
      <div class="content">
@@ -112,10 +112,10 @@
          <FollowupRecords :isDetail="true" :add-config="addConfig" />
        </div>
        <div v-if="activeName === 'detail'" class="second">
          <SalesDetails :isDetail="true" />
          <SalesDetails :isDetail="true" :add-config="addConfig" />
        </div>
        <div v-if="activeName === 'serviceContract'" class="second">
          <ServiceContract :isDetail="true" />
          <ServiceContract :isDetail="true" :add-config="addConfig" />
        </div>
      </div>
    </el-drawer>
@@ -164,7 +164,9 @@
      contact_name: this.detailConfig.infomation.name,
      client_status_id: this.detailConfig.infomation.Client.client_status_id,
      contact_id: this.detailConfig.infomation.id,
      client_id: this.detailConfig.infomation.client_id
      client_id: this.detailConfig.infomation.client_id,
      keyword: this.detailConfig.infomation.name,
      keywordType: "联系人姓名"
    }
  },
  mounted() {},
src/views/sales/contractManage/AddContractManageDialog.vue
@@ -304,7 +304,7 @@
        id: this.editConfig.title === "新建" ? 0 : data.id,
        client_id: this.clientId || 0,
        file: "",
        member_id: data.member_id || 0,
        member_id: data.memberId || 0,
        number: data.number || "",
        quotation_id: this.quotationId || 0,
        status_id: data.status_id || 0