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

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) { 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: '合同编号', title: '合同编号',
align: 'center', align: 'center',
width: 280, width: 200,
dataIndex: 'contractNum', dataIndex: 'contractNum',
scopedSlots: { customRender: 'projectName' } scopedSlots: { customRender: 'projectName' }
}, { }, {
title: '合同名称', title: '合同名称',
align: 'center', align: 'center',
dataIndex: 'contractName', dataIndex: 'contractName',
width: 280, width: 220,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '签订单位', title: '签订单位',
align: 'center', align: 'center',
dataIndex: 'signedCompanyTemporaryName', dataIndex: 'signedCompanyTemporaryName',
width: 280, width: 220,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '负责人', title: '负责人',
align: 'center', align: 'center',
dataIndex: 'principalName', dataIndex: 'principalName',
width: 280, width: 160,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '合同总金额', title: '合同总金额',
align: 'center', align: 'center',
dataIndex: 'contractAmount', dataIndex: 'contractAmount',
width: 200, width: 160,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '状态', title: '状态',
align: 'center', align: 'center',
dataIndex: 'status_dictText', dataIndex: 'status_dictText',
width: 150, width: 100,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '创建时间', title: '创建时间',
align: 'center', align: 'center',
dataIndex: 'createTime', dataIndex: 'createTime',
width: 250 width: 200
}, { }, {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
@@ -207,48 +207,48 @@ export default {
title: '合同编号', title: '合同编号',
align: 'center', align: 'center',
dataIndex: 'contractNum', dataIndex: 'contractNum',
width: 280, width: 240,
scopedSlots: { customRender: 'projectName' } scopedSlots: { customRender: 'projectName' }
}, { }, {
title: '合同名称', title: '合同名称',
align: 'center', align: 'center',
dataIndex: 'contractName', dataIndex: 'contractName',
width: 280, width: 240,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '关联项目', title: '关联项目',
align: 'center', align: 'center',
dataIndex: 'associatedProject', dataIndex: 'associatedProject',
width: 280, width: 240,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '签订单位', title: '签订单位',
align: 'center', align: 'center',
dataIndex: 'signedCompanyTemporaryName', dataIndex: 'signedCompanyTemporaryName',
width: 280, width: 240,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '签订联系人', title: '签订联系人',
align: 'center', align: 'center',
dataIndex: 'signedContactsTemporaryName', dataIndex: 'signedContactsTemporaryName',
width: 280, width: 160,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '合同总金额', title: '合同总金额',
align: 'center', align: 'center',
dataIndex: 'contractAmount', dataIndex: 'contractAmount',
width: 250 width: 160
}, { }, {
title: '状态', title: '状态',
align: 'center', align: 'center',
dataIndex: 'status_dictText', dataIndex: 'status_dictText',
width: 250, width: 100,
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
title: '创建时间', title: '创建时间',
align: 'center', align: 'center',
dataIndex: 'createTime', dataIndex: 'createTime',
width: 250 width: 200
}, { }, {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',
+3 -4
View File
@@ -110,20 +110,20 @@ export default {
}, { }, {
title: '企业名称', title: '企业名称',
align: 'center', align: 'center',
width: 280, width: 240,
dataIndex: 'companyTemporaryName', dataIndex: 'companyTemporaryName',
scopedSlots: { customRender: 'projectName' } scopedSlots: { customRender: 'projectName' }
}, },
{ {
title: '企业联系人', title: '企业联系人',
align: 'center', align: 'center',
width: 280, width: 240,
dataIndex: 'companyContactTemporaryName', dataIndex: 'companyContactTemporaryName',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
},{ },{
title: '打包联系人', title: '打包联系人',
align: 'center', align: 'center',
width: 280, width: 240,
dataIndex: 'packContactTemporaryName', dataIndex: 'packContactTemporaryName',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, { }, {
@@ -141,7 +141,6 @@ export default {
}, { }, {
title: '打包年份', title: '打包年份',
align: 'center', align: 'center',
width: 140,
dataIndex: 'packYear', dataIndex: 'packYear',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'text' }
}, },