Merge pull request 'app企业税号功能' (#3) from develop-virtualRecord into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-app/pulls/3
This commit is contained in:
wuteng 2025-08-26 17:41:32 +08:00
commit 965daee2f2
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> <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 v-if="modelInfo.sender" class="font-weight mt-10 font-24">{{modelInfo.sender.company}}</view>
</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>
<view v-if="!disabled" class="flex-column-center" style="flex-shrink:0;"> <view v-if="!disabled" class="flex-column-center" style="flex-shrink:0;">
<image style="height: 32rpx;width: 28rpx;" :src="getCdnUrl(`post/adress.png`)"> <image style="height: 32rpx;width: 28rpx;" :src="getCdnUrl(`post/adress.png`)">
@ -30,11 +35,11 @@
<u-line custom-style="height:100%;" direction="col" dashed="true"></u-line> <u-line custom-style="height:100%;" direction="col" dashed="true"></u-line>
</view> </view>
</u-row> </u-row>
<view style="padding-left: 76rpx;"> <view style="padding-left: 76rpx;">
<u-line margin="20rpx 0"></u-line> <u-line margin="20rpx 0"></u-line>
</view> </view>
<u-row @click="handleAddressChoose(2)" custom-style="position:relative;gap:30rpx;" align="top" <u-row @click="handleAddressChoose(2)" custom-style="position:relative;gap:30rpx;" align="top"
> >
<view style="position: absolute;left: 20rpx;top: -20rpx;bottom: 100%;"> <view style="position: absolute;left: 20rpx;top: -20rpx;bottom: 100%;">

View File

@ -34,6 +34,14 @@
<view class="mt-30"> <view class="mt-30">
<tpx-textarea v-model:value="submitParam.address" placeholder="详细地址(例如**街道**号**)"></tpx-textarea> <tpx-textarea v-model:value="submitParam.address" placeholder="详细地址(例如**街道**号**)"></tpx-textarea>
</view> </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"> <view class="mt-30">
<tpx-input v-model:value="submitParam.postCode" placeholder="邮编"></tpx-input> <tpx-input v-model:value="submitParam.postCode" placeholder="邮编"></tpx-input>
@ -118,7 +126,7 @@
phone: { required: true, requiredMsg: '手机号不能为空' }, phone: { required: true, requiredMsg: '手机号不能为空' },
country: { required: true, requiredMsg: '国家不能为空' }, country: { required: true, requiredMsg: '国家不能为空' },
province: { required: true, requiredMsg: '省份不能为空' }, province: { required: true, requiredMsg: '省份不能为空' },
address: { required: true, requiredMsg: '详细地址不能为空' }, address: { required: true, requiredMsg: '详细地址不能为空' },
company: { required: true, requiredMsg: '公司名称不能为空' }, company: { required: true, requiredMsg: '公司名称不能为空' },
}, },
} }

View File

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