| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <!-- 导航栏 -->
- <van-nav-bar custom-style="background-color: #E92020">
- <van-icon slot="left" name="arrow-left" size="25px" color="white" bind:click="backToParent"/>
- <text slot="title" style="color: white;">发票操作</text>
- </van-nav-bar>
- <van-cell-group>
- <!-- 发票类型 -->
- <view class="type">
- <text class="label">发票类型</text>
- <view class="type-selsct" id="type-selsct" bindtap="onButtonPressed">{{type == 1 ? "个人" : "企业"}}</view>
- <van-icon name="arrow" size="10px" color="#666"></van-icon>
- </view>
- <!-- 发票抬头 -->
- <van-field model:value="{{ inname }}" clearable label="发票抬头" placeholder="抬头名称" />
- <!-- 税号 -->
- <van-field wx:if="{{type != 1}}" model:value="{{ inno }}" type="number" clearable label="税号" placeholder="纳税人识别号"/>
- <!-- 开户银行 -->
- <van-field wx:if="{{type != 1}}" model:value="{{ bankname }}" type="number" clearable label="开户银行" placeholder="选填"/>
- <!-- 银行账号 -->
- <van-field wx:if="{{type != 1}}" model:value="{{ bankno }}" type="number" clearable label="银行账号" placeholder="选填"/>
- <!-- 企业地址 -->
- <van-field wx:if="{{type != 1}}" model:value="{{ inaddress }}" type="number" clearable label="企业地址" placeholder="选填"/>
- <!-- 企业电话 -->
- <van-field wx:if="{{type != 1}}" model:value="{{ inmobile }}" type="number" clearable autosize label="企业电话" placeholder="选填"/>
- </van-cell-group>
- <!-- 底部视图 -->
- <view class="buttom_view">
- <van-button round id = "confirm" color="linear-gradient(to right, #FF7252, #55A154)" block style="width: 90%; padding-top: 5px; padding-top: 10px;" bind:click="onButtonPressed">确定</van-button>
- <van-button wx:if="{{autoid != 0}}" id="delete" round color="linear-gradient(to right, #ed213a, #93291e)" block style="width: 90%; padding-top: 5px; padding-top: 10px;" bind:click="onButtonPressed">删除</van-button>
- </view>
- <!-- 地区选择 -->
- <van-popup show="{{ show }}" position="bottom" custom-style="height: 30%" bind:click-overlay="onCancel">
- <van-picker show-toolbar title="请选择发票类型" columns="{{ intypes }}" default-index="{{ 0 }}" bind:cancel="onCancel" bind:confirm="onCancel"/>
- </van-popup>
|