| | |
| | | </el-button> |
| | | </div> |
| | | |
| | | <div v-if="form.wocode" style="position: absolute;left: 460px;z-index: 2;top: 23px;font-weight: bolder"> |
| | | 当前工单号为:{{ form.wocode }} |
| | | </div> |
| | | |
| | | <el-tabs |
| | | ref="elTabs" |
| | | v-model="activeName" |
| | | type="border-card" |
| | | @tab-click="tabClick" |
| | | > |
| | | |
| | | <el-tab-pane |
| | | v-for="item in elTabsArr" |
| | | :key="item.code" |
| | | :label="item.name" |
| | | :name="item.name" |
| | | > |
| | | |
| | | <div class="bodyTopFormGroup"> |
| | | <el-form |
| | | ref="form" |
| | |
| | | |
| | | <el-form-item label="工单号" style=" display: flex;"> |
| | | <el-input |
| | | v-model="form.wocode" |
| | | v-model="workOrderCurrentValue" |
| | | :name="'produceCode'+item.code" |
| | | placeholder="请扫描或输入" |
| | | style="width: 300px" |
| | | |
| | | @keyup.enter.native="val=>enterNative(val,'produceCode' + item.code)" |
| | | /> |
| | | </el-form-item> |
| | |
| | | v-model="form.partcode" |
| | | placeholder="请输入" |
| | | style="width: 200px" |
| | | |
| | | @keyup.enter.native="val=>enterNative(val,'produceCode' + item.code)" |
| | | /> |
| | | </el-form-item> |
| | |
| | | <el-input |
| | | v-model="form.partname" |
| | | placeholder="请输入" |
| | | |
| | | style="width: 200px" |
| | | @keyup.enter.native="val=>enterNative(val,'produceCode' + item.code)" |
| | | /> |
| | |
| | | filterable |
| | | :popper-append-to-body="false" |
| | | style="width: 200px" |
| | | |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | |
| | | wxArr: [], // 往来单位下拉 |
| | | |
| | | defectTableData: [], |
| | | badTableData: [] |
| | | badTableData: [], |
| | | workOrderCurrentValue: '' |
| | | |
| | | } |
| | | }, |
| | |
| | | break |
| | | } |
| | | this.enterNative(this.form.wocode, belong) |
| | | // this.search() |
| | | |
| | | this.radioSelected = '' |
| | | }, |
| | | enterNative(val, belong) { |
| | |
| | | }, |
| | | // 查询 |
| | | async search() { |
| | | this.form.wocode = this.workOrderCurrentValue |
| | | this.workOrderCurrentValue = '' |
| | | if (this.activeName === '生产列表') { |
| | | const res = await MesOrderStepSearch(this.form) |
| | | this.tableData = res.data |
| | |
| | | reset() { |
| | | this.form.wkshopcode = '' |
| | | this.form.wocode = '' |
| | | this.form.workOrderCurrentValue = '' |
| | | this.form.partcode = '' |
| | | this.form.partname = '' |
| | | this.form.partspec = '' |