| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="工厂" prop="factoryId"> |
| | | <el-select |
| | | <el-select disabled |
| | | v-model="dataForm.factoryId" |
| | | placeholder="工厂" |
| | | filterable |
| | |
| | | </el-col> |
| | | </el-form> |
| | | </el-row> |
| | | <el-row> |
| | | <el-row style="width: 100%;"> |
| | | <el-tabs |
| | | type="card" |
| | | v-model="activeTabName" |
| | | ref="tabs" |
| | | style="height: 400px" |
| | | style="height: 400px;width: 100%;" |
| | | > |
| | | <el-tab-pane label="设备" name="equip"> |
| | | <el-transfer |
| | |
| | | > |
| | | </el-transfer> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="检验待处理库位" name="pending"> |
| | | <!-- <el-tab-pane label="检验待处理库位" name="pending"> |
| | | <el-transfer |
| | | filterable |
| | | v-model="pendingLocationIds" |
| | |
| | | @change="handleProductInspectionLocation" |
| | | > |
| | | </el-transfer> |
| | | </el-tab-pane> |
| | | </el-tab-pane> --> |
| | | <el-tab-pane label="人工模板" name="handyman"> |
| | | <el-transfer |
| | | filterable |
| | |
| | | workstationNo: '', |
| | | name: '', |
| | | type: '', |
| | | factoryId: 0, |
| | | factoryId: 117, |
| | | remark: '', |
| | | artificialType: '', |
| | | workCenter: '', |
| | |
| | | 'dataForm.factoryId': { |
| | | handler(newValue, oldValue) { |
| | | if (!this.dataForm.id) { |
| | | console.log(1); |
| | | if (newValue) { |
| | | this.workstationFactory.factoryId = this.dataForm.factoryId |
| | | getEquipmentByFactoryId(this.workstationFactory).then( |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | |
| | | </style> |