|
|
@@ -6,22 +6,22 @@
|
|
|
<!-- <u-text text="Vip." color="#000000" slot="prefix" margin="0 3px 0 0" type="tips"></u-text>-->
|
|
|
<!-- </u-input>-->
|
|
|
<!-- </u-form-item>-->
|
|
|
- <u-form-item labelWidth="auto" label="亲友手机号" prop="memberPhone" borderBottom>
|
|
|
+ <u-form-item labelWidth="auto" label="亲属手机号" prop="memberPhone" borderBottom>
|
|
|
<view class="flex-row">
|
|
|
- <u-input v-model="form.memberPhone" type="number" placeholder="请输入亲友手机号" border="none"></u-input>
|
|
|
+ <u-input v-model="form.memberPhone" type="number" placeholder="请输入亲属手机号" border="none"></u-input>
|
|
|
<view class="customStyle" @click="getMemberList">
|
|
|
<tex>查询</tex>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-form-item>
|
|
|
|
|
|
- <u-form-item v-if="isSelectRelation" labelWidth="auto" label="亲友关系" prop="relation" borderBottom @click="showRelation = true" ref="item1">
|
|
|
- <u--input v-model="form.relation" disabled disabledColor="#ffffff" placeholder="请选择亲友关系" border="none"></u--input>
|
|
|
+ <u-form-item v-if="isSelectRelation" labelWidth="auto" label="亲属关系" prop="relation" borderBottom @click="showRelation = true" ref="item1">
|
|
|
+ <u--input v-model="form.relation" disabled disabledColor="#ffffff" placeholder="请选择亲属关系" border="none"></u--input>
|
|
|
<u-icon slot="right" name="arrow-right"></u-icon>
|
|
|
</u-form-item>
|
|
|
|
|
|
- <u-form-item v-else labelWidth="auto" label="亲友关系" prop="relation" borderBottom ref="item2">
|
|
|
- <u--input v-model="form.relation" disabledColor="#ffffff" placeholder="请输入亲友关系" border="none"></u--input>
|
|
|
+ <u-form-item v-else labelWidth="auto" label="亲属关系" prop="relation" borderBottom ref="item2">
|
|
|
+ <u--input v-model="form.relation" disabledColor="#ffffff" placeholder="请输入亲属关系" border="none"></u--input>
|
|
|
</u-form-item>
|
|
|
|
|
|
<!-- <u-form-item labelWidth="auto" label="每月消费上限" prop="amountCap">-->
|
|
|
@@ -40,7 +40,7 @@
|
|
|
<uni-popup ref="popup" type="bottom" @change="popupChange">
|
|
|
<view class="popup">
|
|
|
<view class="flex-row justify-center popupTitle">
|
|
|
- <text>选择亲友</text>
|
|
|
+ <text>选择亲属</text>
|
|
|
</view>
|
|
|
<view class="popupContent">
|
|
|
<view class="flex-row popupItem" v-for="(item,index) in memberList" :key="index" @click="selectMember(item)">
|
|
|
@@ -61,7 +61,7 @@
|
|
|
</uni-popup>
|
|
|
|
|
|
|
|
|
- <u-action-sheet :show="showRelation" :actions="actions" title="请选择亲友关系" @close="showRelation = false" @select="relationSelect">
|
|
|
+ <u-action-sheet :show="showRelation" :actions="actions" title="请选择亲属关系" @close="showRelation = false" @select="relationSelect">
|
|
|
</u-action-sheet>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -112,7 +112,7 @@
|
|
|
'relation': {
|
|
|
type: 'string',
|
|
|
required: true,
|
|
|
- message: '请选择亲友关系',
|
|
|
+ message: '请选择亲属关系',
|
|
|
trigger: ['blur', 'change']
|
|
|
},
|
|
|
}
|
|
|
@@ -194,7 +194,7 @@
|
|
|
},
|
|
|
relationSelect(e) {
|
|
|
if (e.name === '自定义'){
|
|
|
- this.rules.relation.message = '请输入亲友关系'
|
|
|
+ this.rules.relation.message = '请输入亲属关系'
|
|
|
this.isSelectRelation = false
|
|
|
}else {
|
|
|
this.form.relation = e.name
|