|
@@ -464,20 +464,20 @@
|
|
{{mineAddress}}
|
|
{{mineAddress}}
|
|
</div>
|
|
</div>
|
|
<!-- <div class="address-add">添加收货地址</div>-->
|
|
<!-- <div class="address-add">添加收货地址</div>-->
|
|
- <div class="address-right" @click="selectAddress">
|
|
|
|
|
|
+ <div class="address-right" style="right: 40px" @click="selectAddress">
|
|
选择/新增
|
|
选择/新增
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="submit-view">
|
|
|
|
- <div class="submit-name">发票开具:</div>
|
|
|
|
- <div class="address-right" @click="invoiceFlag=true">
|
|
|
|
|
|
+ <div class="submit-view" style="position: relative;margin-top: 30px">
|
|
|
|
+ <div class="submit-name" style="position: absolute;top: 8px">发票开具:</div>
|
|
|
|
+ <div class="address-right" style="right: 0;top: 10px" @click="invoiceFlag=true">
|
|
选择/新增
|
|
选择/新增
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- <div class="submit-button" @click="invoideTexts(0)">填充上次开票信息</div>-->
|
|
<!-- <div class="submit-button" @click="invoideTexts(0)">填充上次开票信息</div>-->
|
|
<!-- <div class="check" @click="invoiceFlag=true">查看信息</div>-->
|
|
<!-- <div class="check" @click="invoiceFlag=true">查看信息</div>-->
|
|
</div>
|
|
</div>
|
|
- <div class="invoice-contents" style="margin-top: -40px;position: relative" v-if="invoiceFlags">
|
|
|
|
|
|
+ <div class="invoice-contents" style="margin-top: -20px;position: relative" v-if="invoiceFlags">
|
|
<div v-if="checkText1" style="position: absolute;color: #fff;background-color: #dcdfe6;left:0;top:0;margin:-15px 0 0 -20px;border-radius: 12px;width: 45px;text-align: center;height: 20px;line-height: 20px;font-size: 14px;
|
|
<div v-if="checkText1" style="position: absolute;color: #fff;background-color: #dcdfe6;left:0;top:0;margin:-15px 0 0 -20px;border-radius: 12px;width: 45px;text-align: center;height: 20px;line-height: 20px;font-size: 14px;
|
|
" >默认</div>
|
|
" >默认</div>
|
|
<div class="flex-s">
|
|
<div class="flex-s">
|
|
@@ -513,25 +513,29 @@
|
|
<div>{{FormState.selfType==1?'专票':'普票'}}/</div>
|
|
<div>{{FormState.selfType==1?'专票':'普票'}}/</div>
|
|
</div>
|
|
</div>
|
|
<div class="divs">
|
|
<div class="divs">
|
|
-<!-- <div>开户行:</div>-->
|
|
|
|
- <div>{{FormState.cardBank}}/</div>
|
|
|
|
|
|
+ <!-- <div>单位名称:</div>-->
|
|
|
|
+ <div>{{FormState.comName}}/</div>
|
|
</div>
|
|
</div>
|
|
|
|
+<!-- <div class="divs">-->
|
|
|
|
+<!--<!– <div>开户行:</div>–>-->
|
|
|
|
+<!-- <div>{{FormState.cardBank}}/</div>-->
|
|
|
|
+<!-- </div>-->
|
|
<div class="divs">
|
|
<div class="divs">
|
|
<!-- <div>开户行账号:</div>-->
|
|
<!-- <div>开户行账号:</div>-->
|
|
- <div>{{FormState.cardNo}}/</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="divs">
|
|
|
|
-<!-- <div>纳税人识别号:</div>-->
|
|
|
|
- <div>{{FormState.cardNumber}}/</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="divs">
|
|
|
|
-<!-- <div>注册地址:</div>-->
|
|
|
|
- <div>{{FormState.regAddr}}/</div>
|
|
|
|
- </div>
|
|
|
|
- <div class="divs">
|
|
|
|
-<!-- <div>注册电话:</div>-->
|
|
|
|
- <div>{{FormState.regPhone}}</div>
|
|
|
|
|
|
+ <div>{{FormState.cardNo}}</div>
|
|
</div>
|
|
</div>
|
|
|
|
+<!-- <div class="divs">-->
|
|
|
|
+<!--<!– <div>纳税人识别号:</div>–>-->
|
|
|
|
+<!-- <div>{{FormState.cardNumber}}/</div>-->
|
|
|
|
+<!-- </div>-->
|
|
|
|
+<!-- <div class="divs">-->
|
|
|
|
+<!--<!– <div>注册地址:</div>–>-->
|
|
|
|
+<!-- <div>{{FormState.regAddr}}/</div>-->
|
|
|
|
+<!-- </div>-->
|
|
|
|
+<!-- <div class="divs">-->
|
|
|
|
+<!--<!– <div>注册电话:</div>–>-->
|
|
|
|
+<!-- <div>{{FormState.regPhone}}</div>-->
|
|
|
|
+<!-- </div>-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="invoice-from" v-if="invoiceIndex!=2 && flags">-->
|
|
<!-- <div class="invoice-from" v-if="invoiceIndex!=2 && flags">-->
|
|
@@ -1139,11 +1143,14 @@ const invoideTexts=(index)=>{
|
|
let data=res.data.data[index].tax;
|
|
let data=res.data.data[index].tax;
|
|
sourceIndex.value=data.self_type-1;
|
|
sourceIndex.value=data.self_type-1;
|
|
typeIndex.value=data.u_type==2?0:1;
|
|
typeIndex.value=data.u_type==2?0:1;
|
|
-
|
|
|
|
// invoiceIndex.value=data.paper_type-1;
|
|
// invoiceIndex.value=data.paper_type-1;
|
|
-
|
|
|
|
FormState.paperType=data.paper_type;
|
|
FormState.paperType=data.paper_type;
|
|
FormState.selfType=data.self_type;
|
|
FormState.selfType=data.self_type;
|
|
|
|
+ if(res.data.data[index].is_default==0){
|
|
|
|
+ checkText1.value=false
|
|
|
|
+ }else{
|
|
|
|
+ checkText1.value=true
|
|
|
|
+ }
|
|
|
|
|
|
FormState.name=data.name;
|
|
FormState.name=data.name;
|
|
FormState.id=data.id;
|
|
FormState.id=data.id;
|
|
@@ -1169,7 +1176,6 @@ const invoiceLists=()=>{
|
|
res.data.data[i].check=true;
|
|
res.data.data[i].check=true;
|
|
invoiceFlags.value=true;
|
|
invoiceFlags.value=true;
|
|
checkText1.value=true
|
|
checkText1.value=true
|
|
-
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// res.data.data[0].check=true;
|
|
// res.data.data[0].check=true;
|
|
@@ -1354,6 +1360,11 @@ const addressBtn = () => {
|
|
mineAddress.value = list[indexs].name + ' ' + list[indexs].mobile + ' ' + list[indexs].full_address
|
|
mineAddress.value = list[indexs].name + ' ' + list[indexs].mobile + ' ' + list[indexs].full_address
|
|
|
|
|
|
addressId.value = list[indexs].id
|
|
addressId.value = list[indexs].id
|
|
|
|
+ if(list[indexs].is_default==0){
|
|
|
|
+ checkText.value=false
|
|
|
|
+ }else{
|
|
|
|
+ checkText.value=true
|
|
|
|
+ }
|
|
}
|
|
}
|
|
const handleChange = (label) => {
|
|
const handleChange = (label) => {
|
|
userAddress.value = label[2]
|
|
userAddress.value = label[2]
|
|
@@ -2361,7 +2372,7 @@ isLogin()
|
|
//height: 500px;
|
|
//height: 500px;
|
|
background: #FFFFFF;
|
|
background: #FFFFFF;
|
|
position: relative;
|
|
position: relative;
|
|
- padding: 30px 40px 10px;
|
|
|
|
|
|
+ padding: 30px 40px 20px;
|
|
|
|
|
|
.submit-view{
|
|
.submit-view{
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
@@ -2373,6 +2384,7 @@ isLogin()
|
|
}
|
|
}
|
|
.submit-name{
|
|
.submit-name{
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
|
|
+
|
|
}
|
|
}
|
|
.check{
|
|
.check{
|
|
color: #999;
|
|
color: #999;
|