yuansh 1 week ago
parent
commit
10185893c0

+ 2 - 2
src/views/baseCode/ShipArchive/BaseShipArchiveRelateCustomer.data.ts

@@ -22,8 +22,8 @@ export const columns: BasicColumn[] = [
    {
     title: '船名(ship name)',
     align:"center",
-    dataIndex: 'shipName',
-    key: 'shipName'
+    dataIndex: 'name',
+    key: 'name'
    },
 ];
 //查询数据

+ 5 - 5
src/views/baseCode/ShipArchive/components/BaseShipArchiveRelateCustomerModal.vue

@@ -73,11 +73,11 @@
             getFIle("1")
             
             await list({headId:data.record.headId}).then(function (response) {
-              console.log("=========================");
-              console.log(response.records);
-              response.records.forEach(item => {
-                console.log(item);
-              });
+              // console.log("=========================");
+              // console.log(response.records);
+              // response.records.forEach(item => {
+              //   console.log(item);
+              // });
               
               // console.log(response.records); 
                 demoFieldDefValSubTable.dataSource = response.records;