Bladeren bron

撤回了报告和项目的区分字段reportId

lijt 1 jaar geleden
bovenliggende
commit
4a91a757bb

+ 1 - 26
src/views/modules/cw/invoice/InvoiceFormTask.vue

@@ -25,7 +25,7 @@
           :edit-rules="tableRules"
           :edit-config="{trigger: 'click', mode: 'cell', showStatus: true, autoClear: true, icon: '-'}"
         >
-          <vxe-table-column field="programName" align="center" title="项目名称" :edit-render="{}">
+          <vxe-table-column field="programName" align="center" title="项目名称1111111" :edit-render="{}">
             <template v-slot:edit="scope">
               <el-input @focus="openProgramPageForm(scope.$rowIndex)" placeholder="请填写项目名称" :readonly="true" v-model="scope.row.programName"/>
             </template>
@@ -1266,31 +1266,6 @@
               this.inputForm.financeInvoiceBaseDTOList.push(r)
               this.baseKey = Math.random()
             }
-          }
-          if (!this.commonJS.isEmpty(rows.bj)) {
-            // this.bj = rows.bj
-            console.log('交流空间')
-            if (index === 0) {
-              let r = this.inputForm.financeInvoiceBaseDTOList[this.programRow]
-              r.programName = item.projectName
-              r.contractName = item.contractName
-              r.programNo = item.projectNumber
-              r.reportId = item.id
-              r.reportNo = item.reportNo
-              this.inputForm.financeInvoiceBaseDTOList[this.programRow] = r
-              console.log('this.inputForm.financeInvoiceBaseDTOList', this.inputForm.financeInvoiceBaseDTOList)
-            } else {
-              let r = {
-                programName: item.projectName,
-                contractName: item.contractName,
-                programNo: item.projectNumber,
-                reportId: item.id,
-                reportNo: item.reportNo
-              }
-              this.$refs.baseTable.insertAt(r)
-              this.inputForm.financeInvoiceBaseDTOList.push(r)
-              this.baseKey = Math.random()
-            }
           } else {
             if (index === 0) {
               let r = this.inputForm.financeInvoiceBaseDTOList[this.programRow]

+ 0 - 1
src/views/modules/cw/invoice/ProgramPageForm.vue

@@ -291,7 +291,6 @@ export default {
           }
         }
         rows = this.$refs.projectTable1.getCheckboxRecords()
-        rows.bj = 'bj'
       } else {
         if (this.commonJS.isEmpty(this.detail)) {
           this.$message.error('请填写开票详情')