This commit is contained in:
linfso 2024-07-14 12:27:21 +08:00
parent f8e6167069
commit cc16198d81
3 changed files with 5 additions and 5 deletions

View File

@ -3,11 +3,11 @@
<el-form ref="form" size="mini" :model="form" :rules="rules" label-width="100px"> <el-form ref="form" size="mini" :model="form" :rules="rules" label-width="100px">
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;"> <el-row :gutter="0" style="display: flex;flex-wrap: wrap;">
<el-col :span="8"> <!-- <el-col :span="8">
<el-form-item label="客户编码" prop="customerCode"> <el-form-item label="客户编码" prop="customerCode">
<el-input v-model="form.customerCode" placeholder="自动生成" disabled /> <el-input v-model="form.customerCode" placeholder="自动生成" disabled />
</el-form-item> </el-form-item>
</el-col> </el-col> -->
<el-col :span="8"> <el-col :span="8">
<el-form-item label="寄件人" prop="customerName"> <el-form-item label="寄件人" prop="customerName">
<el-input v-model="form.customerName" placeholder="请输入客户名称" /> <el-input v-model="form.customerName" placeholder="请输入客户名称" />
@ -219,7 +219,7 @@ export default {
name: "emisCustomerUserForm", name: "emisCustomerUserForm",
props:{ props:{
id:{ id:{
type:Number type:[Number,Array]
}, },
customerType:{ customerType:{
type:[Number,String], type:[Number,String],

View File

@ -364,7 +364,7 @@ export default {
}, },
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
this.currentId= row.id; this.currentId= row.id || this.ids[0];
this.openForm = true; this.openForm = true;
this.titleForm = "现金客户"; this.titleForm = "现金客户";
}, },

View File

@ -230,7 +230,7 @@ export default {
name: "emisCustomerUserForm", name: "emisCustomerUserForm",
props:{ props:{
id:{ id:{
type:Number type:[Number,Array]
}, },
customerType:{ customerType:{
type:[Number,String], type:[Number,String],