| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-row :gutter="5"> |
| | | <el-col :span="7"> |
| | | <el-col :span="5"> |
| | | <el-card shadow="never"> |
| | | <span class="head-font">工位编号 : {{headContent.processesCode}}</span> |
| | | <span hidden>{{headContent.inboundTime}}</span> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-col :span="5"> |
| | | <el-card shadow="never"> |
| | | <span class="head-font">工位名称 : {{headContent.processesName}}</span> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="10"> |
| | | <el-col :span="6"> |
| | | <el-card style="height: 57px" shadow="never"> |
| | | <span class="head-font">产品型号 : </span> |
| | | <el-select style="width: 70%;margin-top: -10px" v-model="selectProductCode" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-card shadow="never"> |
| | | <span class="head-font">产品序列号 : {{headContent.sfcCode}}</span> |
| | | <!-- <el-input v-model="content" style="float: right;width: 150px;" placeholder="请输入内容"></el-input>--> |
| | |
| | | name: "stationTerminal", |
| | | data() { |
| | | return { |
| | | selectProductCode: 'PE01B', |
| | | options: [{ |
| | | value: 'PE01B', |
| | | label: 'PE01B' |
| | | }, { |
| | | value: 'PE01F', |
| | | label: 'PE01F' |
| | | }, { |
| | | value: 'PE01H', |
| | | label: 'PE01H' |
| | | }], |
| | | showInput: true, |
| | | serialPortContent: '', |
| | | // 查询参数 |
| | |
| | | scanBarcode: value, |
| | | sfcBarcode: this.headContent.sfcCode, |
| | | workOrderNo: this.workpieceInformation.workOrderNo, |
| | | productCode: "PE01B", |
| | | productCode: this.selectProductCode, |
| | | locationCode: this.headContent.processesCode, |
| | | collectionTime: new Date() |
| | | } |
| | |
| | | }, |
| | | /** 查询配方配置子信息列表 */ |
| | | getListFormulaChild() { |
| | | this.formulaChildParams.productCode = "PE01B" |
| | | this.formulaChildParams.productCode = this.selectProductCode |
| | | this.formulaChildParams.processesCode = this.headContent.processesCode |
| | | console.log(this.formulaChildParams) |
| | | noPageListFormulaChild(this.formulaChildParams).then(response => { |
| | |
| | | }, |
| | | clearClick(){ |
| | | const param = { |
| | | productCode: 'PE01B', |
| | | productCode: this.selectProductCode, |
| | | locationCode: this.headContent.processesCode, |
| | | } |
| | | clearWorkpieceRelease(param).then(response => {}); |
| | |
| | | /** 查询工单列表 */ |
| | | async getList() { |
| | | const param = { |
| | | productCode: this.selectProductCode, |
| | | processesCode: this.headContent.processesCode, |
| | | } |
| | | fistSetpNumber(param).then(response => {}); |
| | |
| | | tightenTheArray: event.data, |
| | | paramCode: formulaChilds.paramCode, |
| | | // workOrderNo: self.workpieceInformation.workOrderNo, |
| | | // productCode: "1P102S", |
| | | productCode: self.selectProductCode, |
| | | locationCode: self.headContent.processesCode, |
| | | productBarcode: self.headContent.sfcCode, |
| | | spareField2: formulaChilds.spareField2, |
| | |
| | | self.getListFormulaChild() |
| | | }else { |
| | | const param = { |
| | | id: formulaChilds.id, |
| | | locationCode: self.headContent.processesCode, |
| | | productBarcode: self.headContent.sfcCode, |
| | | inboundTime: self.headContent.inboundTime, |
| | | productCode: "PE01B", |
| | | productCode: self.selectProductCode, |
| | | workOrderNo: "-", |
| | | |
| | | } |