Prechádzať zdrojové kódy

table单元格距离样式

liangy 3 rokov pred
rodič
commit
05a39453d5

+ 4 - 0
src/views/advance-packingList/detailsAdpackingDrawer.vue

@@ -361,4 +361,8 @@ export default {
 /deep/ .ant-drawer-body {
   padding: 10px;
 }
+// 回显label文字
+/deep/.ant-form-item-label > label {
+  font-weight: 700;
+}
 </style>

+ 5 - 0
src/views/order/orderDetailDrawer.vue

@@ -292,4 +292,9 @@ export default {
 /deep/ .ant-drawer-body {
   padding: 10px;
 }
+
+// 回显label文字
+/deep/.ant-form-item-label > label {
+  font-weight: 700;
+}
 </style>

+ 10 - 9
src/views/reportForms/dye-loss-table.vue

@@ -124,29 +124,30 @@ export default {
       dyeLossRateColumns: [
         {
           title: '物料编码',
-          width: 120,
+          width: 100,
           dataIndex: 'cinvCode',
           className: 'replacecolor'
         },
 
         {
           title: '物料名称',
-          width: 160,
+          width: 320,
+          align: 'left',
           dataIndex: 'cinvName',
           className: 'replacecolor'
         },
         { title: '颜色', width: 160, dataIndex: 'color', customRender: t => ellipsis(t), className: 'replacecolor' },
-        { title: '供应商', width: 120, dataIndex: 'cvenName', className: 'replacecolor' },
+        { title: '供应商', width: 160, dataIndex: 'cvenName', className: 'replacecolor' },
         {
           title: '订单号',
-          width: 160,
+          width: 120,
           dataIndex: 'ccode',
           className: 'replacecolor'
         },
-        { title: '订单数量', width: 100, dataIndex: 'iquantity', className: 'replacecolor' },
-        { title: '采购入库数', width: 100, dataIndex: 'iquantity2', className: 'replacecolor' },
-        { title: '材料出库数', width: 100, dataIndex: 'iquantity3', className: 'replacecolor' },
-        { title: '核销数量', width: 100, dataIndex: 'imsquantity', className: 'replacecolor' },
+        { title: '订单数量', width: 90, dataIndex: 'iquantity', className: 'replacecolor' },
+        { title: '采购入库数', width: 90, dataIndex: 'iquantity2', className: 'replacecolor' },
+        { title: '材料出库数', width: 90, dataIndex: 'iquantity3', className: 'replacecolor' },
+        { title: '核销数量', width: 90, dataIndex: 'imsquantity', className: 'replacecolor' },
         { title: '染损', width: 120, dataIndex: 'dyeLossRate', className: 'replacecolor' }
       ],
       dyeLossRateData: [], //染损数据
@@ -232,7 +233,7 @@ export default {
       const params = this.dyeLossRateData
       console.log('导出参数', params)
       downFile('/scas/dyeLoss/excel', params).then(data => {
-        console.log('888');
+        console.log('888')
         if (!data) {
           this.$message.warning('文件下载失败')
           return

+ 11 - 11
src/views/reportForms/pro-progress-report.vue

@@ -62,7 +62,7 @@
               </a-col>
 
               <a-col :md="6" :sm="8">
-                <a-form-item label="交期" has-feedback>
+                <a-form-item label="交期">
                   <a-date-picker
                     style="width: 100%"
                     format="YYYY-MM-DD"
@@ -223,16 +223,16 @@ export default {
       },
       // 查询条件
       queryParam: {
-        pageNo: '',
-        csocode: '', // 销售订单号
-        cdepName: '', // 部门
-        cinvName: '',
-        cdefine12: '', // 成衣加工厂
-        cpersonName: '',
-        planCode: '', // 计划单号
-        dDate: '',
-        color: '',
-        dPreDateBT: '' // 交期
+        // pageNo: '',
+        // csocode: '', // 销售订单号
+        // cdepName: '', // 部门
+        // cinvName: '',
+        // cdefine12: '', // 成衣加工厂
+        // cpersonName: '',
+        // planCode: '', // 计划单号
+        // dDate: '',
+        // color: '',
+        // dPreDateBT: '' // 交期
       }
     }
   },

+ 4 - 0
src/views/reportForms/pro-progress-report/detailsFabricDrawer.vue

@@ -427,4 +427,8 @@ export default {
 /deep/ .ant-drawer-body {
   padding: 10px;
 }
+// 回显label文字
+/deep/.ant-form-item-label > label {
+  font-weight: 700;
+}
 </style>

+ 7 - 6
src/views/reportForms/supply-capacity-table.vue

@@ -120,6 +120,7 @@ export default {
         {
           title: '订单号',
           width: 140,
+          align: 'left',
           dataIndex: 'csrccode',
           className: 'replacecolor'
         },
@@ -134,23 +135,23 @@ export default {
         { title: '业务员', width: 90, dataIndex: 'cpersonCode', className: 'replacecolor' },
         { title: '供应商', width: 180, dataIndex: 'cvenCode', className: 'replacecolor' },
 
-        { title: '供应商类型', width: 160, dataIndex: 'cvenCodeType', className: 'replacecolor' },
+        { title: '供应商类型', width: 100, dataIndex: 'cvenCodeType', className: 'replacecolor' },
         { title: '订单类型', width: 90, dataIndex: 'iorderType', className: 'replacecolor' },
         {
           title: '数量',
-          width: 90,
+          width: 100,
           dataIndex: 'iquantity',
           className: 'replacecolor'
         },
         { title: '累计入库数量', width: 120, dataIndex: 'ireceivedQTY', className: 'replacecolor' },
-        { title: '单位', width: 100, dataIndex: 'unit', className: 'replacecolor' },
+        { title: '单位', width: 90, dataIndex: 'unit', className: 'replacecolor' },
         {
           title: '计划到货月份',
           width: 120,
           dataIndex: 'arriveMonth',
-          customRender: text => {
-            return moment(text).format('YYYY-MM')
-          },
+          // customRender: text => {
+          //   return moment(text).format('YYYY-MM')
+          // },
           className: 'replacecolor'
         },
         {

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

@@ -477,4 +477,8 @@ export default {
 /deep/ .ant-drawer-body {
   padding: 10px;
 }
+// 回显label文字
+/deep/.ant-form-item-label > label {
+  font-weight: 700;
+}
 </style>

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

@@ -252,6 +252,7 @@ export default {
           title: '单据号',
           dataIndex: 'documentNo',
           fixed: 'left',
+          align: 'left',
           width: 140,
           className: 'replacecolor'
         },
@@ -634,6 +635,7 @@ export default {
       this.queryParam.startTime = dateString[0]
       this.queryParam.endTime = dateString[1]
     },
+
     onDateOk(value) {
       console.log('value', value)
     },