代码更新
This commit is contained in:
@@ -211,7 +211,7 @@ export default {
|
||||
classes3: [],
|
||||
form: {
|
||||
sale_id: null,
|
||||
produceorder_id: null,
|
||||
workorder_id: null,
|
||||
produceorder_code: null,
|
||||
producedeviceorder_code: null,
|
||||
shift_type_scode: null,
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
this.getworkprocedure()
|
||||
this.initClass3()
|
||||
this.is_null()
|
||||
crudProduceshiftorder.getDtl({ produceorder_id: this.form.produceorder_id }).then(res => {
|
||||
crudProduceshiftorder.getDtl({ workorder_id: this.form.workorder_id }).then(res => {
|
||||
this.tableData = res
|
||||
})
|
||||
},
|
||||
|
||||
@@ -238,7 +238,7 @@
|
||||
@selection-change="crud.selectionChangeHandler"
|
||||
>
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column v-if="false" prop="produceorder_id" label="生产班次工单标识" />
|
||||
<el-table-column v-if="false" prop="workorder_id" label="生产班次工单标识" />
|
||||
<el-table-column prop="produceorder_code" label="工单编号" width="140px">
|
||||
<template slot-scope="scope">
|
||||
<el-link type="warning" @click="toView(scope.row)">{{ scope.row.produceorder_code }}</el-link>
|
||||
@@ -314,7 +314,7 @@ import ViewDialog from '@/views/wms/pdm/produce/ViewDialog'
|
||||
import DeviceDialog from '@/views/wms/pub/DeviceDialog'
|
||||
|
||||
const defaultForm = {
|
||||
produceorder_id: null,
|
||||
workorder_id: null,
|
||||
produceorder_code: null,
|
||||
producedeviceorder_code: null,
|
||||
shift_type_scode: '01',
|
||||
@@ -357,7 +357,7 @@ export default {
|
||||
dicts: ['PDM_BI_SHIFTTYPE', 'MPS_BD_ORDERSTATUS', 'is_used', 'PDM_BI_ORDERTYPE', 'IS_OR_NOT', 'storagevehicle_type'],
|
||||
cruds() {
|
||||
return CRUD({
|
||||
title: '工单', url: 'api/produceshiftorder', idField: 'produceorder_id', sort: 'produceorder_id,desc',
|
||||
title: '工单', url: 'api/produceshiftorder', idField: 'workorder_id', sort: 'workorder_id,desc',
|
||||
optShow: {
|
||||
add: true,
|
||||
edit: false,
|
||||
@@ -471,7 +471,7 @@ export default {
|
||||
},
|
||||
// 下发
|
||||
submits(row) {
|
||||
crudProduceshiftorder.submits({ produceorder_id: row.produceorder_id }).then(res => {
|
||||
crudProduceshiftorder.submits({ workorder_id: row.workorder_id }).then(res => {
|
||||
this.crud.notify('下发成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.crud.toQuery()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user