|
@@ -6,18 +6,18 @@
|
|
|
<el-form-item label="收货人" prop="ReceiverName">
|
|
<el-form-item label="收货人" prop="ReceiverName">
|
|
|
<el-input placeholder="请输入" v-model="formData.ReceiverName" />
|
|
<el-input placeholder="请输入" v-model="formData.ReceiverName" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item label="证件类型" prop="CardTypeID">
|
|
|
|
|
|
|
+ <!-- <el-form-item label="证件类型" prop="CardTypeID">
|
|
|
<el-select v-model="formData.CardTypeID">
|
|
<el-select v-model="formData.CardTypeID">
|
|
|
<el-option :label="item.label" :value="item.value" v-for="(item, index) in certificateTypeList.slice(0, 1)"
|
|
<el-option :label="item.label" :value="item.value" v-for="(item, index) in certificateTypeList.slice(0, 1)"
|
|
|
:key="index" />
|
|
:key="index" />
|
|
|
</el-select>
|
|
</el-select>
|
|
|
- </el-form-item>
|
|
|
|
|
|
|
+ </el-form-item> -->
|
|
|
<el-form-item label="联系电话" prop="PhoneNum">
|
|
<el-form-item label="联系电话" prop="PhoneNum">
|
|
|
<el-input placeholder="请输入" v-model="formData.PhoneNum" />
|
|
<el-input placeholder="请输入" v-model="formData.PhoneNum" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item label="证件号码" prop="CardNum">
|
|
|
|
|
|
|
+ <!-- <el-form-item label="证件号码" prop="CardNum">
|
|
|
<el-input placeholder="请输入" v-model="formData.CardNum" />
|
|
<el-input placeholder="请输入" v-model="formData.CardNum" />
|
|
|
- </el-form-item>
|
|
|
|
|
|
|
+ </el-form-item> -->
|
|
|
<el-form-item class="el-form-item--row" label="收货地址" prop="area">
|
|
<el-form-item class="el-form-item--row" label="收货地址" prop="area">
|
|
|
<app-region class="el-form-item--col" v-model:province="formData.ProvinceID"
|
|
<app-region class="el-form-item--col" v-model:province="formData.ProvinceID"
|
|
|
v-model:city="formData.CityID" v-model:district="formData.DistrictID" />
|
|
v-model:city="formData.CityID" v-model:district="formData.DistrictID" />
|
|
@@ -41,7 +41,7 @@ import { useAddressForm } from '@/business/user/address'
|
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
import AppDrawer from '@pc/components/base/drawer/index.vue'
|
|
|
import AppRegion from '@pc/components/base/region/index.vue'
|
|
import AppRegion from '@pc/components/base/region/index.vue'
|
|
|
|
|
|
|
|
-const { loading, formData, certificateTypeList, addOrUpdate } = useAddressForm()
|
|
|
|
|
|
|
+const { loading, formData, addOrUpdate } = useAddressForm()
|
|
|
const show = ref(true)
|
|
const show = ref(true)
|
|
|
const refresh = ref(false)
|
|
const refresh = ref(false)
|
|
|
const formRef = ref<FormInstance>()
|
|
const formRef = ref<FormInstance>()
|