Browse Source

出运明细页面调整

jbb 2 years ago
parent
commit
dcd93c555e

+ 10 - 0
src/views/shipment-details/declareElementsModal.vue

@@ -394,4 +394,14 @@ export default {
 /deep/.ant-form-item{
   margin-bottom: 0px !important;
 }
+/deep/.ant-table-tbody .ant-table-row td{
+  padding-top: 2px;
+    padding-bottom: 2px;
+}
+/deep/ thead.ant-table-thead>tr{
+      height: 0 !important;
+}
+/deep/ .ant-table-thead > tr > th, .ant-table-tbody > tr > td{
+  padding: 9px 16px
+}
 </style>

+ 4 - 4
src/views/shipment-details/detailsShipDetDrawer.vue

@@ -102,7 +102,7 @@ export default {
           title: '款号',
           dataIndex: 'itemNumber',
           // fixed: 'left',
-          width: 180,
+          width: 100,
           className: 'replacecolor',
           ellipsis: true,
         },
@@ -151,7 +151,7 @@ export default {
          {
           title: '尺码',
           dataIndex: 'size',
-          width: 120,
+          width: 100,
           className: 'replacecolor',
           ellipsis: true,
         },
@@ -167,7 +167,7 @@ export default {
         {
           title: '订单数量',
           dataIndex: 'orderQuantity',
-          width: 120,
+          width: 100,
           className: 'replacecolor',
           ellipsis: true,
         },
@@ -176,7 +176,7 @@ export default {
           title: '发货数量',
           dataIndex: 'shipmentQuantity',
           scopedSlots: { customRender: 'shipmentQuantity' },
-          width: 120,
+          width: 90,
           ellipsis: true,
         },
 

+ 9 - 9
src/views/shipment-details/editShipDetDrawer.vue

@@ -267,7 +267,7 @@ export default {
           title: '款号',
           dataIndex: 'itemNumber',
           // fixed: 'left',
-          width: 180,
+          width: 100,
           className: 'replacecolor',
            ellipsis: true,
         },
@@ -351,7 +351,7 @@ export default {
           title: '单价(销售)',
           // scopedSlots: { customRender: 'salesUnitPrice' },
           dataIndex: 'salesUnitPrice',
-          width: 120,
+          width: 100,
           className: 'replacecolor',
            ellipsis: true,
         },
@@ -359,7 +359,7 @@ export default {
           title: '佣金',
           // scopedSlots: { customRender: 'ymoney' },
           dataIndex: 'ymoney',
-          width: 120,
+          width: 80,
           className: 'replacecolor',
            ellipsis: true,
         },
@@ -369,14 +369,14 @@ export default {
           dataIndex: 'customsDeclarationUnitPrice',
           // scopedSlots: { customRender: 'customsDeclarationUnitPrice' },
           // fixed: 'left',
-          width: 180,
+          width: 100,
           className: 'replacecolor',
            ellipsis: true,
         },
          {
           title: '工厂单价',
           dataIndex: 'factoryUnitPrice',
-          width: 120,
+          width: 100,
           // scopedSlots: { customRender: 'factoryUnitPrice' },
           className: 'replacecolor',
            ellipsis: true,
@@ -385,7 +385,7 @@ export default {
         {
           title: '订单数量',
           dataIndex: 'orderQuantity',
-          width: 120,
+          width: 100,
           className: 'replacecolor',
            ellipsis: true,
         },
@@ -401,7 +401,7 @@ export default {
           title: '发货数量',
           dataIndex: 'shipmentQuantity',
           scopedSlots: { customRender: 'shipmentQuantity' },
-          width: 120,
+          width: 100,
         },
 
         {
@@ -435,7 +435,7 @@ export default {
         {
           title: '客户简称',
           dataIndex: 'customerAbbreviation',
-          width: 220,
+          width: 120,
           align: 'left',
           className: 'replacecolor',
            ellipsis: true,
@@ -895,7 +895,7 @@ export default {
 <style lang="less" scoped>
 @import '~@assets/less/common.less';
 /deep/ .ant-table-thead > tr > th {
-  text-align: center;
+  text-align: center !important;
   // font-weight: 700;
 }
 /deep/ .ant-table-tbody {

+ 2 - 2
src/views/shipment-details/shipmentList.vue

@@ -436,14 +436,14 @@ export default {
         {
           title: '款号',
           dataIndex: 'itemNumber',
-          width: 180,
+          width: 80,
           ellipsis: true,
           className: 'replacecolor'
         },
          {
           title: '数量',
           dataIndex: 'shipmentQuantity',
-          width: 180,
+          width: 80,
           ellipsis: true,
           className: 'replacecolor'
         },