| | |
| | | </div> |
| | | <div v-if="false" style="display: flex;padding-right: 10px"> |
| | | <el-button v-waves @click="ZZstart"> |
| | | <svg-icon icon-class="start_time" style="margin-right: 2px" /> |
| | | <svg-icon icon-class="start_time" style="margin-right: 2px"/> |
| | | 开始 |
| | | </el-button> |
| | | <el-button v-waves @click="ZZreport"> |
| | | <svg-icon icon-class="report_work" style="margin-right: 2px" /> |
| | | <svg-icon icon-class="report_work" style="margin-right: 2px"/> |
| | | 报工 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <el-divider /> |
| | | <el-divider/> |
| | | <div class="elTableDiv"> |
| | | <el-table |
| | | ref="tableDataRef" |
| | |
| | | </div> |
| | | <div v-if="false" style="display: flex;padding-right: 10px"> |
| | | <el-button v-waves @click="WXsend"> |
| | | <svg-icon icon-class="start_time" style="margin-right: 2px" /> |
| | | <svg-icon icon-class="start_time" style="margin-right: 2px"/> |
| | | 发料 |
| | | </el-button> |
| | | <el-button v-waves @click="WXback"> |
| | | <svg-icon icon-class="report_work" style="margin-right: 2px" /> |
| | | <svg-icon icon-class="report_work" style="margin-right: 2px"/> |
| | | 收料 |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | | <el-divider /> |
| | | <el-divider/> |
| | | <div class="elTableDiv"> |
| | | <el-table |
| | | ref="tableDataRef" |
| | |
| | | |
| | | </div> |
| | | </div> |
| | | <el-divider /> |
| | | <el-divider/> |
| | | <div class="elTableDiv"> |
| | | <el-table |
| | | ref="tableDataRef" |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item v-if="dialogTitle==='自制报工'" label="报工数量:" prop="startqty"> |
| | | <el-input v-model="dialogForm.startqty" oninput="value=value.replace(/[^0-9.]/g,'')" style="width: 200px;" /> |
| | | <el-input v-model="dialogForm.startqty" oninput="value=value.replace(/[^0-9.]/g,'')" style="width: 200px;"/> |
| | | <!-- <el-input v-model="dialogForm.noreportqty" oninput="value=value.replace(/[^0-9.]/g,'')" style="width: 200px;" />--> |
| | | </el-form-item> |
| | | <el-form-item v-if="dialogTitle==='自制报工'" label="不良数量:"> |
| | | <el-input v-model="dialogForm.noputqty" oninput="value=value.replace(/[^0-9.]/g,'')" style="width: 200px;" /> |
| | | <el-input v-model="dialogForm.noputqty" oninput="value=value.replace(/[^0-9.]/g,'')" style="width: 200px;"/> |
| | | </el-form-item> |
| | | <el-form-item v-if="dialogTitle==='自制报工'" label="不良原因:"> |
| | | <el-select |
| | |
| | | <!-- </el-select>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item v-if="dialogTitle==='自制报工'" label="备注:"> |
| | | <el-input v-model="dialogForm.remarks" type="textarea" style="width: 200px;" /> |
| | | <el-input v-model="dialogForm.remarks" type="textarea" style="width: 200px;"/> |
| | | </el-form-item> |
| | | <div v-if="dialogTitle==='自制报工'&&dialogForm.reckway==='group'"> |
| | | <i class="el-icon-s-operation" :style="{color:$store.state.settings.theme}" /> 人员列表 |
| | | <i class="el-icon-s-operation" :style="{color:$store.state.settings.theme}"/> 人员列表 |
| | | <el-button v-waves type="primary" style="margin: 10px 0" @click="userAdd">增行</el-button> |
| | | <el-table |
| | | ref="userTableDataRef" |
| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div class="operationClass"> |
| | | <el-button v-if="(row.isVisible===1&&!userIsSave)||row.isVisible===2" v-waves type="text" @click="userSave(row)">保存</el-button> |
| | | <el-button v-if="(row.isVisible===1&&!userIsSave)||row.isVisible===2" v-waves type="text" |
| | | @click="userSave(row)">保存 |
| | | </el-button> |
| | | <el-button v-if="row.isVisible===1" v-waves type="text" @click="userCancel(row)">取消</el-button> |
| | | <el-button v-if="row.isVisible===0" v-waves type="text" @click="userDel(row)">删除</el-button> |
| | | <el-button v-if="row.isVisible===0" v-waves type="text" @click="editRatio(row)">修改比例</el-button> |
| | |
| | | label="发料数量:" |
| | | prop="fqty" |
| | | > |
| | | <el-input v-model="dialogForm.fqty" oninput="value=value.replace(/[^0-9.]/g,'')" style="width: 200px;" /> |
| | | <el-input v-model="dialogForm.fqty" oninput="value=value.replace(/[^0-9.]/g,'')" style="width: 200px;"/> |
| | | </el-form-item> |
| | | <!-- 外协收料--> |
| | | <el-form-item |
| | |
| | | <!-- </el-select>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item v-if="dialogTitle==='外协收料'" label="备注:"> |
| | | <el-input v-model="dialogForm.remarks" type="textarea" style="width: 200px;" /> |
| | | <el-input v-model="dialogForm.remarks" type="textarea" style="width: 200px;"/> |
| | | </el-form-item> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | @close="dialogVisible2Close" |
| | | > |
| | | <!-- 要打印的区域 --> |
| | | <div id="printMe2" > |
| | | <div id="printMe2"> |
| | | <div |
| | | style="display: flex;width: 220px;height: 130px;border: 1px solid #000;text-align: center;font-size: 12px" |
| | | > |
| | |
| | | |
| | | </el-form> |
| | | <div style="margin-bottom:20px"> |
| | | <i class="el-icon-s-operation" :style="{color:$store.state.settings.theme}" /> 不良信息明细: |
| | | <i class="el-icon-s-operation" :style="{color:$store.state.settings.theme}"/> 不良信息明细: |
| | | </div> |
| | | <div class="elTableDiv"> |
| | | <el-table |
| | |
| | | <template slot-scope="{row}"> |
| | | <!-- {{ row.repair_qty }}--> |
| | | <div v-if="row.isVisible===0">{{ row.repair_qty }}</div> |
| | | <el-input v-if="row.isVisible===1" v-model="row.repair_qty" oninput="value=value.replace(/[^0-9]/g,'')" /> |
| | | <el-input v-if="row.isVisible===1" v-model="row.repair_qty" oninput="value=value.replace(/[^0-9]/g,'')"/> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <!-- oninput="value=value.replace(/[0-9]/g,'')"--> |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.isVisible===0">{{ row.bad_qty }}</div> |
| | | <el-input v-if="row.isVisible===1" v-model="row.bad_qty" oninput="value=value.replace(/[^0-9]/g,'')" /> |
| | | <el-input v-if="row.isVisible===1" v-model="row.bad_qty" oninput="value=value.replace(/[^0-9]/g,'')"/> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | SavaMesOrderStepStart, |
| | | SavaMesOrderStepReport, MesOrderNgStepSearch, MesOrderNgSubStepSearch, EditOrderNgStepSeave |
| | | } from '@/api/scgl' |
| | | import { urlAddRandomNo, webapp_ws_ajax_run, webapp_ws_autoupdate } from '@/utils/grwebapp' |
| | | import {urlAddRandomNo, webapp_ws_ajax_run, webapp_ws_autoupdate} from '@/utils/grwebapp' |
| | | import QRCode from 'qrcodejs2' |
| | | import { getCookie } from '@/utils/auth' |
| | | import { handleDatetime2 } from '@/utils/global' |
| | | import {getCookie} from '@/utils/auth' |
| | | import {handleDatetime2} from '@/utils/global' |
| | | import elDragDialog from '@/directive/el-drag-dialog' |
| | | import waves from '@/directive/waves' |
| | | |
| | |
| | | components: { |
| | | Pagination |
| | | }, |
| | | directives: { elDragDialog, waves }, |
| | | directives: {elDragDialog, waves}, |
| | | data() { |
| | | const validateName = (rule, value, callback) => { |
| | | if (!value) { |
| | |
| | | WXtableData: [], // 外协表 |
| | | |
| | | WXSelectArr: [// 外协类型下拉列表 |
| | | { code: 'OUT', name: '发料' }, |
| | | { code: 'IN', name: '收料' } |
| | | {code: 'OUT', name: '发料'}, |
| | | {code: 'IN', name: '收料'} |
| | | ], |
| | | WXSelected: 'OUT', // 外协下拉列表选中值 |
| | | dialogVisible: false, |
| | |
| | | userIsSave: false, // 此人员是否可保持 |
| | | dialogFormRules: { |
| | | outuser: [ |
| | | { required: true, message: '请选择发料人员', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请选择发料人员', trigger: ['blur', 'change']} |
| | | ], |
| | | fqty: [ |
| | | { required: true, message: '请输入发料数量', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请输入发料数量', trigger: ['blur', 'change']} |
| | | ], |
| | | wxcode: [ |
| | | { required: true, message: '请选择外协供方', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请选择外协供方', trigger: ['blur', 'change']} |
| | | ], |
| | | inuser: [ |
| | | { required: true, message: '请选择收料人员', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请选择收料人员', trigger: ['blur', 'change']} |
| | | ], |
| | | sqty: [ |
| | | { required: true, message: '请输入收料数量', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请输入收料数量', trigger: ['blur', 'change']} |
| | | ], |
| | | // noputqty: [ |
| | | // { required: true, message: '请输入不良数量', trigger: ['blur', 'change'] } |
| | |
| | | // { required: true, message: '请选择不良原因', trigger: ['blur', 'change'] } |
| | | // ] |
| | | eqpcode: [ |
| | | { required: true, message: '请选择生产设备', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请选择生产设备', trigger: ['blur', 'change']} |
| | | ], |
| | | usergroupcode: [ |
| | | { required: true, message: '请选择生产班组', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请选择生产班组', trigger: ['blur', 'change']} |
| | | ], |
| | | startqty: [ |
| | | { required: true, message: '请输入报工数量', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请输入报工数量', trigger: ['blur', 'change']} |
| | | ], |
| | | operation: [ |
| | | { required: true, message: '请选择报工人员', trigger: ['blur', 'change'] } |
| | | {required: true, message: '请选择报工人员', trigger: ['blur', 'change']} |
| | | ] |
| | | }, |
| | | activeName: '', |
| | |
| | | // this.$refs.dialogForm.resetFields() |
| | | // }) |
| | | }, |
| | | tableRowClassName({ row, rowIndex }) { |
| | | tableRowClassName({row, rowIndex}) { |
| | | return 'custom-row' |
| | | }, |
| | | async getMesOrderStepSearch() { |
| | |
| | | } |
| | | }, |
| | | // 排序改变时 |
| | | sortChange({ column, prop, order }) { |
| | | sortChange({column, prop, order}) { |
| | | if (order === 'descending') { |
| | | order = 'desc' |
| | | } else if (order === 'ascending') { |
| | |
| | | this.getMesOrderStepSearch() |
| | | }, |
| | | // WX排序改变时 |
| | | WXsortChange({ column, prop, order }) { |
| | | WXsortChange({column, prop, order}) { |
| | | if (order === 'descending') { |
| | | order = 'desc' |
| | | } else if (order === 'ascending') { |
| | |
| | | this.WXform.prop = prop |
| | | this.getMesOrderWxStepSearch() |
| | | }, |
| | | badSortChange({ column, prop, order }) { |
| | | badSortChange({column, prop, order}) { |
| | | if (order === 'descending') { |
| | | order = 'desc' |
| | | } else if (order === 'ascending') { |
| | |
| | | var that = this |
| | | var timer = this.timer |
| | | var begin = new Date().getTime() |
| | | return function() { |
| | | return function () { |
| | | var current = new Date().getTime() |
| | | clearTimeout(timer) |
| | | if (current - begin >= duration) { |
| | |
| | | // that.VALUE() |
| | | begin = current |
| | | } else { |
| | | that.timer = setTimeout(function() { |
| | | that.timer = setTimeout(function () { |
| | | // method() |
| | | if (belong === 'produceCode') { |
| | | that.enterNative(that.form.orderstepqrcode, belong) |
| | |
| | | orderstepqrcode: orderstepqrcode, |
| | | SelectType: '' |
| | | } |
| | | const res = await MesOrderStepStart(data) |
| | | if (res.code === '200' && res.count === 0) { |
| | | await this.ZZstart(res.data) |
| | | } |
| | | if (res.code === '200' && res.count === 1) { |
| | | await this.ZZreport(res.data) |
| | | } |
| | | MesOrderStepStart(data).then(res => { |
| | | if (res.code === '200' && res.count === 0) { |
| | | this.ZZstart(res.data) |
| | | } else if (res.code === '200' && res.count === 1) { |
| | | this.ZZreport(res.data) |
| | | } |
| | | }).catch(e => { |
| | | this.form.orderstepqrcode = '' |
| | | }) |
| | | |
| | | } |
| | | if (belong === 'WXproduceCode') { |
| | | const orderstepqrcode = this.WXform.orderstepqrcode |
| | |
| | | orderstepqrcode: orderstepqrcode, |
| | | SelectType: this.WXSelected// OUT、IN |
| | | } |
| | | const res = await MesOrderStepStart(data) |
| | | if (res.code === '200' && res.count === 2) { |
| | | await this.WXsend(res.data) |
| | | } |
| | | if (res.code === '200' && res.count === 3) { |
| | | await this.WXback(res.data) |
| | | } |
| | | MesOrderStepStart(data).then(res => { |
| | | if (res.code === '200' && res.count === 2) { |
| | | this.WXsend(res.data) |
| | | } else if (res.code === '200' && res.count === 3) { |
| | | this.WXback(res.data) |
| | | } |
| | | }).catch(e => { |
| | | this.WXform.orderstepqrcode = '' |
| | | }) |
| | | |
| | | } |
| | | |
| | | if (belong === 'badProduceCode') { |
| | |
| | | this.dialogForm.startqty = obj.noreportqty |
| | | |
| | | this.dialogForm.nextstepname = obj.nextstepname |
| | | this.dialogForm.nextstepcode =obj.nextstepcode ? obj.nextstepcode : obj.stepcode |
| | | this.dialogForm.nextstepcode = obj.nextstepcode ? obj.nextstepcode : obj.stepcode |
| | | |
| | | this.dialogForm.startqtySum = obj.noreportqty |
| | | }) |
| | |
| | | }, |
| | | // 获取自制报工生产班组下拉列表 |
| | | async getMesOrderStepReportSelectUserGroup() { |
| | | const { data: res } = await MesOrderStepReportSelectUserGroup() |
| | | const {data: res} = await MesOrderStepReportSelectUserGroup() |
| | | this.ZZtreams = res |
| | | }, |
| | | // 获取自制报工表格user所有 |
| | | async getMesOrderSelectUserZZ() { |
| | | const { data: res } = await MesOrderSelectUser({ usercode: this.dialogForm.usergroupcode }) |
| | | const {data: res} = await MesOrderSelectUser({usercode: this.dialogForm.usergroupcode}) |
| | | this.ZZuserArr = res |
| | | }, |
| | | async getMesOrderSelectUserZZ2() { |
| | | const { data: res } = await MesOrderSelectUser({ usercode: '' }) |
| | | const {data: res} = await MesOrderSelectUser({usercode: ''}) |
| | | this.ZZuserArr = res |
| | | await this.getUserTableData() |
| | | }, |
| | | // 获取自制生产设备下拉 |
| | | async getMesOrderStepStartSelectEqp() { |
| | | const { data: res } = await MesOrderStepStartSelectEqp({ orderstepqrcode: this.form.orderstepqrcode }) |
| | | const {data: res} = await MesOrderStepStartSelectEqp({orderstepqrcode: this.form.orderstepqrcode}) |
| | | this.ZZeqpArr = res |
| | | }, |
| | | // 获取WX供方接口 |
| | | async getMesOrderStepSelectWX() { |
| | | const { data: res } = await MesOrderStepSelectWX({ orderstepqrcode: this.WXform.orderstepqrcode }) |
| | | const {data: res} = await MesOrderStepSelectWX({orderstepqrcode: this.WXform.orderstepqrcode}) |
| | | this.WXouterprovide = res |
| | | }, |
| | | // 获取收发料人员下拉接口 |
| | | async getMesOrderSelectUser() { |
| | | const { data: res } = await MesOrderSelectUser({ usercode: this.dialogForm.outuser }) |
| | | const {data: res} = await MesOrderSelectUser({usercode: this.dialogForm.outuser}) |
| | | this.WXoutuser = res |
| | | }, |
| | | // 获取收料不良原因下拉 |
| | |
| | | if (val === 'ZZ') { |
| | | orderstepqrcode = this.form.orderstepqrcode |
| | | } |
| | | const { data: res } = await MesOrderStepSelectCause({ orderstepqrcode: orderstepqrcode }) |
| | | const {data: res} = await MesOrderStepSelectCause({orderstepqrcode: orderstepqrcode}) |
| | | this.badArr = res |
| | | }, |
| | | // 报工查询用户表 |
| | | async getUserTableData() { |
| | | const { data: res } = await MesOrderGroupSelectUser({ usergroupcode: this.dialogForm.usergroupcode }) |
| | | const {data: res} = await MesOrderGroupSelectUser({usergroupcode: this.dialogForm.usergroupcode}) |
| | | this.userTableData = res |
| | | this.userTableData.forEach(item => { |
| | | let number = Math.random() * Math.random()// 作为删除时的标识符 |
| | |
| | | this.$refs.tableDataRef.doLayout() |
| | | }, |
| | | calculatedValue() { |
| | | const total = 100; let value = 0 |
| | | const total = 100; |
| | | let value = 0 |
| | | this.userTableData.forEach(item => { |
| | | item.ratio = parseFloat((100 / this.userTableData.length).toFixed(2)) |
| | | value += item.ratio |
| | |
| | | if (value !== total) { |
| | | // let temp = this.userTableData |
| | | // temp[temp.length-1].ratio=temp[temp.length-1].ratio+(total-value) |
| | | this.userTableData[ this.userTableData.length - 1].ratio = parseFloat((this.userTableData[ this.userTableData.length - 1].ratio + (total - value)).toFixed(2)) |
| | | this.userTableData[this.userTableData.length - 1].ratio = parseFloat((this.userTableData[this.userTableData.length - 1].ratio + (total - value)).toFixed(2)) |
| | | } |
| | | }, |
| | | // 修改分配比列 |
| | |
| | | let number = Math.random() * Math.random()// 作为删除时的标识符 |
| | | number = number === 0 ? (10 + Math.random()) : number |
| | | console.log(this.userTableData, 6) |
| | | this.userTableData.unshift({ usercode: '', username: '', isVisible: 1, number: number, ratio: 0 }) |
| | | this.userTableData.unshift({usercode: '', username: '', isVisible: 1, number: number, ratio: 0}) |
| | | this.calculatedValue() |
| | | }, |
| | | // 用户列表删除 |
| | |
| | | this.badForm.orderstepqrcode = '' |
| | | |
| | | this.dialogForm.wo_code = '', // 工单编号 |
| | | this.dialogForm.partcode = '', // 产品编码 |
| | | this.dialogForm.partname = '', // 产品名称 |
| | | this.dialogForm.partspec = '', // 产品规格 |
| | | this.dialogForm.stepseq = '', // 工序序号 |
| | | this.dialogForm.stepcode = '', // 工序编码 |
| | | this.dialogForm.stepname = '', // 当前工序名 |
| | | this.dialogForm.nextstepname = '', // 下一道工序名 |
| | | this.dialogForm.stepdesc = '', // 工序描述 |
| | | this.dialogForm.planqty = '', // 任务数量 |
| | | this.dialogForm.reportqty = '', // 已报数量 |
| | | this.dialogForm.noreportqty = '', // 未报数量 |
| | | this.dialogForm.startqty = '', // 开(报)工数量 |
| | | this.dialogForm.partcode = '', // 产品编码 |
| | | this.dialogForm.partname = '', // 产品名称 |
| | | this.dialogForm.partspec = '', // 产品规格 |
| | | this.dialogForm.stepseq = '', // 工序序号 |
| | | this.dialogForm.stepcode = '', // 工序编码 |
| | | this.dialogForm.stepname = '', // 当前工序名 |
| | | this.dialogForm.nextstepname = '', // 下一道工序名 |
| | | this.dialogForm.stepdesc = '', // 工序描述 |
| | | this.dialogForm.planqty = '', // 任务数量 |
| | | this.dialogForm.reportqty = '', // 已报数量 |
| | | this.dialogForm.noreportqty = '', // 未报数量 |
| | | this.dialogForm.startqty = '', // 开(报)工数量 |
| | | |
| | | this.dialogForm.wxcode = '', // 外协供应商编码 |
| | | this.dialogForm.outuser = '', // 发料人员 |
| | | this.dialogForm.taskqty = '', // 任务数量 |
| | | this.dialogForm.fqty = '', // 发料数量 |
| | | this.dialogForm.wxcode = '', // 外协供应商编码 |
| | | this.dialogForm.outuser = '', // 发料人员 |
| | | this.dialogForm.taskqty = '', // 任务数量 |
| | | this.dialogForm.fqty = '', // 发料数量 |
| | | |
| | | this.dialogForm.inuser = getCookie('navTabId'), // 收料人员 默认登录人员 |
| | | this.dialogForm.sqty = '', // 收料数量 |
| | | this.dialogForm.ngqty = '', // 不良数量 |
| | | this.dialogForm.badcode = '', // 不良原因编码 |
| | | this.dialogForm.inuser = getCookie('navTabId'), // 收料人员 默认登录人员 |
| | | this.dialogForm.sqty = '', // 收料数量 |
| | | this.dialogForm.ngqty = '', // 不良数量 |
| | | this.dialogForm.badcode = '', // 不良原因编码 |
| | | |
| | | this.dialogForm.noputqty = '', // 不良数量 |
| | | this.dialogForm.noputqty = '', // 不良数量 |
| | | |
| | | this.dialogForm.eqpcode = '', // 生产设备编码 |
| | | this.dialogForm.eqpcode = '', // 生产设备编码 |
| | | |
| | | this.dialogForm.usergroupcode = '', // 班组编码 |
| | | this.dialogForm.reportuser = '', // 报工人员 |
| | | this.dialogForm.usergroupcode = '', // 班组编码 |
| | | this.dialogForm.reportuser = '', // 报工人员 |
| | | |
| | | this.dialogForm.startqtySum = '' // 不能超过的数值 |
| | | this.dialogForm.startqtySum = '' // 不能超过的数值 |
| | | |
| | | this.dialogForm.reckway = '' // 计件方式 |
| | | |
| | |
| | | eqpcode: this.dialogForm.eqpcode, // 设备编码 |
| | | usergroupcode: this.dialogForm.usergroupcode, // 班组编码 |
| | | // reportuser: reportuser, // 报工人员 |
| | | reportuser: this.dialogForm.reckway === 'group' ? this.userTableData : [{ usercode: this.dialogForm.operation, ratio: 100 }], |
| | | reportuser: this.dialogForm.reckway === 'group' ? this.userTableData : [{ |
| | | usercode: this.dialogForm.operation, |
| | | ratio: 100 |
| | | }], |
| | | taskqty: this.dialogForm.planqty, // 任务数量 |
| | | // startqty: this.dialogForm.startqty, // 开工数量 |
| | | startqty: this.dialogForm.reportqty, // 开工数量 |
| | |
| | | this.judgeIsScanningArr = [] |
| | | }, |
| | | async getMesOrderSelectUserAll() { |
| | | const { data: res } = await MesOrderSelectUser({ usercode: '' }) |
| | | const {data: res} = await MesOrderSelectUser({usercode: ''}) |
| | | this.OperationArr = res |
| | | }, |
| | | // 点击维修处理按钮 或 扫描条码的扫描回车事件 |
| | |
| | | } |
| | | } |
| | | |
| | | const { data: res } = await MesOrderNgSubStepSearch(data) |
| | | const {data: res} = await MesOrderNgSubStepSearch(data) |
| | | |
| | | this.$nextTick(() => { |
| | | this.badDialogForm.wo_code = res.data1.wo_code |