1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <ion-view view-title="{{recordid && recordid == -1 ? '新建' : recordid && recordid == 0 ? null : '编辑'}}消费记录">
- <ion-nav-buttons side="right">
- <button ng-if="!isCheck()" class="button button-clear" ng-click="saverecord()">完成</button>
- </ion-nav-buttons>
- <ion-content>
- <ion-item class="item-divider"></ion-item>
- <ion-item class="item-input text-input">
- <span class="input-label">金额</span>
- <span ng-if="isCheck()">{{record.amt}}</span>
- <input ng-if="!isCheck()" type="number" ng-model="record.amt" placeholder="输入金额">
- </ion-item>
- <ion-item class="item-divider"></ion-item>
- <ion-item class="item-icon-right" ng-click="showModal('type')">
- 消费类型
- <span class="item-note">{{record.fee_name}}</span>
- <i ng-if="!isCheck()" class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <ion-item class="item-icon-right" ng-click="selectDate()">
- 消费日期
- <span class="item-note">{{record.bx_dd | date:"yyyy-MM-dd"}}</span>
- <i ng-if="!isCheck()" class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <ion-item class="item-divider"></ion-item>
- <ion-item class="item-icon-right" ng-click="showModal('tax')">
- 扣税类别
- <span class="item-note">{{record.tax_id}}.{{taxCategory[record.tax_id]}}</span>
- <i ng-if="!isCheck()" class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <ion-item>
- 税率
- <span class="item-note">{{record.tax_rto}}</span>
- </ion-item>
- <ion-item ng-if="recordid != -1 && recordid != 0">
- 税额
- <span class="item-note">{{record.tax}}</span>
- </ion-item>
- <div ng-if="language == 'zh-TW'">
- <ion-item class="item-divider"></ion-item>
- <ion-item class="item-input text-input">
- <span class="input-label">发票号码</span>
- <span ng-if="isCheck()">{{record.inv_no}}</span>
- <input ng-if="!isCheck()" type="text" maxlength="14" ng-model="record.inv_no" placeholder="输入发票号码">
- </ion-item>
- <ion-item class="item-input text-input">
- <span class="input-label">统一编号</span>
- <span ng-if="isCheck()">{{record.uni_no_pay}}</span>
- <input ng-if="!isCheck()" type="text" maxlength="20" ng-model="record.uni_no_pay" placeholder="输入统一编号">
- </ion-item>
- </div>
- <ion-item class="item-divider"></ion-item>
- <ion-item>票据图片</ion-item>
- <erp-bx-photo-bar files="record.files" delete-image="deleteimage_list" is-disabled="isCheck()"></erp-bx-photo-bar>
- <ion-item class="item-divider"></ion-item>
- <label class="item item-input text-input">
- <span class="input-label">描述</span>
- <span ng-if="isCheck()">{{record.rem}}</span>
- <input ng-if="!isCheck()" type="text" ng-model="record.rem" placeholder="输入描述"/>
- </label>
- <ion-item class="item-divider"></ion-item>
- <div ng-if="recordid != -1 && recordid != 0">
- <ion-item class="assertive center" ng-click="deleteRecord()">
- 删除
- </ion-item>
- <ion-item class="item-divider"></ion-item>
- </div>
- </ion-content>
- <erp-bx-larger-image></erp-bx-larger-image>
- </ion-view>
|