|
|
@ -29,7 +29,7 @@ |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
<uni-forms-item label="合并开票:" required name="name" :label-width="90"> |
|
|
<uni-forms-item label="合并开票:" required name="name" :label-width="90"> |
|
|
<!-- <uni-data-checkbox v-model="list1.merge" :localdata="mergelist"></uni-data-checkbox> --> |
|
|
<!-- <uni-data-checkbox v-model="list1.merge" :localdata="mergelist"></uni-data-checkbox> --> |
|
|
<radio-group @change="radioChange" style="height: 100%;display: flex;align-items: center;"> |
|
|
<radio-group @change="radioChange" style="height: 100%;display: flex;align-items: center;margin-left: 20rpx;"> |
|
|
<label v-for="(item,index) in mergelist" :key="item.value"> |
|
|
<label v-for="(item,index) in mergelist" :key="item.value"> |
|
|
<radio :value="item.value" :checked="list1.merge === item.value" /><text>{{item.text}}</text> |
|
|
<radio :value="item.value" :checked="list1.merge === item.value" /><text>{{item.text}}</text> |
|
|
</label> |
|
|
</label> |
|
|
@ -51,11 +51,11 @@ |
|
|
</view> |
|
|
</view> |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
<view class="form-title">接收方式:</view> |
|
|
<view class="form-title">接收方式:</view> |
|
|
<uni-forms-item label="手机号码:" required name="name" :label-width="90"> |
|
|
<uni-forms-item label="手机号码" required name="name" :label-width="90"> |
|
|
<uni-easyinput type="text" v-model="list1.phone" :styles="styles" :inputBorder="false" @blur="onInput" placeholder="请输入可用手机号码"></uni-easyinput> |
|
|
<uni-easyinput style="margin-left: 16rpx;" type="text" v-model="list1.phone" :styles="styles" :inputBorder="false" @blur="onInput" placeholder="请输入可用手机号码"></uni-easyinput> |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
<uni-forms-item label="邮箱号:" name="name" :label-width="78" style="margin-left: 40rpx;"> |
|
|
<uni-forms-item label="邮箱" name="name" :label-width="82" style="margin-left: 40rpx;"> |
|
|
<uni-easyinput type="text" v-model="list1.email" :inputBorder="false" placeholder="请输入邮箱" @blur="validateEmail"></uni-easyinput> |
|
|
<uni-easyinput style="margin-left: 16rpx;" type="text" v-model="list1.email" :inputBorder="false" placeholder="请输入邮箱" @blur="validateEmail"></uni-easyinput> |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
</uni-forms> |
|
|
</uni-forms> |
|
|
</view> |
|
|
</view> |
|
|
@ -95,7 +95,7 @@ |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
<view class="form-title">抬头信息</view> |
|
|
<view class="form-title">抬头信息</view> |
|
|
<uni-forms-item label="抬头类型" name="name" :label-width="90"> |
|
|
<uni-forms-item label="抬头类型" name="name" :label-width="90"> |
|
|
<radio-group @change="radioChange2" style="height: 100%;display: flex;align-items: center;" > |
|
|
<radio-group @change="radioChange2" style="height: 100%;display: flex;align-items: center;color: #999;" > |
|
|
<label v-for="(item,index) in headerType" :key="item.value"> |
|
|
<label v-for="(item,index) in headerType" :key="item.value"> |
|
|
<radio :value="list2.type" :checked="list2.type === item.value" disabled /><text>{{item.text}}</text> |
|
|
<radio :value="list2.type" :checked="list2.type === item.value" disabled /><text>{{item.text}}</text> |
|
|
</label> |
|
|
</label> |
|
|
@ -104,14 +104,14 @@ |
|
|
<uni-forms-item label="名称" name="name" :label-width="90"> |
|
|
<uni-forms-item label="名称" name="name" :label-width="90"> |
|
|
<view class="list3_box">{{list2.title}}</view> |
|
|
<view class="list3_box">{{list2.title}}</view> |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
<uni-forms-item label="税号" name="name" :label-width="90"> |
|
|
<uni-forms-item label="税号" name="name" :label-width="90" v-if="list2.type=='0'"> |
|
|
<view class="list3_box">{{list2.tax_number}}</view> |
|
|
<view class="list3_box">{{list2.tax_number}}</view> |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
<view class="form-title">接收方式</view> |
|
|
<view class="form-title">接收方式</view> |
|
|
<uni-forms-item label="邮箱" name="name" :label-width="90"> |
|
|
<uni-forms-item label="电子邮箱" name="name" :label-width="90"> |
|
|
<view class="list3_box">{{list1.email}}</view> |
|
|
<view class="list3_box" style="color: #999;">{{list1.email?list1.email:'请选择电子邮箱'}}</view> |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
<uni-forms-item label="手机号码" name="name" :label-width="90"> |
|
|
<uni-forms-item label="电话号码" name="name" :label-width="90"> |
|
|
<view class="list3_box">{{list1.phone}}</view> |
|
|
<view class="list3_box">{{list1.phone}}</view> |
|
|
</uni-forms-item> |
|
|
</uni-forms-item> |
|
|
</uni-forms> |
|
|
</uni-forms> |
|
|
@ -134,7 +134,7 @@ |
|
|
|
|
|
|
|
|
<uni-popup ref="inputDialog" type="dialog"> |
|
|
<uni-popup ref="inputDialog" type="dialog"> |
|
|
<uni-popup-dialog ref="inputClose" mode="base" title=" " :showClose="false" |
|
|
<uni-popup-dialog ref="inputClose" mode="base" title=" " :showClose="false" |
|
|
confirmText="知道了" content="该账单还未缴费,请先完成缴费。"></uni-popup-dialog> |
|
|
confirmText="知道了" :content="text"></uni-popup-dialog> |
|
|
</uni-popup> |
|
|
</uni-popup> |
|
|
<!-- 账期弹框 --> |
|
|
<!-- 账期弹框 --> |
|
|
<uni-popup ref="popup" type="bottom" background-color="#fff"> |
|
|
<uni-popup ref="popup" type="bottom" background-color="#fff"> |
|
|
@ -232,6 +232,7 @@ |
|
|
mergelist: [{text: '不合并',value: '0'},{text: '合并',value: '1'}], |
|
|
mergelist: [{text: '不合并',value: '0'},{text: '合并',value: '1'}], |
|
|
form1:{}, |
|
|
form1:{}, |
|
|
form2:{}, |
|
|
form2:{}, |
|
|
|
|
|
text:'' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLoad() { |
|
|
onLoad() { |
|
|
@ -452,7 +453,8 @@ |
|
|
this.stepsIndex = 0; |
|
|
this.stepsIndex = 0; |
|
|
} |
|
|
} |
|
|
API.validateFeePay(data, res => { |
|
|
API.validateFeePay(data, res => { |
|
|
this.amount = res.data.amount |
|
|
this.amount = res.data.amount; |
|
|
|
|
|
this.text = res.msg; |
|
|
if(!this.amount){ |
|
|
if(!this.amount){ |
|
|
this.$refs.inputDialog.open(); |
|
|
this.$refs.inputDialog.open(); |
|
|
this.stepsIndex = 0; |
|
|
this.stepsIndex = 0; |
|
|
@ -667,7 +669,9 @@ |
|
|
/deep/.uni-radio-input{ |
|
|
/deep/.uni-radio-input{ |
|
|
width: 35rpx; |
|
|
width: 35rpx; |
|
|
height: 35rpx; |
|
|
height: 35rpx; |
|
|
margin-left: 20rpx; |
|
|
} |
|
|
|
|
|
/deep/.uni-label-pointer{ |
|
|
|
|
|
margin-right: 20rpx; |
|
|
} |
|
|
} |
|
|
/deep/.uni-select__input-placeholder{ |
|
|
/deep/.uni-select__input-placeholder{ |
|
|
color: #999; |
|
|
color: #999; |
|
|
@ -676,6 +680,9 @@ |
|
|
/deep/.uni-easyinput__placeholder-class{ |
|
|
/deep/.uni-easyinput__placeholder-class{ |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
/deep/.uni-easyinput__content-input{ |
|
|
|
|
|
padding-left: 0px !important; |
|
|
|
|
|
} |
|
|
.popup-header { |
|
|
.popup-header { |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
|