Authored by 张丽霞

根据接口调整模板

... ... @@ -426,40 +426,12 @@
<span class="invoice-star">*</span>
<span class="invoice-list-type">发票内容</span>
<div class="invoice-line first-line">
{{# piaoTypes}}
<div class="blind">
<input checked="true" type="radio" value="服饰" name="content"/>
<label>服饰</label>
</div>
<div class="blind">
<input type="radio" value="图书" name="content"/>
<label>图书</label>
</div>
<div class="blind">
<input type="radio" value="配件" name="content"/>
<label>配件</label>
</div>
<div class="blind">
<input type="radio" value="日用品" name="content"/>
<label>日用品</label>
</div class="blind">
<div class="blind">
<input type="radio" value="办公用品" name="content"/>
<label>办公用品</label>
</div>
<div class="blind">
<input type="radio" value="体育用品" name="content"/>
<label>体育用品</label>
</div>
<div class="blind">
<input type="radio" value="数码产品" name="content"/>
<label>数码产品</label>
<input {{#if @first}}checked="true"{{/if}} type="radio" value="{{name}}" name="content" data-receiptID="{{id}}"/>
<label>{{name}}</label>
</div>
{{/ piaoTypes}}
</div>
</div>
... ... @@ -467,7 +439,7 @@
<span class="invoice-star">*</span>
<span class="invoice-list-type">收票人手机</span>
<div class="invoice-line first-line input-line">
<input id="input-mobile" type="text" maxlength="11"/>
<input id="input-mobile" value="{{receiverMobile}}" type="text" maxlength="11"/>
<i class="enpty-input iconfont hide">&#xe626; 请填写手机号码</i>
</div>
</div>
... ...
... ... @@ -882,7 +882,8 @@ function saveReceiptInfo() {
receiptContent,
receiptMobile,
verifymobile,
invoiceType;
invoiceType,
receiptTypeID;
invoiceType = '个人';
if ($eReceiptBtn.hasClass('receipt-type-selected')) {
... ... @@ -913,6 +914,7 @@ function saveReceiptInfo() {
}
receiptContent = $('input[name="content"]:checked').val();
receiptTypeID = $('input[name="content"]:checked').data('receiptid');
$('.invoice-type').html(receiptType);
$('.invoice-partment').html(invoiceType);
... ...
... ... @@ -672,7 +672,7 @@
.invoice-list {
position: relative;
margin-top: 17px;
height: 70px;
height: 90px;
.invoice-star {
position: absolute;
... ... @@ -740,7 +740,7 @@
}
.invoice-title_group{
height: 70px;
height: 90px;
}
.blind {
... ...