value
2024-05-16 083c818af77d33d619dba3dc20f94e996225a1c7
src/components/view/custom_manage.vue
@@ -49,8 +49,8 @@
      <div class="search">
         <div class="search_thing">
            <div class="search_label">客户名称:</div>
            <div class="search_input"><el-input size="small" placeholder="请输入" clearable
                  v-model="componentData.entity.name" @keyup.enter.native="refreshTable()"></el-input></div>
            <div class="search_input"><el-input size="small" placeholder="请输入" clearable v-model="componentData.entity.name"
                  @keyup.enter.native="refreshTable()"></el-input></div>
         </div>
         <div class="search_thing">
            <div class="search_label">账号状态:</div>
@@ -110,11 +110,19 @@
                  <el-input v-model="user.company" size="small" clearable></el-input>
               </el-col>
            </el-row>
            <el-row style="line-height: 50px;">
               <el-col :span="7" style="text-align: right;padding-right: 8px;"><span class="required-span">*
                  </span>工厂域:</el-col>
               <el-col :span="15">
                  <el-input v-model="user.code" size="small" clearable></el-input>
               </el-col>
            </el-row>
            <el-row style="margin-top: 15px;">
               <el-col :span="7" style="text-align: right;padding-right: 8px;"><span class="required-span">*
                  </span>单位地址:</el-col>
               <el-col :span="15">
                  <el-input type="textarea" v-model="user.address" size="small" clearable :autosize="{minRows: 2, maxRows: 4}"></el-input>
                  <el-input type="textarea" v-model="user.address" size="small" clearable
                     :autosize="{minRows: 2, maxRows: 4}"></el-input>
               </el-col>
            </el-row>
         </div>
@@ -220,7 +228,19 @@
               showSelect: true,
               select: false,
               do: [],
               tagField: {},
               tagField: {
                  state: {
                     select: [{
                        value: 1,
                        type: 'success',
                        label: '启用'
                     }, {
                        value: 0,
                        type: 'danger',
                        label: '停用'
                     }]
                  }
               },
               selectField: {},
            }
         }
@@ -252,6 +272,10 @@
            }
            if (this.user.company == '' || this.user.company == null) {
               this.$message.error('请填写客户单位')
               return
            }
            if (this.user.code == '' || this.user.code == null) {
               this.$message.error('请填写工厂域')
               return
            }
            if (this.user.address == '' || this.user.address == null) {
@@ -310,4 +334,4 @@
         }
      }
   }
</script>
</script>