Bladeren bron

上线时间

chenrui 1 jaar geleden
bovenliggende
commit
cba0ef4434

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

@@ -66,7 +66,7 @@
         </template>
         <!-- 上/下线时间 内容 -->
         <template slot="auditTime" slot-scope="text, record">
-          {{ $route.params.onlineFalg=='1'?record.auditTime:record.offlineAuditTime }}
+          {{ $route.params.onlineFalg=='1'?record.auditTime:record.auditTime }}
         </template>
         <!-- 产品分类 -->
         <template slot="productType" slot-scope="text, record">

+ 1 - 1
src/views/productManagement/newProduct/modal.vue

@@ -69,7 +69,7 @@ export default {
       if (this.onlineFalg == '1') {
         arr.push({ title: '上线时间', dataIndex: 'auditTime', width: 140, align: 'center', customRender: function (text) { return text || '--' } })
       } else if (this.onlineFalg == '0') {
-        arr.push({ title: '下线时间', dataIndex: 'offlineAuditTime', width: 140, align: 'center', customRender: function (text) { return text || '--' } })
+        arr.push({ title: '下线时间', dataIndex: 'auditTime', width: 140, align: 'center', customRender: function (text) { return text || '--' } })
       }
       return arr
     }