纸通宝SAAS仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

24 lines
1.4 KiB

<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">员工资料</view>
</cu-custom>
<view wx:if="{{form}}">
<van-notice-bar color="#1989fa" background="#008AFF" left-icon="info-o" text="{{form.id ? '点击可以修改客户信息' : '添加客户信息'}}" />
<van-field value="{{ form.enterpriseMemberId }}" label="员工编号:" disabled wx:if="{{ form.enterpriseMemberId }}"/>
<van-field id="name" value="{{ form.enterpriseMemberName || form.name }}" label="员工姓名:" placeholder="请输入客户姓名" bind:input="bindInput"/>
<van-field id="mobile" value="{{ form.mobile }}" type="number" label="手机号码:" placeholder="请输入手机号码" bind:input="bindInput"/>
<van-field value="{{ form.defaultPaymentMethod ? form.defaultPaymentMethod == 2 ? '转账' : '现金' : '请选择角色'}}" readonly label="员工角色:" is-link bindtap="chooseMethod" />
<view style="height:32rpx"></view>
<view style="margin-top:20rpx;padding:48rpx 32rpx">
<van-button block type="danger" bind:click="registCustomer">删除</van-button>
<view style="height:36rpx"></view>
<van-button block type="info" bind:click="submitForm">保存</van-button>
</view>
</view>
<van-popup position="bottom" show="{{ visible }}" bind:close="onHide" z-index="29">
<van-picker show-toolbar title="选择银行" columns="{{ bankList }}" bind:cancel="onHide" bind:confirm="onConfirm" />
</van-popup>
<notification id="qn-notification"/>