소스 검색

修改时间日期显示

lichao 3 년 전
부모
커밋
f9b2e8bfc3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/kaihe/domesticTrade/myOrder/index.vue

+ 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>