瀏覽代碼

修改bug

chenrui 1 年之前
父節點
當前提交
bd4b9a2e3c

+ 1 - 1
src/views/productManagement/productSourcePath/list.vue

@@ -159,7 +159,7 @@
           </template>
           <!-- 操作 -->
           <template slot="action" slot-scope="text, record">
-            <a-button v-if="$hasPermissions('B_productSourceSeeInfo')&&record.warrantyState!='RUN'" size="small" type="link" class="button-warning" @click="handleInfoModal(record)">质保信息</a-button>
+            <a-button v-if="$hasPermissions('B_productSourceSeeInfo')&&record.warrantyState!='NOTSTART'" size="small" type="link" class="button-warning" @click="handleInfoModal(record)">质保信息</a-button>
             <span v-else>--</span>
           </template>
         </s-table>

+ 1 - 1
src/views/productManagement/productSourcePath/warrantyInfoModal.vue

@@ -26,7 +26,7 @@
                 {{ detailsData.traceCode || '--' }}
               </a-descriptions-item>
               <a-descriptions-item label="质保时间" v-if="detailsData.warrantyStartDate">
-                {{ detailsData.warrantyStartDate }}{{ detailsData.warrantyEndDate?'-'+detailsData.warrantyEndDate:'' }}
+                {{ detailsData.warrantyStartDate }}{{ detailsData.warrantyEndDate?''+detailsData.warrantyEndDate:'' }}
               </a-descriptions-item>
               <a-descriptions-item label="质保时间" v-else>
                 --