修复发票编辑时候异常
This commit is contained in:
@@ -70,14 +70,21 @@
|
||||
title-width="132rpx"
|
||||
border="{{ false }}"
|
||||
/>
|
||||
<van-field
|
||||
wx:elif="{{editType === 'edit' && formData.headerType === 0 }}"
|
||||
value="{{formData.name || '--'}}"
|
||||
label="发票抬头"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
readonly="{{true}}"
|
||||
disabled="{{true}}"
|
||||
title-width="132rpx"
|
||||
border="{{ true }}"
|
||||
/>
|
||||
<van-field
|
||||
wx:else
|
||||
value="{{formData.name}}"
|
||||
label="发票抬头"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
disabled="{{formData.headerType !== 1}}"
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
title-width="132rpx"
|
||||
bind:change="onChangeText"
|
||||
data-name="name"
|
||||
@@ -102,8 +109,6 @@
|
||||
placeholder="{{editType === 'edit' ? '请输入发票税号' : ''}}"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
readonly="{{editType === 'detail'}}"
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
title-width="132rpx"
|
||||
bind:change="onChangeText"
|
||||
data-name="tin"
|
||||
@@ -126,8 +131,6 @@
|
||||
wx:if="{{editType === 'edit' && formData.headerType === 0}}"
|
||||
placeholder="{{'请输入开户行'}}"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
title-width="132rpx"
|
||||
border="{{ editType === 'detail' ? false : true }}"
|
||||
bind:change="onChangeText"
|
||||
@@ -154,8 +157,6 @@
|
||||
placeholder="{{editType === 'edit' ? '请输入银行账号' : ''}}"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
readonly="{{editType === 'detail'}}"
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
title-width="132rpx"
|
||||
border="{{ editType === 'detail' ? false : true }}"
|
||||
bind:change="onChangeText"
|
||||
@@ -182,8 +183,6 @@
|
||||
placeholder="{{editType === 'edit' ? '请输入地址' : ''}}"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
readonly="{{editType === 'detail'}}"
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
title-width="132rpx"
|
||||
border="{{ editType === 'detail' ? false : true }}"
|
||||
bind:change="onChangeText"
|
||||
@@ -210,8 +209,6 @@
|
||||
placeholder="{{editType === 'edit' ? '请输入电话' : ''}}"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
readonly="{{editType === 'detail'}}"
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
title-width="132rpx"
|
||||
border="{{ editType === 'detail' ? false : true }}"
|
||||
bind:change="onChangeText"
|
||||
@@ -237,8 +234,6 @@
|
||||
placeholder="{{editType === 'edit' ? '请输入备注' : ''}}"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
readonly="{{editType === 'detail'}}"
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
title-width="132rpx"
|
||||
border="{{ editType === 'detail' ? false : true }}"
|
||||
bind:change="onChangeText"
|
||||
@@ -269,8 +264,6 @@
|
||||
label="电子邮箱"
|
||||
custom-style="padding-left: 0; padding-right: 0;"
|
||||
readonly="{{editType === 'detail'}}"
|
||||
autosize="{{true}}"
|
||||
type="textarea"
|
||||
title-width="132rpx"
|
||||
border="{{ editType === 'detail' ? false : true }}"
|
||||
bind:change="onChangeText"
|
||||
|
Reference in New Issue
Block a user