Explorar o código

增加isTc判断

jbb %!s(int64=2) %!d(string=hai) anos
pai
achega
0b5b0e271e

+ 8 - 1
src/views/advance-packingList/referShipmentDetailsModal.vue

@@ -227,7 +227,7 @@ export default {
         },
         {
           title: '是否TC功能',
-          dataIndex: 'isTC',
+          dataIndex: 'isTc',
           // 0 否 、 1 是
           width: 90,
           className: 'replacecolor'
@@ -303,6 +303,13 @@ export default {
             this.data = [];
             if (res.result.records != null){
               this.data = res.result.records;
+              this.data.map(item=>{
+                if(item.isTc === "1"){
+                  item.isTc = '是'
+                }else if(item.isTc === "0"){
+                  item.isTc = '否'
+                }
+              })
             }
             this.pagination = {
               total: res.result.total,