From 146807f002e654ac5fa96b75a65ebad830fc218c Mon Sep 17 00:00:00 2001 From: zxx <47968546@163.com> Date: Fri, 29 Mar 2024 11:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/zk/zkSelectSearch.vue | 2 +- .../transport/Custom/BalanceLog/List.vue | 2 +- .../Middle/transport/Custom/Custom/List.vue | 23 ++-- .../DriverWages/DriverWages/List.vue | 119 ++++++++++++------ .../DriverWagesGiornaleLog/List.vue | 2 +- .../Maintenance/Maintenance/List.vue | 14 +-- .../MaintenanceGiornaleLog/List.vue | 44 ++++++- .../Maintenance/OtherExpensesLog/List.vue | 44 ++++++- .../OilConsumption/OilConsumption/List.vue | 44 ++++++- .../SoilQualityMaterial/Edit.vue | 8 +- .../SoilQualityMaterial/List.vue | 2 +- .../SoilQualityMaterialAlias/List.vue | 2 +- src/pages/Middle/transport/Tire/Tire/List.vue | 47 ++++++- .../TrainNumber/TrainNumber/List.vue | 110 +++++++++++++--- 14 files changed, 372 insertions(+), 91 deletions(-) diff --git a/src/components/zk/zkSelectSearch.vue b/src/components/zk/zkSelectSearch.vue index 188b3f2..3a07cdd 100644 --- a/src/components/zk/zkSelectSearch.vue +++ b/src/components/zk/zkSelectSearch.vue @@ -3,7 +3,7 @@ show-search :value="value" :placeholder="ListTitle" - style="width: 200px" + style="width: 100%" :default-active-first-option="false" :show-arrow="false" :filter-option="false" diff --git a/src/pages/Middle/transport/Custom/BalanceLog/List.vue b/src/pages/Middle/transport/Custom/BalanceLog/List.vue index f92b043..657e727 100644 --- a/src/pages/Middle/transport/Custom/BalanceLog/List.vue +++ b/src/pages/Middle/transport/Custom/BalanceLog/List.vue @@ -16,7 +16,7 @@ - + diff --git a/src/pages/Middle/transport/Custom/Custom/List.vue b/src/pages/Middle/transport/Custom/Custom/List.vue index b906873..5d4cc59 100644 --- a/src/pages/Middle/transport/Custom/Custom/List.vue +++ b/src/pages/Middle/transport/Custom/Custom/List.vue @@ -16,7 +16,7 @@ - + @@ -114,8 +114,8 @@ export default { ], //搜索区 searchFormItems: [ // 子项 - {field: 'code', title: '编码', span: 4, itemRender: {name: '$input', props: {placeholder: '请输入编码'}}}, - {field: 'name', title: '名称', span: 4, itemRender: {name: '$input', props: {placeholder: '请输入名称'}}}, + {field: 'code', title: '编码', span: 2, itemRender: {name: '$input', props: {placeholder: '请输入编码'}}}, + {field: 'name', title: '名称', span: 3, itemRender: {name: '$input', props: {placeholder: '请输入名称'}}}, {field: 'type', title: '类型', span: 3, itemRender: { name: '$select', props: {options:[{value:'',label:"====全部===="},{value:"0",label:"客户"},{value:"1",label:"供应商"}] } }}, {field: 'status', title: '状态', span: 3, itemRender: { name: '$select', props: {options:[{value:'',label:"====全部===="},{value:"0",label:"禁用"},{value:"1",label:"启用"}] } }}, {span: 6, slots: {default: 'date'}}, // 自定义列 @@ -175,25 +175,25 @@ export default { // =============================== 表格列 自动生成 Start =============================== - {field: 'code', sortable: true, title: '编码', width: 150}, // 编码 + {field: 'code', sortable: true, title: '编码', width: 80}, // 编码 {field: 'name', title: '名称', width: 150}, // 名称 - {field: 'type', sortable: true, title: '类型',formatter: this.formatType, width: 120}, // 客户类型 + {field: 'type', sortable: true, title: '类型',formatter: this.formatType, width: 100}, // 客户类型 {field: 'industry', sortable: true, title: '行业', width: 120}, // 客户行业 {field: 'contact', title: '联系人', width: 120}, // 客户联系人 {field: 'total_balance', sortable: true, title: '总结余(元)', width: 120}, // 总结余 - {field: 'contact_phone', sortable: true, title: '联系人电话', width: 120}, // 客户联系人电话 - {field: 'total_ton', sortable: true, title: '总计交易吨数', width: 150}, // 总计交易吨数 - {field: 'total_count', sortable: true, title: '总计交易次数', width: 150}, // 总计交易次数 - {field: 'last_time', sortable: true, title: '最后交易时间',formatter: 'formatDate', width: 250}, // 最后交易时间 + {field: 'contact_phone', sortable: true, title: '联系人电话', width: 115}, // 客户联系人电话 + {field: 'total_ton', sortable: true, title: '总计交易吨数', width: 130}, // 总计交易吨数 + {field: 'total_count', sortable: true, title: '总计交易次数', width: 130}, // 总计交易次数 + {field: 'last_time', sortable: true, title: '最后交易时间',formatter: 'formatDate', width: 130}, // 最后交易时间 { field: 'create_time', formatter: 'formatDate', - width: 250, + width: 100, sortable: true, title: '创建时间', showHeaderOverflow: true }, // 创建时间 - {field: 'total_amount', sortable: true, title: '总交易金额', width: 150}, // 总交易金额 + {field: 'total_amount', sortable: true, title: '总交易金额', width: 130}, // 总交易金额 {field: 'remark', sortable: true, title: '备注', width: 250}, // 备注 { field: 'status', @@ -375,6 +375,7 @@ export default { onSearch() { this.$refs.xGrid.commitProxy('query') // 提交搜索 }, + pageDetail(row){ console.log("list row",row) if (!row) { // 如果没有选中行 diff --git a/src/pages/Middle/transport/DriverWages/DriverWages/List.vue b/src/pages/Middle/transport/DriverWages/DriverWages/List.vue index f096334..1426d79 100644 --- a/src/pages/Middle/transport/DriverWages/DriverWages/List.vue +++ b/src/pages/Middle/transport/DriverWages/DriverWages/List.vue @@ -5,6 +5,14 @@ + +