Browse Source

fix:招投标删除投标说明字段

lazy 7 months ago
parent
commit
005e3ae2f7
1 changed files with 14 additions and 14 deletions
  1. 14 14
      src/views/biddingManagement/components/GuaranteeConfirmContent.vue

+ 14 - 14
src/views/biddingManagement/components/GuaranteeConfirmContent.vue

@@ -62,7 +62,7 @@
           :disabled="disabled"
         />
       </el-form-item>
-      <el-form-item
+      <!-- <el-form-item
         label="投标说明:"
         prop="desc"
         style="width: 100%;"
@@ -78,7 +78,7 @@
           placeholder="请上传投标说明"
           :disabled="disabled"
         />
-      </el-form-item>
+      </el-form-item> -->
     </el-form>
   </div>
 </template>
@@ -103,8 +103,8 @@ module.exports = {
         tenderMethod: '',
         bidGuaranteeMethod: '',
         biddingGuaranteeLetterFile: [],
-        biddingPaymentVoucherFile: [],
-        bidingDescriptionFile: []
+        biddingPaymentVoucherFile: []
+        // bidingDescriptionFile: []
       },
       rules: {
         tenderMethod: [
@@ -120,14 +120,14 @@ module.exports = {
   watch: {
     deatailsInfo: {
       handler(newV) {
-        const { tenderMethod, bidGuaranteeMethod, depositAmount, guaranteeLetterFiles, paymentVoucherFiles, bidDescriptionFiles } = JSON.parse(JSON.stringify(newV))
+        const { tenderMethod, bidGuaranteeMethod, depositAmount, guaranteeLetterFiles, paymentVoucherFiles } = JSON.parse(JSON.stringify(newV))
         this.ruleForm = {
           tenderMethod,
           bidGuaranteeMethod,
           depositAmount,
           biddingGuaranteeLetterFile: guaranteeLetterFiles || [],
-          biddingPaymentVoucherFile: paymentVoucherFiles || [],
-          bidingDescriptionFile: bidDescriptionFiles || []
+          biddingPaymentVoucherFile: paymentVoucherFiles || []
+          // bidingDescriptionFile: bidDescriptionFiles || []
         }
       },
       immediate: true,
@@ -139,18 +139,18 @@ module.exports = {
       return new Promise((resolve, reject) => {
         this.$refs.ruleForm.validate(valid => {
           if (valid) {
-            const bidingDescriptionList = this.$refs.bidingDescriptionFile.getFileLists
-            if (!bidingDescriptionList.length) {
-              this.$message.warning('请上传招标说明')
-              return
-            }
+            // const bidingDescriptionList = this.$refs.bidingDescriptionFile.getFileLists
+            // if (!bidingDescriptionList.length) {
+            //   this.$message.warning('请上传招标说明')
+            //   return
+            // }
             const { id, taskId } = this.$route.query
             const params = {
               tenderMethod: this.ruleForm.tenderMethod,
               bidGuaranteeMethod: this.ruleForm.bidGuaranteeMethod,
               biddingBasicInfoId: id,
-              taskId,
-              bidDescriptionFileIds: bidingDescriptionList.map(item => item.id)
+              taskId
+              // bidDescriptionFileIds: bidingDescriptionList.map(item => item.id)
             }
             if (this.ruleForm.bidGuaranteeMethod === 0) {
               const biddingPaymentVoucherList = this.$refs.biddingPaymentVoucherFile.getFileLists