Browse Source

提交提示和按时刷新显示列表问题

fan0987 2 months ago
parent
commit
ca83848268

+ 2 - 1
bidding-ui/src/views/mine/components/CompSupplier.vue

@@ -99,7 +99,7 @@
             <el-input v-model="bs_supplier.hActualCapital" @blur="payHandleBlur1(bs_supplier)"
               @input="payHandleInput1(bs_supplier)" clearable />
           </el-descriptions-item>
-          <el-descriptions-item :span="1" label-style="text-align: center">
+          <el-descriptions-item :span="1" label-style="text-align: center;color: red">
             <template slot="label">
               发票种类
             </template>
@@ -107,6 +107,7 @@
             <el-radio v-model="bs_supplier.pType" :label="2">普票</el-radio>
           </el-descriptions-item>
         </el-descriptions>
+        <el-alert title="请检查发票种类,避免开错发票 !" type="error" center></el-alert>
       </div>
 
     </el-form>

+ 1 - 0
bidding-ui/src/views/mine/winner.vue

@@ -1,5 +1,6 @@
 <template>
   <div class="app-container">
+    <el-alert title="请检查基础资料中发票种类,避免开错发票 !" type="error" center></el-alert>
     <el-form :model="query" ref="queryForm" size="large" :inline="true" label-width="68px" style="margin-bottom: 20px">
       <el-form-item label="公告名称" prop="resultTitle" label-width="100px">
         <el-input v-model="query.resultTitle" size="mini" placeholder="请输入招标项目名称" clearable

+ 17 - 11
ruoyi-ui/src/views/expert/tender/detail.vue

@@ -112,24 +112,25 @@ export default {
         isEnd: false
       },
       quoteTableData: [],
-      refreshQuoteTimer: null
+      refreshQuoteTimer: null,
+
+      isOverFirstTime: false
     }
   },
   computed: {
-    isOverFirstTime() {
-      const currentTime = moment();
-      let kaibiaoTime = moment(this.detail.firstTime);
+    // isOverFirstTime() {
+    //   const currentTime = moment();
+    //   let kaibiaoTime = moment(this.detail.firstTime);
 
-      return currentTime.isAfter(kaibiaoTime)
-    }
+    //   return currentTime.isAfter(kaibiaoTime)
+    // }
   },
-  created () {
-    this.getData()
-    this.getListQuote()
-    // this.refreshPage()
+  async created() {
+    await this.getData()
+    await this.getListQuote()
   },
   methods: {
-    async getData () {
+    async getData() {
       const res = await getTender(this.sid)
       this.tender = res.data
 
@@ -189,6 +190,11 @@ export default {
         item.fjAnnex = fjAnnex
         return item
       })
+
+      const currentTime = moment();
+      let kaibiaoTime = moment(this.detail.firstTime);
+
+      this.isOverFirstTime = currentTime.isAfter(kaibiaoTime)
     },
 
     refreshPage() {