bug修改
This commit is contained in:
@@ -73,20 +73,22 @@ export default {
|
||||
{ required: true, message: '请输入新密码!' },
|
||||
{
|
||||
pattern: /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,./]).{8,}$/,
|
||||
message: '密码由8位数字、大小写字母和特殊符号组成!'
|
||||
message: '密码由8位及以上数字、大小写字母和特殊符号组成!'
|
||||
},
|
||||
{ validator: this.validateToNextPassword }
|
||||
]
|
||||
],
|
||||
validateTrigger: 'blur'
|
||||
},
|
||||
confirmpassword: {
|
||||
rules: [
|
||||
{ required: true, message: '请确认新密码!' },
|
||||
{
|
||||
pattern: /^(?=.*[a-zA-Z])(?=.*\d)(?=.*[~!@#$%^&*()_+`\-={}:";'<>?,./]).{8,}$/,
|
||||
message: '密码由8位数字、大小写字母和特殊符号组成!'
|
||||
message: '密码由8位及以上数字、大小写字母和特殊符号组成!'
|
||||
},
|
||||
{ validator: this.compareToFirstPassword }
|
||||
]
|
||||
],
|
||||
validateTrigger: 'blur'
|
||||
}
|
||||
},
|
||||
confirmDirty: false,
|
||||
|
||||
@@ -152,7 +152,7 @@ const columns = [
|
||||
{
|
||||
title: '开票人',
|
||||
align: 'center',
|
||||
dataIndex: 'createBy'
|
||||
dataIndex: 'realName'
|
||||
},
|
||||
{
|
||||
title: '日期',
|
||||
@@ -177,7 +177,7 @@ const columns = [
|
||||
{
|
||||
title: '邮寄人',
|
||||
align: 'center',
|
||||
dataIndex: 'contactName'
|
||||
dataIndex: 'updateBy'
|
||||
},
|
||||
{
|
||||
title: '快递',
|
||||
|
||||
@@ -50,6 +50,15 @@
|
||||
{{ text }}
|
||||
</a-tooltip>
|
||||
</template>
|
||||
<!-- 金额-->
|
||||
<template v-slot:money="{record,text}">
|
||||
<a-tooltip>
|
||||
<template slot="title">
|
||||
{{ text }}元
|
||||
</template>
|
||||
{{ text }}元
|
||||
</a-tooltip>
|
||||
</template>
|
||||
</project-table>
|
||||
</a-spin>
|
||||
</div>
|
||||
@@ -88,7 +97,7 @@ export default {
|
||||
}, {
|
||||
title: '合同金额',
|
||||
dataIndex: 'contractAmount',
|
||||
scopedSlots: 'text',
|
||||
scopedSlots: 'money',
|
||||
col: 5
|
||||
}, {
|
||||
title: '负责人',
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<a-row>
|
||||
<a-col :span="6">合同金额:</a-col>
|
||||
<a-col :span="18">
|
||||
<j-ellipsis :value="contractDetail.contractAmount" :length="20"></j-ellipsis>
|
||||
<j-ellipsis :value="`${contractDetail.contractAmount}元`" :length="20"></j-ellipsis>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-col>
|
||||
|
||||
Reference in New Issue
Block a user