mushencc 3 lat temu
rodzic
commit
97ef924521

+ 9 - 5
src/views/BasicSettings/CustomerFiles/detail.vue

@@ -190,7 +190,8 @@ export default {
           title: "负责人",
           key: "service_name",
           align: "center",
-          minWidth: 140,
+           resizable: true,
+            width: 300,
           render: (h, params) => {
             const { row, index } = params;
             const currencyRow = this.tableData[index];
@@ -217,7 +218,8 @@ export default {
           title: "手机号",
           key: "mobile",
           align: "center",
-          minWidth: 140,
+           resizable: true,
+             width: 300,
           render: (h, params) => {
             const { row, index } = params;
             const currencyRow = this.tableData[index];
@@ -244,7 +246,8 @@ export default {
           title: "地区",
           key: "area_title",
           align: "center",
-          minWidth: 120,
+          resizable: true,
+                        width: 300,
           render: (h, params) => {
             const { row, index } = params;
             const currencyRow = this.tableData[index];
@@ -267,7 +270,8 @@ export default {
           title: "详细地址",
           key: "part_id",
           align: "center",
-          minWidth: 200,
+           resizable: true,
+                        width: 400,
           render: (h, params) => {
             const { row, index } = params;
             const currencyRow = this.tableData[index];
@@ -291,7 +295,7 @@ export default {
           },
         },
 
-        { title: "操作", key: "", align: "center", slot: "set", width: 200 },
+        { title: "操作", key: "", align: "center", slot: "set", minWidth: 200 },
       ],
       treeData: [
         {

+ 14 - 7
src/views/BasicSettings/CustomerFiles/list.vue

@@ -240,28 +240,32 @@ export default {
           key: "code",
           align: "center",
           tooltip: true,
-          minWidth: 140,
+           resizable: true,
+          width: 240,
         },
         {
           title: "客户名称",
           key: "title",
           align: "center",
           tooltip: true,
-          minWidth: 140,
+          resizable: true,
+          width: 240,
         },
         {
           title: "折扣率(%)",
           key: "fax",
           align: "center",
           tooltip: true,
-          minWidth: 140,
+           resizable: true,
+          width: 200,
         },
         {
           title: "专营业务员",
           key: "nickname",
           align: "center",
           tooltip: true,
-          minWidth: 140,
+          resizable: true,
+          width: 240,
         },
         // {
         //   title: '专营业务员', key: 'service_id', align: 'center', tooltip: true, minWidth: 140,
@@ -279,7 +283,8 @@ export default {
           key: "plan_title",
           align: "center",
           tooltip: true,
-          minWidth: 140,
+           resizable: true,
+              width: 240,
           // render: (h, params) => {
           //   const { row } = params
           //   let text
@@ -293,7 +298,8 @@ export default {
           title: "是否启用",
           key: "lock",
           align: "center",
-          minWidth: 100,
+           resizable: true,
+             width: 100,
           render: (h, params) => {
             const { row } = params;
             return h("span", {}, row.lock == 1 ? "是" : "否");
@@ -304,7 +310,8 @@ export default {
           key: "crt_time",
           align: "center",
           tooltip: true,
-          minWidth: 140,
+          resizable: true,
+           width: 240,
           render: (h, params) => {
             return h("span", {}, this.func.replaceDate(params.row.crt_time));
           },

+ 5 - 5
src/views/BasicSettings/CustomerProductPrice/list.vue

@@ -73,27 +73,27 @@ export default {
           title: "客户分类编码",
           key: "type_code",
           align: "center",
-          minWidth: 140,
+         resizable: true,width: 340,
         },
         {
           title: "客户分类名称",
           key: "type_title",
           align: "center",
-          minWidth: 140,
+         resizable: true,width: 340,
         },
         {
           title: "客户编码",
           key: "code",
           align: "center",
           tooltip: true,
-          minWidth: 140,
+          resizable: true,width: 340,
         },
         {
           title: "客户名称",
           key: "title",
           align: "center",
           tooltip: true,
-          minWidth: 140,
+          resizable: true,width: 340,
         },
         // {
         //   title: '审核人', key: 'service_id', align: 'center', tooltip: true, minWidth: 140,
@@ -114,7 +114,7 @@ export default {
         //     return h('span', {}, text)
         //   }
         // },
-        { title: "操作", key: "", align: "center", slot: "set", width: 300 },
+        { title: "操作", key: "", align: "center", slot: "set", minWidth: 300 },
       ],
       type: null,
       userList: [],

+ 1 - 1
src/views/ProductionOrderList/Dispatchlist/confirm.vue

@@ -155,7 +155,7 @@ export default {
           filterable: true,
           name: "Select",
           value: "",
-          optionName: "username",
+          optionName: "title",
           optionValue: "title",
           serverName: "title",
           option: this.users,

+ 22 - 22
src/views/leadMatch/MatchList/matchPage.vue

@@ -789,7 +789,7 @@ export default {
         {
           title: "选择",
           align: "center",
-          resizable: true,width: 60,
+         minWidth: 60,
           render: (h, params) => {
             let id = params.row.id;
             let flag = false;
@@ -815,10 +815,10 @@ export default {
             ]);
           },
         },
-        { title: "序号", align: "center", type: "index", resizable: true,width: 60 },
-        { title: "部件名称", align: "center", key: "part_name", resizable: true,width: 100 },
-        { title: "行号", align: "center", key: "line", resizable: true,width: 70 },
-        { title: "木皮1", align: "center", key: "skin1", resizable: true,width: 60 },
+        { title: "序号", align: "center", type: "index",minWidth: 60 },
+        { title: "部件名称", align: "center", key: "part_name", minWidth: 100 },
+        { title: "行号", align: "center", key: "line", minWidth: 70 },
+        { title: "木皮1", align: "center", key: "skin1", minWidth: 60 },
         {
           title: "原材料",
           align: "center",
@@ -827,38 +827,38 @@ export default {
             return h("span", {}, params.row.board1 + ";" + params.row.board2);
           },
         },
-        { title: "木皮2", align: "center", key: "skin2", resizable: true,width: 60 },
-        { title: "毛料尺寸", align: "center", key: "wool_size", resizable: true,width: 80 },
+        { title: "木皮2", align: "center", key: "skin2", minWidth: 60 },
+        { title: "毛料尺寸", align: "center", key: "wool_size", minWidth: 80 },
         {
           title: "原料数量",
           align: "center",
           key: "wool_number",
-          resizable: true,width: 80,
+          minWidth: 80,
         },
-        { title: "精裁尺寸", align: "center", key: "cut_size", resizable: true,width: 80 },
+        { title: "精裁尺寸", align: "center", key: "cut_size", minWidth: 80 },
         {
           title: "零部件数量",
           align: "center",
           key: "cut_number",
-         resizable: true,width: 90,
+         minWidth: 90,
         },
         {
           title: "未匹配数量",
           align: "center",
           key: "unbind_number",
-         resizable: true,width: 90,
+         minWidth: 90,
         },
-        { title: "贴皮面积", align: "center", key: "stick", resizable: true,width: 80 },
-        { title: "精裁面积", align: "center", key: "cut",resizable: true,width: 80 },
-        { title: "工艺要求", align: "center", key: "remark", resizable: true,width: 80 },
+        { title: "贴皮面积", align: "center", key: "stick", minWidth: 80 },
+        { title: "精裁面积", align: "center", key: "cut",minWidth: 80 },
+        { title: "工艺要求", align: "center", key: "remark", minWidth: 80 },
       ], //未匹配码单表头
       unmatchedRoomTableColumns: [
-        { title: "全选", align: "center", resizable: true,width: 60, type: "selection" },
-        { title: "序号", align: "center", type: "index", resizable: true,width: 60 },
-        { title: "区域", align: "center", key: "region", resizable: true,width: 60 },
-        { title: "楼栋", align: "center", key: "house", resizable: true,width: 60 },
-        { title: "单元", align: "center", key: "unit", resizable: true,width: 60 },
-        { title: "楼层", align: "center", key: "layer", resizable: true,width: 60 },
+        { title: "全选", align: "center", minWidth: 60, type: "selection" },
+        { title: "序号", align: "center", type: "index", minWidth: 60 },
+        { title: "区域", align: "center", key: "region", minWidth: 60 },
+        { title: "楼栋", align: "center", key: "house", minWidth: 60 },
+        { title: "单元", align: "center", key: "unit", minWidth: 60 },
+        { title: "楼层", align: "center", key: "layer", minWidth: 60 },
         { title: "房号", align: "center", key: "number", minWidth: 60 },
       ], //未匹配房间表头
       unmatchedRoomTableColumnsUsed: [],
@@ -1026,7 +1026,7 @@ export default {
                 this.unmatchedRoomList.house_list = res.data.house_list;
                 this.unmatchedRoomTableColumnsUsed = this.unmatchedRoomTableColumns.concat(
                   res.data.head_word.map((v) => {
-                    return { title: v, align: "center", key: v, resizable: true,width: 60 };
+                    return { title: v, align: "center", key: v, minWidth: 60 };
                   })
                 );
                 this.copy_unmatchedRoomTableColumnsUsed = JSON.parse(JSON.stringify(this.unmatchedRoomTableColumnsUsed));
@@ -1072,7 +1072,7 @@ export default {
                 this.unmatchedRoomList.house_list = res.data.house_list;
                 this.unmatchedRoomTableColumnsUsed = this.unmatchedRoomTableColumns.concat(
                   res.data.head_word.map((v) => {
-                    return { title: v, align: "center", key: v,resizable: true,width: 60 };
+                    return { title: v, align: "center", key: v,minWidth: 60 };
                   })
                 );
                 this.unmatchedRoomTableColumnsModal = this.unmatchedRoomTableColumnsUsed.concat(