<!--pages/invoice/editInvoice/editInvoice.wxml--> <view class="page-edit"> <view class="contract-step"> <view class="img-wrap"> <image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/step-02.png"></image> </view> </view> <view class="planer-box"> <view class="planer-header"> <view class="name">开票基本信息</view> </view> <view class="planer-content"> <view class="form-box"> <view hidden="{{isShowInvoiceBuyList}}"> <picker class="form-list" bindchange="bindPickerChangeKind" value="{{pickerInvoiceKindIndex}}" range-key="name" range="{{pickerInvoiceKind}}"> <view class="form-label">发票类型</view> <input class="input-text" value="{{pickerInvoiceKind[pickerInvoiceKindIndex].name}}" disabled placeholder="请选择" type="text" /> <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view> </picker> <picker class="form-list" bindchange="bindPickerChangeServe" value="{{pickerInvoiceKindIndex}}" range="{{pickerServe}}"> <view class="form-label">服务内容</view> <input class="input-text" value="{{formData.serviceContentInfo.serverName}}" placeholder="请选择" disabled type="text" /> <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view> </picker> <view bindtap="goSaleList" class="form-list"> <view class="form-label">销售方</view> <input class="input-text" value="{{formData.saleName}}" disabled placeholder="请选择" type="text" /> <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view> </view> </view> <view class="form-list"> <view class="form-label">发票抬头</view> <input class="input-text" id="formData.buyName" bindblur="hideInvoiceBuyList" bindfocus="showInvoiceBuyList" focus="{{invoiceBuyFocus}}" bindinput="changeInputInvoiceBuy" value="{{formData.buyName}}" placeholder="请输入" type="text" /> <view wx:if="{{isShowInvoiceBuyList&formData.buyName!=''}}" class="rise-list-box"> <view wx:if="{{invoiceBuyList.length>0}}" bindtap="setInvoiceBuyValue" wx:key="index" data-code="{{item.buyIdNumber}}" data-name="{{item.buyName}}" wx:for="{{invoiceBuyList}}" class="item"> {{item.buyName}}-{{item.buyIdNumber}} </view> <!-- <view wx:if="{{invoiceBuyList.length==0&&formData.buyName!=''}}" class="item"> 找不到你要找的发票抬头 </view>--> </view> </view> <view class="form-list" hidden="{{isShowInvoiceBuyList}}"> <view class="form-label">税号</view> <input class="input-text" id="formData.buyIdNumber" bindchange="changeInput" bindblur="validateForm" value="{{formData.buyIdNumber}}" placeholder="请输入" type="text" /> </view> <!--<view class="form-list"> <view class="form-label">税号</view> <!– value="{{formData.buyIdNumber}}"–> <input class="input-text" id="formData.buyIdNumber" bindblur="hideInvoiceBuyList" bindfocus="showInvoiceBuyList" bindinput="changeInputInvoiceBuy" value="{{invoiceBuySearchValue}}" placeholder="请输入" type="text" /> <view wx:if="{{isShowInvoiceBuyList}}" class="rise-list-box"> <view wx:if="{{invoiceBuyList.length>0}}" wx:key="{{index}}" wx:for="{{invoiceBuyList}}" class="item"> item.name </view> <view wx:if="{{invoiceBuyList.length==0&&invoiceBuySearchValue!=''}}" class="item"> 找不到你要找的税号 </view> </view> </view>--> <view hidden="{{isShowInvoiceBuyList}}" class="form-list"> <view class="form-label">开票金额</view> <input class="input-text" id="formData.amount" data-number="pointNum" bindchange="changeInput" bindblur="validateForm" value="{{formData.amount||''}}" placeholder="请输入不小于5000元的开票金额" type="digit" /> </view> </view> </view> </view> <view hidden="{{isShowInvoiceBuyList}}" class="planer-box"> <view class="planer-header"> <view class="name">办理材料收货地址</view> </view> <view class="planer-content"> <view bindtap="getAddress" class="form-box none"> <view class="form-list"> <view class="form-label">姓名</view> <input class="input-text" value="{{formData.name}}" disabled placeholder="请输入" type="text" /> </view> <view class="form-list"> <view class="form-label">手机号</view> <input class="input-text" value="{{formData.mobile}}" disabled placeholder="请输入" type="text" /> <view class="icon-arrow"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-form-arrow.png"></image></view> </view> <view class="form-list"> <view class="form-label">地址</view> <input class="input-text" value="{{formData.provinceName+formData.cityName+formData.expAreaName+formData.address}}" disabled placeholder="请输入" type="text" /> </view> <view> <image mode="widthFix" src="https://resource.artouchstone.com/miniapp/artist/images/editInvoice_info.png"></image> </view> </view> </view> </view> <view hidden="{{isShowInvoiceBuyList}}" class="step-tool"> <view bindtap="back" class="step-prev step-btn disable"> <view class="icon"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-step-prev.png"></image></view> </view> <view bindtap="saveData" class="step-next step-btn {{isValidate?'active':''}}"> <view class="icon"><image class="img-full" src="https://resource.artouchstone.com/miniapp/artist/images/icon-step-next.png"></image></view> </view> </view> <button plain="true" open-type='contact' session-from='' class="fixed-zx"></button> </view>