| | |
| | | <el-form-item label="仓库名称" prop="warehouseName"> |
| | | <el-input v-model="formData.warehouseName" clearable maxlength="20" show-word-limit style="width: 100%"/> |
| | | </el-form-item> |
| | | <el-form-item label="仓库类型" prop="classificationId"> |
| | | <el-input v-model="formData.classificationId" clearable maxlength="20" show-word-limit style="width: 100%"/> |
| | | <el-form-item label="仓库类型" prop="classificationCode"> |
| | | <el-select v-model="formData.classificationCode" clearable placeholder="请选择" style="width: 100%"> |
| | | <el-option v-for="item in classList" :key="item.dict_code" :label="item.dict_label" :value="item.dict_code"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="地址" > |
| | | <el-input v-model="formData.adress" clearable maxlength="20" show-word-limit style="width: 100%"/> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | classList:[], |
| | | checkAll: false, |
| | | checkedList: [], |
| | | formData: { |
| | |
| | | } |
| | | }, |
| | | created() { |
| | | this.class_List() |
| | | if(this.setting.info){ |
| | | this.formData = Object.assign({},JSON.parse(this.setting.info)) |
| | | } |
| | | }, |
| | | methods: { |
| | | class_List (){ |
| | | finsystenant.classList().then(res => { |
| | | if (res) { |
| | | console.log(res,'res'); |
| | | this.classList = res |
| | | } |
| | | }) |
| | | }, |
| | | getEditInfo(id){ |
| | | |
| | | }, |