| | |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="winType==2" label="工序" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-select v-model="row.procedureId" filterable placeholder="请选择" @select="selectProcedure"> |
| | | <el-option |
| | | v-for="(item, index) in row.procedureList" |
| | | :key="index" |
| | | :label="item.name" |
| | | :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="批次号" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-input v-model="row.batch" placeholder="请输入批次号" v-trim/> |
| | |
| | | origin: 0, |
| | | woutboundInBodyBeanList: [] |
| | | }, |
| | | winType:0, |
| | | disabled: false, |
| | | pickerOptions: {}, |
| | | tempWarehouses: [], |
| | |
| | | open (title, type = 0) { |
| | | this.title = title |
| | | this.visible = true |
| | | this.winType=type |
| | | // 新建 |
| | | this.$nextTick(() => { |
| | | this.$refs.form.resetFields() |
| | |
| | | code: item.mmodelCode, |
| | | name: item.mmodelUnionName, |
| | | umodelName: item.umodelName, |
| | | |
| | | procedureList:item.procedureList, |
| | | procedureId:null, |
| | | locationId: this.whLocation.length ? this.whLocation[0].id : null, |
| | | qualityType: this.whLocation.length ? 0 : this.houseProperty, |
| | | materialId: item.id, |