Handy_Cao пре 2 година
родитељ
комит
39d17a9b7d

+ 5 - 5
src/packages/pc/views/account/address/components/edit/index.vue

@@ -6,18 +6,18 @@
             <el-form-item label="收货人" prop="ReceiverName">
                 <el-input placeholder="请输入" v-model="formData.ReceiverName" />
             </el-form-item>
-            <el-form-item label="证件类型" prop="CardTypeID">
+            <!-- <el-form-item label="证件类型" prop="CardTypeID">
                 <el-select v-model="formData.CardTypeID">
                     <el-option :label="item.label" :value="item.value" v-for="(item, index) in certificateTypeList.slice(0, 1)"
                         :key="index" />
                 </el-select>
-            </el-form-item>
+            </el-form-item> -->
             <el-form-item label="联系电话" prop="PhoneNum">
                 <el-input placeholder="请输入" v-model="formData.PhoneNum" />
             </el-form-item>
-            <el-form-item label="证件号码" prop="CardNum">
+            <!-- <el-form-item label="证件号码" prop="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">
                 <app-region class="el-form-item--col" v-model:province="formData.ProvinceID"
                     v-model:city="formData.CityID" v-model:district="formData.DistrictID" />
@@ -48,7 +48,7 @@ const props = defineProps({
     }
 })
 
-const { loading, formData, certificateTypeList, addOrUpdate } = useAddressForm(props.selectedRow)
+const { loading, formData, addOrUpdate } = useAddressForm(props.selectedRow)
 const show = ref(true)
 const refresh = ref(false)
 const formRef = ref<FormInstance>()

+ 5 - 5
src/packages/pc/views/account/address/components/new/index.vue

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

+ 2 - 2
src/packages/pc/views/account/address/index.vue

@@ -58,8 +58,8 @@ const { componentRef, componentId, openComponent, closeComponent } = useComponen
 
 const tableColumns = shallowRef<Model.TableColumn[]>([
     { prop: 'receivername', label: '收货人' },
-    { prop: 'cardtypeid', label: '证件类型' },
-    { prop: 'cardnum', label: '证件号码' },
+    // { prop: 'cardtypeid', label: '证件类型' },
+    // { prop: 'cardnum', label: '证件号码' },
     { prop: 'phonenum', label: '联系电话' },
     { prop: 'address', label: '收货地址' },
     { prop: 'isdefault', label: '是否默认' },

+ 0 - 2
src/packages/pc/views/account/sign/components/certification/index.vue

@@ -28,8 +28,6 @@
     </app-drawer>
 </template>  
 
-<!-- 账户管理-签约账号管理-解约 -->
-
 <script lang="ts" setup>
 import { ref, computed } from 'vue'
 import { ElMessage, FormInstance, FormRules } from 'element-plus'

+ 1 - 1
src/packages/pc/views/account/sign/components/sign/index.vue

@@ -13,7 +13,7 @@
                 <el-input name="BankAccountNo" placeholder="银行卡账户名" v-model="formData.BankAccountNo" :rules="formRules.BankAccountNo"/>
             </el-form-item>
             <el-form-item label="姓名" prop="BankAccountName">
-                <el-input name="BankAccountName" placeholder="银行卡账户名" v-model="formData.BankAccountName" :rules="formRules.BankAccountName"/>
+                <el-input name="BankAccountName" readonly placeholder="银行卡账户名" v-model="formData.BankAccountName" :rules="formRules.BankAccountName"/>
             </el-form-item>
             <el-form-item label="支行名称" prop="BranchBankName">
                 <el-input name="BranchBankName" placeholder="请输入银行卡支行名称" v-model="formData.OpenBankName" :rules="formRules.OpenBankName"/>

+ 1 - 1
src/packages/pc/views/footer/capital/summary/deposit/index.vue

@@ -4,7 +4,7 @@
         <el-form ref="formRef" class="el-form--vertical" label-width="100px" label-position="left" :model="formData"
             :rules="formRules">
             <el-form-item prop="Amount" label="充值金额">
-                <el-input-number placeholder="请输入" v-model="formData.Amount" />
+                <el-input-number placeholder="请输入" :precision="2" v-model="formData.Amount" />
             </el-form-item>
             <el-form-item label="凭证">
                 <app-upload :file-types="['image']" type-message="请选择正确的图片类型" @change="onUploadChange" />

+ 1 - 1
src/packages/pc/views/footer/capital/summary/withdraw/index.vue

@@ -9,7 +9,7 @@
                 <span>{{ accountStore.currentAccount.currentbalance?.toFixed(2) }}</span>
             </el-form-item>
             <el-form-item label="出金金额" prop="Amount">
-                <el-input type="number" placeholder="请输入" v-model="formData.Amount" />
+                <el-input type="number" placeholder="请输入出金金额" :precision="2" v-model="formData.Amount" />
             </el-form-item>
             <!-- <el-form-item label="金额大写">
                 <span>壹万元</span>