龚焕茏
2024-07-30 0f851ca9f5fc81fb73dd26248b3cde46851bce25
src/views/system/contract/contract/index.vue
@@ -115,6 +115,7 @@
                  </el-tooltip>
                </div>
              </span>
              <el-empty v-if="moneyRules.length == 0" :image-size="100" />
            </div>
          </el-collapse-item>
          <el-form-item label="合同附件" prop="attachment" class="top">
@@ -474,11 +475,13 @@
    getRuleList(item) {
      getRuleListByContractId(item.id).then((response) => {
        this.ruleData = response.data;
        this.ruleName = this.ruleData.map((item) => {
          return item.ruleName;
        });
        this.ruleName = [...new Set(this.ruleName)];
        console.log('this.ruleName', this.ruleName);
        if (this.ruleData) {
          this.ruleName = this.ruleData.map((item) => {
            return item.ruleName;
          });
          this.ruleName = [...new Set(this.ruleName)];
          console.log('this.ruleName', this.ruleName);
        }
        this.form.id = item.id;
        this.contractInfo = item;
      });