| | |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="异常类型" prop="exceptionType"> |
| | | <el-input |
| | | <!-- <el-input |
| | | v-model="dataForm.exceptionType" |
| | | placeholder="异常类型" |
| | | ></el-input> |
| | | ></el-input> --> |
| | | <el-select |
| | | v-model="dataForm.exceptionType" |
| | | style="width:100%;" |
| | | placeholder="异常类型" |
| | | > |
| | | <el-option |
| | | v-for="item in exceptionHandleTypeOptions" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="异常描述" prop="exceptionDescription"> |
| | | <el-input |
| | |
| | | import productoutDialog from '@/views/common/productout.vue' |
| | | import { loadWarehouse } from '../../../api/warehouse/location' |
| | | import { loadWorkstation } from '../../../api/basic/workstation' |
| | | import { remote } from '@/api/admin/dict' |
| | | import { loadProductMain } from '../../../api/product/personboard' |
| | | |
| | | export default { |
| | |
| | | productoutVisible: false, |
| | | workstationVisible: false, |
| | | visible: false, |
| | | exceptionHandleTypeOptions:[], |
| | | dataForm: { |
| | | id: 0, |
| | | code: '', |
| | |
| | | clickSaveArr: [] |
| | | } |
| | | }, |
| | | created() { |
| | | console.log("22222222"); |
| | | this.getExceptionHandleType() |
| | | }, |
| | | methods: { |
| | | getExceptionHandleType() { |
| | | remote('exception_handle_type').then((response) => { |
| | | console.log(response,"-----"); |
| | | if (response.data.code === 0) { |
| | | this.exceptionHandleTypeOptions = response.data.data |
| | | } else { |
| | | this.exceptionHandleTypeOptions = [] |
| | | } |
| | | }) |
| | | }, |
| | | init(id, id1, id2) { |
| | | this.dataForm.workstationId = id1 |
| | | if (this.dataForm.workstationId) { |