Commit 20500911 by 张权

表格宽度微调

1 parent 79e14216
...@@ -128,13 +128,14 @@ export default { ...@@ -128,13 +128,14 @@ export default {
tableColumns: [ tableColumns: [
{ {
label: '特约名称', label: '特约名称',
prop: 'spaName' prop: 'spaName',
width: 400
}, },
{ {
label: '特约内容', label: '特约内容',
prop: 'spaContent', prop: 'spaContent',
line:2, line: 2,
width:160 width: 400
}, },
{ {
...@@ -145,6 +146,7 @@ export default { ...@@ -145,6 +146,7 @@ export default {
{ {
label: '创建时间', label: '创建时间',
prop: 'createdDate', prop: 'createdDate',
width:220,
formatter: cellValue => { formatter: cellValue => {
return this.date_format(cellValue.createdDate) return this.date_format(cellValue.createdDate)
} }
...@@ -153,6 +155,7 @@ export default { ...@@ -153,6 +155,7 @@ export default {
{ {
label: '更新时间', label: '更新时间',
prop: 'updatedDate', prop: 'updatedDate',
width:220,
formatter: cellValue => { formatter: cellValue => {
return this.date_format(cellValue.updatedDate) return this.date_format(cellValue.updatedDate)
} }
......
...@@ -358,7 +358,7 @@ export default { ...@@ -358,7 +358,7 @@ export default {
{ {
label: '合同号', label: '合同号',
prop: 'contractNo', prop: 'contractNo',
width: '200px', width: 250,
formatter: cellValue => { formatter: cellValue => {
return [2, 4, 5].includes(cellValue.orderStatus) ? cellValue.contractNo || '-' : '-' return [2, 4, 5].includes(cellValue.orderStatus) ? cellValue.contractNo || '-' : '-'
} }
...@@ -367,7 +367,7 @@ export default { ...@@ -367,7 +367,7 @@ export default {
label: '提单成功时间', label: '提单成功时间',
line: 1, line: 1,
prop: 'successDate', prop: 'successDate',
width: '160px', width: 200,
formatter: cellValue => { formatter: cellValue => {
return cellValue.successDate ? dayjs(cellValue.successDate).format('YYYY-MM-DD HH:mm:ss') : '-' return cellValue.successDate ? dayjs(cellValue.successDate).format('YYYY-MM-DD HH:mm:ss') : '-'
} }
...@@ -471,6 +471,7 @@ export default { ...@@ -471,6 +471,7 @@ export default {
{ {
label: '服务期限', label: '服务期限',
line: 1, line: 1,
width: 130,
prop: 'servicePeriod', prop: 'servicePeriod',
formatter: cellValue => { formatter: cellValue => {
return cellValue.servicePeriod ? `${cellValue.servicePeriod}年` : '-' return cellValue.servicePeriod ? `${cellValue.servicePeriod}年` : '-'
...@@ -570,7 +571,7 @@ export default { ...@@ -570,7 +571,7 @@ export default {
// }, // },
{ {
label: '省代', label: '省代',
line: 1, width: 150,
prop: 'provinceMerchantName', prop: 'provinceMerchantName',
formatter: cellValue => { formatter: cellValue => {
return cellValue.provinceMerchantName || '-' return cellValue.provinceMerchantName || '-'
...@@ -578,7 +579,7 @@ export default { ...@@ -578,7 +579,7 @@ export default {
}, },
{ {
label: '市代', label: '市代',
line: 1, width: 150,
prop: 'cityMerchantName', prop: 'cityMerchantName',
formatter: cellValue => { formatter: cellValue => {
return cellValue.cityMerchantName || '-' return cellValue.cityMerchantName || '-'
......
...@@ -117,7 +117,6 @@ export default { ...@@ -117,7 +117,6 @@ export default {
{ {
label: '商户名称', label: '商户名称',
prop: 'merchantName', prop: 'merchantName',
width:250
}, },
{ {
label: '商户号', label: '商户号',
...@@ -133,7 +132,6 @@ export default { ...@@ -133,7 +132,6 @@ export default {
{ {
prop: 'createdDate', prop: 'createdDate',
label: '开通时间', label: '开通时间',
width:220,
formatter: cellValue => { formatter: cellValue => {
return this.date_format(cellValue.createdDate) return this.date_format(cellValue.createdDate)
} }
...@@ -144,7 +142,6 @@ export default { ...@@ -144,7 +142,6 @@ export default {
}, },
{ {
label: '操作', label: '操作',
minWidth: '200',
addHtml: 'operate' addHtml: 'operate'
}, },
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!