| | |
| | | <el-table-column |
| | | prop="plan_startdate" |
| | | label="计划开工日期" |
| | | width="185" |
| | | width="150" |
| | | sortable="custom" |
| | | /> |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.plan_startdate">{{ row.plan_startdate.substring(0,11) }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="plan_enddate" |
| | | label="计划完工日期" |
| | | width="185" |
| | | width="150" |
| | | sortable="custom" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.plan_startdate">{{ row.plan_startdate }}</div> |
| | | <div v-if="row.plan_startdate">{{ row.plan_startdate.substring(0,11) }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <el-table-column |
| | | prop="plan_startdate" |
| | | label="计划开工日期" |
| | | width="185" |
| | | width="150" |
| | | sortable="custom" |
| | | /> |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.plan_startdate">{{ row.plan_startdate.substring(0,11) }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="plan_enddate" |
| | | label="计划完工日期" |
| | | width="185" |
| | | width="150" |
| | | sortable="custom" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.plan_startdate">{{ row.plan_startdate }}</div> |
| | | <div v-if="row.plan_startdate">{{ row.plan_startdate.substring(0,11) }}</div> |
| | | <div v-else>/</div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <el-table-column |
| | | prop="wo_code" |
| | | label="工单号" |
| | | width="160" |
| | | min-width="160" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="partcode" |
| | | label="产品编码" |
| | | width="110" |
| | | min-width="110" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="partname" |
| | | width="160" |
| | | min-width="160" |
| | | label="产品名称" |
| | | show-tooltip-when-overflow |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="stepname" |
| | | label="工序" |
| | | width="120" |
| | | min-width="120" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <!-- <el-form-item v-if="dialogTitle==='自制报工'" label="报工人员:">--> |
| | | <!-- <el-input v-model="dialogForm.remarks" type="textarea" style="width: 200px;" />--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item v-if="dialogTitle==='自制报工'" label="备注:"> |
| | | <el-input v-model="dialogForm.remarks" type="textarea" style="width: 200px;" /> |
| | | </el-form-item> |
| | |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in badOperationArr" |
| | | v-for="item in OperationArr" |
| | | :key="item.usercode" |
| | | :label="item.username" |
| | | :value="item.usercode" |
| | |
| | | operation: getCookie('navTabId') |
| | | }, |
| | | badTableDataDialog: [], // 不良对话框table表格 |
| | | badOperationArr: [] // 维修人员数组 |
| | | OperationArr: [] // 人员数组 |
| | | } |
| | | }, |
| | | // computed: { |
| | |
| | | const data = { |
| | | Data: this.badTableDataDialog |
| | | } |
| | | // console.log(JSON.stringify(data), 1) |
| | | // console.log(this.badDialogForm.operation, 1) |
| | | // this.badPrintOperator = |
| | | // this.badPrint(this.badOperationArr.find(item => item.usercode === this.badDialogForm.operation).username) |
| | | // this.dialogVisible2 = true |
| | | |
| | | EditOrderNgStepSeave(data, this.badDialogForm.operation).then(res => { |
| | | if (res.code === '200' || res.code === '301') { |
| | | this.getBadList() |
| | | this.badDialogVisible = false |
| | | this.badPrint(this.badOperationArr.find(item => item.usercode === this.badDialogForm.operation).username) |
| | | this.badPrint(this.OperationArr.find(item => item.usercode === this.badDialogForm.operation).username) |
| | | this.dialogVisible2 = true |
| | | return this.$message.success('保存成功!') |
| | | } |
| | |
| | | // 点击维修处理按钮 或 扫描条码的扫描回车事件 |
| | | async repairHandle(row) { |
| | | const { data: res1 } = await MesOrderSelectUser({ usercode: '' }) |
| | | this.badOperationArr = res1 |
| | | this.OperationArr = res1 |
| | | |
| | | console.log(row) |
| | | let data |