app企业税号功能

This commit is contained in:
wuteng 2025-08-26 17:39:58 +08:00
parent 5a4076c786
commit 039fa742f1
3 changed files with 18 additions and 3 deletions

View File

@ -19,6 +19,11 @@
<u-text :text="sendDetail" size="26" color="#999"></u-text>
<view v-if="modelInfo.sender" class="font-weight mt-10 font-24">{{modelInfo.sender.company}}</view>
</view>
<view v-if="modelInfo.sender && modelInfo.sender.enterpriseName">
<text class="font-weight pr-10 font-24">{{ modelInfo.sender.enterpriseName }}</text>
<text class="font-weight font-24">{{ modelInfo.sender.enterpriseTaxId }}</text>
</view>
</view>
<view v-if="!disabled" class="flex-column-center" style="flex-shrink:0;">
<image style="height: 32rpx;width: 28rpx;" :src="getCdnUrl(`post/adress.png`)">

View File

@ -35,6 +35,14 @@
<tpx-textarea v-model:value="submitParam.address" placeholder="详细地址(例如**街道**号**)"></tpx-textarea>
</view>
<view class="mt-30" v-if="submitParam.country=='0086'">
<tpx-input v-model:value="submitParam.enterpriseName" placeholder="企业名称"></tpx-input>
</view>
<view class="mt-30" v-if="submitParam.country=='0086'">
<tpx-input v-model:value="submitParam.enterpriseTaxId" placeholder="企业税号"></tpx-input>
</view>
<view class="mt-30">
<tpx-input v-model:value="submitParam.postCode" placeholder="邮编"></tpx-input>
</view>

View File

@ -14,6 +14,8 @@ export const getAddressModels = () => {
"town": "", // 街道编号
"townName": "", // 街道名称
"address": "", // 详细地址
"enterpriseName": "", // 企业名称
"enterpriseTaxId":"", // 企业税号
"postCode": "", // 邮编
"email": null,
"company": "", // 公司