【修改】修改手机正则表达式 调整打包管理 收入合同 支出合同列宽

This commit is contained in:
fengachen
2022-01-19 10:58:13 +08:00
parent df5d8e2e12
commit 8d4d603325
4 changed files with 20 additions and 20 deletions
+2 -1
View File
@@ -35,9 +35,10 @@ export function passwordReg(s) {
/**
* 手机号
* /^((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(17[0135678])|(18[0-9])|(19[8|9])|(16[6]))\d{8}$/
* */
export function phoneReg(s) {
return /^((13[0-9])|(14[579])|(15([0-3]|[5-9]))|(17[0135678])|(18[0-9])|(19[8|9])|(16[6]))\d{8}$/.test(s)
return /^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(s)
}
/**
@@ -179,44 +179,44 @@ export default {
}, {
title: '合同编号',
align: 'center',
width: 280,
width: 200,
dataIndex: 'contractNum',
scopedSlots: { customRender: 'projectName' }
}, {
title: '合同名称',
align: 'center',
dataIndex: 'contractName',
width: 280,
width: 220,
scopedSlots: { customRender: 'text' }
}, {
title: '签订单位',
align: 'center',
dataIndex: 'signedCompanyTemporaryName',
width: 280,
width: 220,
scopedSlots: { customRender: 'text' }
}, {
title: '负责人',
align: 'center',
dataIndex: 'principalName',
width: 280,
width: 160,
scopedSlots: { customRender: 'text' }
}, {
title: '合同总金额',
align: 'center',
dataIndex: 'contractAmount',
width: 200,
width: 160,
scopedSlots: { customRender: 'text' }
}, {
title: '状态',
align: 'center',
dataIndex: 'status_dictText',
width: 150,
width: 100,
scopedSlots: { customRender: 'text' }
}, {
title: '创建时间',
align: 'center',
dataIndex: 'createTime',
width: 250
width: 200
}, {
title: '操作',
dataIndex: 'action',
@@ -207,48 +207,48 @@ export default {
title: '合同编号',
align: 'center',
dataIndex: 'contractNum',
width: 280,
width: 240,
scopedSlots: { customRender: 'projectName' }
}, {
title: '合同名称',
align: 'center',
dataIndex: 'contractName',
width: 280,
width: 240,
scopedSlots: { customRender: 'text' }
}, {
title: '关联项目',
align: 'center',
dataIndex: 'associatedProject',
width: 280,
width: 240,
scopedSlots: { customRender: 'text' }
}, {
title: '签订单位',
align: 'center',
dataIndex: 'signedCompanyTemporaryName',
width: 280,
width: 240,
scopedSlots: { customRender: 'text' }
}, {
title: '签订联系人',
align: 'center',
dataIndex: 'signedContactsTemporaryName',
width: 280,
width: 160,
scopedSlots: { customRender: 'text' }
}, {
title: '合同总金额',
align: 'center',
dataIndex: 'contractAmount',
width: 250
width: 160
}, {
title: '状态',
align: 'center',
dataIndex: 'status_dictText',
width: 250,
width: 100,
scopedSlots: { customRender: 'text' }
}, {
title: '创建时间',
align: 'center',
dataIndex: 'createTime',
width: 250
width: 200
}, {
title: '操作',
dataIndex: 'action',
+3 -4
View File
@@ -110,20 +110,20 @@ export default {
}, {
title: '企业名称',
align: 'center',
width: 280,
width: 240,
dataIndex: 'companyTemporaryName',
scopedSlots: { customRender: 'projectName' }
},
{
title: '企业联系人',
align: 'center',
width: 280,
width: 240,
dataIndex: 'companyContactTemporaryName',
scopedSlots: { customRender: 'text' }
},{
title: '打包联系人',
align: 'center',
width: 280,
width: 240,
dataIndex: 'packContactTemporaryName',
scopedSlots: { customRender: 'text' }
}, {
@@ -141,7 +141,6 @@ export default {
}, {
title: '打包年份',
align: 'center',
width: 140,
dataIndex: 'packYear',
scopedSlots: { customRender: 'text' }
},