1 line
5.9 KiB
Plaintext
1 line
5.9 KiB
Plaintext
<view class="page"><view class="m-cells m-cells-form"><view class="m-cell m-cell-select-before"><view class="m-cell-hd"><label class="u-label">{{$root.m0}}</label></view><view class="m-cell-bd"><picker value="{{index}}" range="{{invoice_category_row}}" range-key="name" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e"><view class="uni-input">{{invoice_category_row[index].name}}</view></picker></view></view><view class="m-cell"><view class="m-cell-hd"><label class="u-label" for>{{$root.m1}}</label></view><view class="m-cell-bd"><radio-group class="uni-flex" name="invoice_type" data-event-opts="{{[['change',[['onInvoiceType',['$event']]]]]}}" bindchange="__e"><radio value="0" checked="{{invoice_type==0}}"></radio>{{$root.m2+''}}<radio value="1" checked="{{invoice_type==1}}"></radio>{{$root.m3+''}}</radio-group></view></view><view class="m-cell"><view class="m-cell-hd"><label class="u-label" for>{{0==invoice_type?$root.m4:$root.m5}}</label></view><view class="m-cell-bd"><input class="u-input" type="text" placeholder="{{$root.m6}}" data-event-opts="{{[['input',[['__set_model',['','invoice_title','$event',[]]]]]]}}" value="{{invoice_title}}" bindinput="__e"/></view><block wx:if="{{invoice_title==''}}"><view class="m-cell-ft _div"><view class="m-icon-warn uni-icon uni-icon-info" type="warn"></view></view></block></view><block wx:if="{{invoice_type==1}}"><view><view class="m-cell"><view class="m-cell-hd"><label class="u-label" style="width:150%;" for>{{$root.m7}}</label></view><view class="m-cell-bd"><input class="u-input" type="text" placeholder="{{$root.m8}}" data-event-opts="{{[['input',[['__set_model',['','invoice_company_code','$event',[]]]]]]}}" value="{{invoice_company_code}}" bindinput="__e"/></view><block wx:if="{{invoice_company_code==''}}"><view class="m-cell-ft _div"><view class="m-icon-warn uni-icon uni-icon-info" type="warn"></view></view></block></view><block wx:if="{{invoice_category==2}}"><block><view class="m-cell"><view class="m-cell-hd"><label class="u-label" for>{{$root.m9}}</label></view><view class="m-cell-bd"><input class="u-input" type="text" placeholder="{{$root.m10}}" data-event-opts="{{[['input',[['__set_model',['','invoice_address','$event',[]]]]]]}}" value="{{invoice_address}}" bindinput="__e"/></view></view><view class="m-cell"><view class="m-cell-hd"><label class="u-label" for>{{$root.m11}}</label></view><view class="m-cell-bd"><input class="u-input" type="number" placeholder="{{$root.m12}}" data-event-opts="{{[['input',[['__set_model',['','invoice_phone','$event',[]]]]]]}}" value="{{invoice_phone}}" bindinput="__e"/></view></view><view class="m-cell"><view class="m-cell-hd"><label class="u-label" for>{{$root.m13}}</label></view><view class="m-cell-bd"><input class="u-input" type="text" placeholder="{{$root.m14}}" data-event-opts="{{[['input',[['__set_model',['','invoice_bankname','$event',[]]]]]]}}" value="{{invoice_bankname}}" bindinput="__e"/></view></view><view class="m-cell"><view class="m-cell-hd"><label class="u-label" for>{{$root.m15}}</label></view><view class="m-cell-bd"><input class="u-input" type="text" placeholder="{{$root.m16}}" data-event-opts="{{[['input',[['__set_model',['','invoice_bankaccount','$event',[]]]]]]}}" value="{{invoice_bankaccount}}" bindinput="__e"/></view></view></block></block></view></block><block wx:if="{{false}}"><block><view class="m-cell"><view class="m-cell-hd"><label class="u-label" for>{{$root.m17}}</label></view><view class="m-cell-bd"><input class="u-input" type="number" placeholder="{{$root.m18}}" data-event-opts="{{[['input',[['__set_model',['','invoice_contact_mobile','$event',[]]]]]]}}" value="{{invoice_contact_mobile}}" bindinput="__e"/></view></view><view class="m-cell"><view class="m-cell-hd"><label class="u-label" for>{{$root.m19}}</label></view><view class="m-cell-bd"><input class="u-input" type="text" placeholder="{{$root.m20}}" data-event-opts="{{[['input',[['__set_model',['','invoice_contact_email','$event',[]]]]]]}}" value="{{invoice_contact_email}}" bindinput="__e"/></view></view></block></block></view><mpvue-city-picker class="vue-ref" vue-id="4dd0d8c8-1" themeColor="{{themeColor}}" pickerValueDefault="{{cityPickerValueDefault}}" data-ref="mpvueCityPicker" data-event-opts="{{[['^onCancel',[['onCancel']]],['^onConfirm',[['onConfirm']]]]}}" bind:onCancel="__e" bind:onConfirm="__e" bind:__l="__l"></mpvue-city-picker><mpvue-city-picker class="vue-ref" vue-id="4dd0d8c8-2" themeColor="{{themeColor}}" pickerValueDefault="{{cityPickerValueDefault}}" data-ref="mpvueCityPicker" data-event-opts="{{[['^onCancel',[['onCancel']]],['^onConfirm',[['onConfirm']]]]}}" bind:onCancel="__e" bind:onConfirm="__e" bind:__l="__l"></mpvue-city-picker><block wx:if="{{isShow}}"><view data-event-opts="{{[['tap',[['closead',['$event']]]]]}}" class="m-select-box-msk" bindtap="__e"><view data-event-opts="{{[['tap',[['notap',['$event']]]]]}}" class="m-select-box" catchtap="__e"><view class="m-close-panel"><label data-event-opts="{{[['tap',[['closead',['$event']]]]]}}" catchtap="__e">{{$root.m21}}</label></view><view class="m-select-content"><picker-view class="u-select" indicator-style="height:50px" value="(value)" data-event-opts="{{[['change',[['bindChange',['$event']]]]]}}" bindchange="__e"><picker-view-column><block wx:for="{{Province.pname}}" wx:for-item="item" wx:for-index="i" wx:key="i"><view class="m-cell-bd"><label>{{item}}</label></view></block></picker-view-column><picker-view-column><block wx:for="{{City.cname}}" wx:for-item="item" wx:for-index="i" wx:key="i"><view class="m-cell-bd"><label>{{item}}</label></view></block></picker-view-column><picker-view-column><block wx:for="{{District.dname}}" wx:for-item="item" wx:for-index="i" wx:key="i"><view class="m-cell-bd"><label>{{item}}</label></view></block></picker-view-column></picker-view></view></view></view></block><button data-event-opts="{{[['tap',[['submitinfo',['$event']]]]]}}" class="u-btn u-btn-default" bindtap="__e">{{$root.m22}}</button></view> |