| | |
| | | </el-row> |
| | | <el-row style="line-height: 50px;"> |
| | | <el-col :span="7" style="text-align: right;padding-right: 8px;"><span class="required-span">* |
| | | </span>单位EN:</el-col> |
| | | <el-col :span="15"> |
| | | <el-input v-model="user.companyEn" 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> |
| | |
| | | :autosize="{minRows: 2, maxRows: 4}"></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>地址EN:</el-col> |
| | | <el-col :span="15"> |
| | | <el-input type="textarea" v-model="user.addressEn" size="small" clearable |
| | | :autosize="{minRows: 2, maxRows: 4}"></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="addDia = false">取 消</el-button> |
| | |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog title="选择用户" :visible.sync="selectUserDia" width="70%"> |
| | | <div class="search" style="height: 35px; margin-bottom: 9px;"> |
| | | <div class="search_thing"> |
| | | <div class="search_label">用户名:</div> |
| | | <div class="search_input"><el-input size="small" placeholder="请输入" clearable |
| | | v-model="componentData2.entity.name" @keyup.enter.native="$refs.ValueTable2.selectList()"></el-input></div> |
| | | </div> |
| | | </div> |
| | | <div class="body" style="height: 60vh;" v-if="selectUserDia"> |
| | | <ValueTable ref="ValueTable2" :url="$api.user.selectUserList" :componentData="componentData2" /> |
| | | </div> |
| | |
| | | this.$message.error('请填写单位地址') |
| | | return |
| | | } |
| | | if (this.user.companyEn == '' || this.user.companyEn == null) { |
| | | this.$message.error('请填写英文客户单位') |
| | | return |
| | | } |
| | | if (this.user.addressEn == '' || this.user.addressEn == null) { |
| | | this.$message.error('请填写英文单位地址') |
| | | return |
| | | } |
| | | this.loading = true |
| | | this.$axios.post(this.$api.user.addCustom, this.user, { |
| | | headers: { |