Prechádzať zdrojové kódy

修改时间日期显示

lichao 3 rokov pred
rodič
commit
f9b2e8bfc3

+ 1 - 1
src/views/kaihe/domesticTrade/myOrder/index.vue

@@ -288,7 +288,7 @@
           sortable>
         <template slot-scope="scope">
           <span v-if="item.label == 'createTime'">{{ (scope.row.createTime).slice(0, 10) }}</span>
-          <span v-if="item.label == 'fCargoPlanning'">{{scope.row.fCargoPlanning == '1'?'否':'是'}}</span>
+          <span v-else-if="item.label == 'fCargoPlanning'">{{scope.row.fCargoPlanning == '1'?'否':'是'}}</span>
           <span v-else>{{ scope.row[item.label] }}</span>
         </template>
       </el-table-column>