| | |
| | | <!-- </el-form-item>--> |
| | | |
| | | </el-form> |
| | | <div style="display: flex;justify-content: flex-end"> |
| | | {{ routeStepArr }} |
| | | </div> |
| | | |
| | | <!-- 工艺路线放大镜对话框--> |
| | | <el-dialog |
| | |
| | | lastPrintArr: [], // 末道打印的数组(所有) |
| | | lastPrintArrSelected: [], // 末道打印的数组(选中) |
| | | |
| | | switchButton: false |
| | | switchButton: false, |
| | | |
| | | routeStepArr: '' |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | wkshopcode: this.dialogForm.wkshopcode |
| | | } |
| | | await SelectRouteOrWkshop(data).then((res) => { |
| | | // console.log(res, 1) |
| | | console.log(res, 1) |
| | | |
| | | SelectRouteStep({ routecode: this.dialogForm.routecode }).then(res2 => { |
| | | console.log(res2) |
| | | this.routeStepArr = res2.data.map(i => i.stepname).join(',') |
| | | }) |
| | | |
| | | this.submitButtonIsDisabled = false |
| | | }).catch(err => { |
| | | // console.log(err, 2) |
| | |
| | | }, |
| | | // 对话框关闭事件 |
| | | handleClose() { |
| | | this.routeStepArr = '' |
| | | this.dialogForm.partname = '' // 产品名称 |
| | | this.dialogForm.partspec = '' // 产品规格 |
| | | this.dialogForm.wkshopname = '' // 生产车间名称 |