You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2028 lines
86 KiB
2028 lines
86 KiB
<template> |
|
<basic-container> |
|
|
|
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud" |
|
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset" |
|
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
|
@refresh-change="refreshChange" @on-load="onLoad"> |
|
<template #menu-left> |
|
<el-button type="primary" @click="batchClose()">批量关闭</el-button> |
|
<el-button type="primary" @click.stop="priorityFn(row)">优先级调整</el-button> |
|
</template> |
|
<template #menu-right> |
|
|
|
</template> |
|
|
|
<template #poCode="{ row }"> |
|
<el-text type="primary">{{ row.poCode }}</el-text> |
|
</template> |
|
<template #prodIdent="{ row }"> |
|
<el-tag>{{ row.prodIdent }}</el-tag> |
|
</template> |
|
<template #curStatusText="{ row }"> |
|
<el-tag v-if="row.curStatusText == '已派工'">{{ row.curStatusText }}</el-tag> |
|
<el-tag class="ml-2" type="success" v-if="row.curStatusText == '已完工'"> {{ |
|
row.curStatusText }}</el-tag> |
|
<el-tag class="ml-2" type="info" v-if="row.curStatusText == '已关闭'">{{ row.curStatusText |
|
}}</el-tag> |
|
<el-tag class="ml-2" type="warning" v-if="row.curStatusText == '加工中'">{{ row.curStatusText |
|
}}</el-tag> |
|
<el-tag class="ml-2" type="danger" v-if="row.curStatusText == '已退回'">{{ row.curStatusText |
|
}}</el-tag> |
|
</template> |
|
<template #menu="{ row }"> |
|
<div class="menu-buttons"> |
|
<el-button type="primary" text plain @click="lookProcessRoute(row)">工艺路线 |
|
</el-button> |
|
<!-- <el-button type="primary" text plain size="small" @click.stop="priorityFn(row)">优先级调整 |
|
</el-button> --> |
|
<el-button type="primary" text plain @click.stop="updateFn(row)">修改 |
|
</el-button> |
|
<!-- <el-button type="primary" text plain size="small" @click.stop="confirmFn(row)">批量确认 |
|
</el-button> --> |
|
</div> |
|
</template> |
|
</avue-crud> |
|
|
|
|
|
<!-- 加急 --> |
|
<!-- <rushDialog :showDialog="isRushOpen" v-if="isRushOpen" @closeDialog="closeDialog"></rushDialog> |
|
|
|
<batchDialog :showDialog="isBatchOpen" v-if="isBatchOpen" @closeDialog="closeDialog"></batchDialog> --> |
|
|
|
<!-- 修改 --> |
|
<orderUpdateDailog :showDialog="isUpdateOpen" v-if="isUpdateOpen" @closeDialog="closeDialog"> |
|
</orderUpdateDailog> |
|
<!-- 优先级调整 --> |
|
<priorityDialog :showDialog="isPriorityOpen" v-if="isPriorityOpen" @closeDialog="closeDialog" @submitPriority="handlePrioritySubmit"></priorityDialog> |
|
<!-- 工艺路线弹窗 --> |
|
<lookProcess |
|
:is-open="isOpen" |
|
v-if="isOpen" |
|
@cancel="closeDialog" |
|
:rowData="rowItem" |
|
sourceId="planYieIdOrder" |
|
></lookProcess> |
|
</basic-container> |
|
</template> |
|
|
|
<script> |
|
|
|
import { |
|
add, |
|
getRole, |
|
getRoleAlias, |
|
getRoleTreeById, |
|
grant, |
|
grantTree, |
|
remove, |
|
update, |
|
} from '@/api/system/role'; |
|
import { mapGetters } from 'vuex'; |
|
import { validatenull } from '@/utils/validate'; |
|
import lookProcess from './components/lookProcess.vue' |
|
// import rushDialog from './components/rushDialog.vue' |
|
// import batchDialog from './components/batchDialog.vue' |
|
import orderUpdateDailog from './components/orderUpdateDailog.vue' |
|
import priorityDialog from './components/priorityDialog.vue' |
|
export default { |
|
components: { |
|
orderUpdateDailog, |
|
priorityDialog, |
|
// rushDialog, |
|
// batchDialog |
|
lookProcess |
|
}, |
|
data() { |
|
return { |
|
isUpdateOpen: false, |
|
inBatchesOpen: false, |
|
platingSmallOpen: false, |
|
planOrderArr: [], |
|
isOpen: false, |
|
rowItem: {}, |
|
poId: null, |
|
form: {}, |
|
box: false, |
|
props: { |
|
label: 'title', |
|
value: 'key', |
|
}, |
|
menuGrantList: [], |
|
dataScopeGrantList: [], |
|
apiScopeGrantList: [], |
|
apiGrantList: [], |
|
menuTreeObj: [], |
|
dataScopeTreeObj: [], |
|
apiScopeTreeObj: [], |
|
selectionList: [], |
|
query: {}, |
|
loading: true, |
|
page: { |
|
pageSize: 10, |
|
currentPage: 1, |
|
total: 0, |
|
}, |
|
option: { |
|
columnSort: true, |
|
tip: false, |
|
height: 'auto', |
|
calcHeight: 32, |
|
simplePage: false, |
|
searchShow: true, |
|
searchMenuSpan: 6, |
|
searchIcon: true, |
|
searchIndex: 3, |
|
tree: false, |
|
border: true, |
|
index: true, |
|
selection: true, |
|
addBtn: false, |
|
editBtn: false, |
|
viewBtn: false, |
|
delBtn: false, |
|
editBtnText: '修改', |
|
labelWidth: 120, |
|
// searchLabelWidth: 120, |
|
menuWidth: 300, |
|
dialogWidth: 900, |
|
dialogClickModal: false, |
|
searchEnter: true, |
|
excelBtn: false, |
|
filterBtn: true, |
|
searchShowBtn: false, |
|
excelBtn: true, |
|
index: false, |
|
showOverflowTooltip: true, |
|
addBtnIcon: ' ', |
|
viewBtnIcon: ' ', |
|
delBtnIcon: ' ', |
|
editBtnIcon: ' ', |
|
gridBtn: false, |
|
searchLabelPosition: 'left', |
|
searchGutter: 24, |
|
searchSpan: 6, |
|
menuAlign: 'left', |
|
gridBtn: false, |
|
searchMenuPosition: 'right', |
|
align: 'center', |
|
column: [ |
|
{ |
|
label: '计划单号', |
|
prop: 'poCode', |
|
search: true, |
|
sortable: true, |
|
width: 150, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入计划单号', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '生产单号', |
|
prop: 'str0', |
|
search: true, |
|
sortable: true, |
|
width: 150, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入生产单号', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '零件号', |
|
prop: 'str1', |
|
search: true, |
|
sortable: true, |
|
width: 180, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
|
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入零件号', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '批次号', |
|
prop: 'str2', |
|
search: true, |
|
sortable: true, |
|
width: 150, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入批次号', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '产品型号', |
|
prop: 'productType', |
|
search: false, |
|
sortable: true, |
|
disabled: true, |
|
width: 120, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: false, |
|
message: '请输入产品型号', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '产品名称', |
|
prop: 'productName', |
|
search: false, |
|
sortable: true, |
|
disabled: true, |
|
span: 12, |
|
width: 150, |
|
headerAlign: 'center', |
|
align: 'left', |
|
rules: [ |
|
{ |
|
required: false, |
|
message: '请输入产品名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '流程卡号', |
|
prop: 'poCode1', |
|
search: true, |
|
sortable: true, |
|
width: 150, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '流转编号', |
|
prop: 'poCode2', |
|
search: true, |
|
sortable: true, |
|
width: 150, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '订单优先级', |
|
prop: 'orderPriority', |
|
search: false, |
|
sortable: true, |
|
width: 150, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
type: 'select', |
|
dicData: [ |
|
{ |
|
label: '一级', |
|
value: '1', |
|
}, |
|
{ |
|
label: '二级', |
|
value: '2', |
|
}, |
|
{ |
|
label: '三级', |
|
value: '3', |
|
}, |
|
], |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入订单优先级', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
|
|
{ |
|
label: '镀种', |
|
prop: 'plate', |
|
search: false, |
|
sortable: true, |
|
disabled: true, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: false, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
// { |
|
// label: '镀种小类', |
|
// prop: 'plate', |
|
// search: false, |
|
// sortable: true, |
|
// width: 120, |
|
// display: false, |
|
// span: 12, |
|
// headerAlign: 'center', |
|
// align: 'center', |
|
// rules: [ |
|
// { |
|
// required: true, |
|
// message: '请输入角色名称', |
|
// trigger: 'blur', |
|
// }, |
|
// ], |
|
// }, |
|
{ |
|
label: '生产标识', |
|
prop: 'prodIdent', |
|
search: false, |
|
sortable: true, |
|
width: 120, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '使用部门', |
|
prop: 'useDept', |
|
search: false, |
|
sortable: true, |
|
disabled: true, |
|
width: 120, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '需求数量', |
|
prop: 'poQty', |
|
search: false, |
|
sortable: true, |
|
width: 120, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '面积(d㎡)', |
|
prop: 'poArea', |
|
search: false, |
|
sortable: true, |
|
width: 120, |
|
span: 12, |
|
disabled: true, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: false, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
|
|
{ |
|
label: '需求交期', |
|
prop: 'demandDate', |
|
search: false, |
|
sortable: true, |
|
width: 180, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
|
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '计划员', |
|
prop: 'planUser', |
|
search: false, |
|
sortable: true, |
|
width: 120, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '计划下达时间', |
|
prop: 'releaseDate', |
|
search: false, |
|
sortable: true, |
|
searchLabelWidth: 100, |
|
width: 170, |
|
span: 12, |
|
type: "date", |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, ], |
|
}, |
|
{ |
|
label: '返工单号', |
|
prop: 'returnWorkOrderNo', |
|
search: true, |
|
sortable: true, |
|
width: 120, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入原生产单号', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '原生产单号', |
|
prop: 'originalProductionOrderNo', |
|
search: false, |
|
sortable: true, |
|
width: 120, |
|
span: 12, |
|
headerAlign: 'center', |
|
align: 'center', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入原生产单号', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
{ |
|
label: '订单状态', |
|
prop: 'curStatusText', |
|
search: true, |
|
sortable: true, |
|
span: 12, |
|
display: false, |
|
type: 'select', |
|
width: '140', |
|
headerAlign: 'center', |
|
align: 'center', |
|
dicData: [{ |
|
value: 1, |
|
label: '已下发' |
|
}, { |
|
value: 2, |
|
label: '未下发' |
|
}, { |
|
value: 5, |
|
label: '加工中' |
|
}, { |
|
value: 15, |
|
label: '已完工' |
|
}, |
|
{ |
|
value: 21, |
|
label: '已关闭' |
|
}] |
|
}, |
|
{ |
|
label: '备注', |
|
prop: 'memo', |
|
search: false, |
|
sortable: true, |
|
span: 24, |
|
type: 'textarea', |
|
width: 150, |
|
headerAlign: 'center', |
|
align: 'left', |
|
rules: [ |
|
{ |
|
required: true, |
|
message: '请输入角色名称', |
|
trigger: 'blur', |
|
}, |
|
], |
|
}, |
|
|
|
], |
|
}, |
|
|
|
data: [], |
|
isRushOpen: false,//加急弹框 |
|
isBatchOpen: false,//分批处理 |
|
isPriorityOpen: false,// |
|
}; |
|
}, |
|
computed: { |
|
...mapGetters(['userInfo', 'permission']), |
|
permissionList() { |
|
return { |
|
addBtn: this.validData(this.permission.role_add, false), |
|
viewBtn: this.validData(this.permission.role_view, false), |
|
delBtn: this.validData(this.permission.role_delete, false), |
|
editBtn: this.validData(this.permission.role_edit, false), |
|
}; |
|
}, |
|
ids() { |
|
let ids = []; |
|
this.selectionList.forEach(ele => { |
|
ids.push(ele.id); |
|
}); |
|
return ids.join(','); |
|
}, |
|
idsArray() { |
|
let ids = []; |
|
this.selectionList.forEach(ele => { |
|
ids.push(ele.id); |
|
}); |
|
return ids; |
|
}, |
|
}, |
|
watch: { |
|
'form.currentAlias'() { |
|
const alias = this.form.currentAlias; |
|
if (!validatenull(alias)) { |
|
this.form.roleAlias = alias; |
|
} |
|
}, |
|
}, |
|
methods: { |
|
// 优先级调整 |
|
priorityFn() { |
|
this.isPriorityOpen = true |
|
}, |
|
handlePrioritySubmit(data) { |
|
this.$message.success(`优先级已调整为${data.priority === 1 ? '一级' : data.priority === 2 ? '二级' : '三级'}`); |
|
}, |
|
// 修改 |
|
updateFn() { |
|
this.isUpdateOpen = true |
|
}, |
|
// 批量接收 |
|
batchReceiving() { |
|
this.$confirm('确定将选择数据批量接收?', { |
|
confirmButtonText: '确定', |
|
cancelButtonText: '取消', |
|
type: 'warning', |
|
}) |
|
.then(() => { |
|
// return remove(row.id); |
|
}) |
|
.then(() => { |
|
// this.onLoad(this.page); |
|
// this.$message({ |
|
// type: 'success', |
|
// message: '操作成功!', |
|
// }); |
|
}); |
|
}, |
|
// 批量关闭 |
|
batchClose() { |
|
// 检查是否选择了数据 |
|
if (this.selectionList.length === 0) { |
|
this.$message.warning('请选择至少一条数据'); |
|
return; |
|
} |
|
this.$confirm('确定将选择数据批量关闭?', { |
|
confirmButtonText: '确定', |
|
cancelButtonText: '取消', |
|
type: 'warning', |
|
}) |
|
.then(() => { |
|
// return remove(row.id); |
|
}) |
|
.then(() => { |
|
// this.onLoad(this.page); |
|
// this.$message({ |
|
// type: 'success', |
|
// message: '操作成功!', |
|
// }); |
|
}); |
|
}, |
|
// 加急 |
|
rushFn() { |
|
this.isRushOpen = true |
|
}, |
|
closeDialog() { |
|
this.isRushOpen = false |
|
this.isBatchOpen = false |
|
this.isUpdateOpen = false |
|
this.isPriorityOpen = false |
|
this.isOpen = false |
|
}, |
|
inBatchesFn(row) { |
|
this.rowItem = row; |
|
this.isBatchOpen = true; |
|
}, |
|
subclass() { |
|
this.platingSmallOpen = true; |
|
}, |
|
lookProcessRoute(row) { |
|
this.isOpen = true; |
|
this.rowItem = row; |
|
}, |
|
cancel(refresh) { |
|
if (refresh) { |
|
this.$refs.myTable.load(); |
|
} |
|
this.inBatchesOpen = false; |
|
this.isOpen = false; |
|
this.planFormOpen = false; |
|
this.platingSmallOpen = false; |
|
}, |
|
initData(roleId) { |
|
getRoleTreeById(roleId).then(res => { |
|
const column = this.findObject(this.option.column, 'parentId'); |
|
column.dicData = res.data.data; |
|
}); |
|
}, |
|
submit() { |
|
const menuList = this.$refs.treeMenu.getCheckedKeys(); |
|
const dataScopeList = this.$refs.treeDataScope.getCheckedKeys(); |
|
const apiScopeList = this.$refs.treeApiScope.getCheckedKeys(); |
|
grant(this.idsArray, menuList, dataScopeList, apiScopeList).then(() => { |
|
this.box = false; |
|
this.$message({ |
|
type: 'success', |
|
message: '操作成功!', |
|
}); |
|
this.selectionList = []; |
|
this.onLoad(this.page); |
|
}); |
|
}, |
|
rowSave(row, done, loading) { |
|
add(row).then( |
|
() => { |
|
this.onLoad(this.page); |
|
this.$message({ |
|
type: 'success', |
|
message: '操作成功!', |
|
}); |
|
done(); |
|
}, |
|
error => { |
|
window.console.log(error); |
|
loading(); |
|
} |
|
); |
|
}, |
|
rowUpdate(row, index, done, loading) { |
|
update(row).then( |
|
() => { |
|
this.onLoad(this.page); |
|
this.$message({ |
|
type: 'success', |
|
message: '操作成功!', |
|
}); |
|
done(); |
|
}, |
|
error => { |
|
window.console.log(error); |
|
loading(); |
|
} |
|
); |
|
}, |
|
rowDel(row) { |
|
this.$confirm('确定将选择数据删除?', { |
|
confirmButtonText: '确定', |
|
cancelButtonText: '取消', |
|
type: 'warning', |
|
}) |
|
.then(() => { |
|
return remove(row.id); |
|
}) |
|
.then(() => { |
|
this.onLoad(this.page); |
|
this.$message({ |
|
type: 'success', |
|
message: '操作成功!', |
|
}); |
|
}); |
|
}, |
|
|
|
searchReset() { |
|
this.query = {}; |
|
this.onLoad(this.page); |
|
}, |
|
searchChange(params, done) { |
|
this.query = params; |
|
this.page.currentPage = 1; |
|
this.onLoad(this.page, params); |
|
done(); |
|
}, |
|
selectionChange(list) { |
|
this.selectionList = list; |
|
}, |
|
selectionClear() { |
|
this.selectionList = []; |
|
this.$refs.crud.toggleSelection(); |
|
}, |
|
beforeOpen(done, type) { |
|
if (['add', 'edit'].includes(type)) { |
|
this.initData(this.form.id); |
|
} |
|
if (['edit', 'view'].includes(type)) { |
|
if (this.form.parentId === '0') { |
|
this.form.parentId = ''; |
|
} |
|
} |
|
getRoleAlias().then(res => { |
|
const column = this.findObject(this.option.column, 'currentAlias'); |
|
column.dicData = res.data.data; |
|
}); |
|
done(); |
|
}, |
|
handleRole() { |
|
if (this.selectionList.length !== 1) { |
|
this.$message.warning('只能选择一条数据'); |
|
return; |
|
} |
|
this.menuTreeObj = []; |
|
this.dataScopeTreeObj = []; |
|
this.apiScopeTreeObj = []; |
|
grantTree().then(res => { |
|
this.menuGrantList = res.data.data.menu; |
|
this.dataScopeGrantList = res.data.data.dataScope; |
|
this.apiScopeGrantList = res.data.data.apiScope; |
|
getRole(this.ids).then(res => { |
|
this.menuTreeObj = res.data.data.menu; |
|
this.dataScopeTreeObj = res.data.data.dataScope; |
|
this.apiScopeTreeObj = res.data.data.apiScope; |
|
this.box = true; |
|
}); |
|
}); |
|
}, |
|
handleRowRole(row) { |
|
this.menuTreeObj = []; |
|
this.dataScopeTreeObj = []; |
|
this.apiScopeTreeObj = []; |
|
grantTree().then(res => { |
|
this.menuGrantList = res.data.data.menu; |
|
this.dataScopeGrantList = res.data.data.dataScope; |
|
this.apiScopeGrantList = res.data.data.apiScope; |
|
getRole(row.id).then(res => { |
|
this.menuTreeObj = res.data.data.menu; |
|
this.dataScopeTreeObj = res.data.data.dataScope; |
|
this.apiScopeTreeObj = res.data.data.apiScope; |
|
this.selectionList.push(row); |
|
this.box = true; |
|
}); |
|
}); |
|
}, |
|
handleDelete() { |
|
if (this.selectionList.length === 0) { |
|
this.$message.warning('请选择至少一条数据'); |
|
return; |
|
} |
|
this.$confirm('确定将选择数据删除?', { |
|
confirmButtonText: '确定', |
|
cancelButtonText: '取消', |
|
type: 'warning', |
|
}) |
|
.then(() => { |
|
return remove(this.ids); |
|
}) |
|
.then(() => { |
|
this.onLoad(this.page); |
|
this.$message({ |
|
type: 'success', |
|
message: '操作成功!', |
|
}); |
|
this.$refs.crud.toggleSelection(); |
|
}); |
|
}, |
|
currentChange(currentPage) { |
|
this.page.currentPage = currentPage; |
|
}, |
|
sizeChange(pageSize) { |
|
this.page.pageSize = pageSize; |
|
}, |
|
refreshChange() { |
|
this.onLoad(this.page, this.query); |
|
}, |
|
handleChange(file, fileList) { |
|
// proxy.$Export.xlsx(file.raw).then((data) => { |
|
// data.value = data.results; |
|
// }); |
|
this.$message({ |
|
type: 'success', |
|
message: '操作成功!', |
|
}); |
|
}, |
|
confirmFn() { |
|
this.$confirm('确定将选择数据批量确认?', { |
|
confirmButtonText: '确定', |
|
cancelButtonText: '取消', |
|
type: 'warning', |
|
}) |
|
.then(() => { |
|
// return remove(row.id); |
|
}) |
|
.then(() => { |
|
// this.onLoad(this.page); |
|
// this.$message({ |
|
// type: 'success', |
|
// message: '操作成功!', |
|
// }); |
|
}); |
|
}, |
|
handleSelectionChange(val) { |
|
this.multipleSelection = val; |
|
}, |
|
handleEdit(row) { |
|
this.$refs.editDialog.open(row); |
|
}, |
|
handleDelete(row) { |
|
this.$confirm('确定将选择数据删除?', { |
|
confirmButtonText: '确定', |
|
cancelButtonText: '取消', |
|
type: 'warning', |
|
}) |
|
.then(() => { |
|
|
|
}) |
|
}, |
|
onLoad(page, params = {}) { |
|
this.loading = true; |
|
|
|
// 如果没有传入参数,使用默认查询条件 |
|
if (Object.keys(params).length === 0 && Object.keys(this.query).length > 0) { |
|
params = this.query; |
|
} |
|
this.data = [ |
|
{ |
|
id: 1, |
|
"alreadyBranchQty": 5.0, |
|
"bsPlatingmedium": { |
|
"bpsId": 4, |
|
"bpsName": "小类04", |
|
"bsWorkCenter": { |
|
"area": 0.0, |
|
"batchNo": null, |
|
"bigBatch": false, |
|
"bsJfCenter": { |
|
"createMan": { |
|
"accountId": null, |
|
"card": null, |
|
"createTime": "2022-08-31", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 0, |
|
"jobName": "总工", |
|
"keyValue": 1, |
|
"ldapName": "admin", |
|
"mail": "13699999999@136.com", |
|
"mobile": "13699999999", |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "ADMIN,ADMIN", |
|
"ucUserId": null, |
|
"updateTime": "2022-08-31 16:32:46", |
|
"userCode": "00", |
|
"userId": 1, |
|
"userName": "admin", |
|
"userSex": 1, |
|
"userSources": "admin", |
|
"userString": "1:A:admin", |
|
"userType": "A" |
|
}, |
|
"createTime": "2024-12-09 00:00:00", |
|
"deleted": false, |
|
"jcCode": "RBZX", |
|
"jcId": 1, |
|
"jcName": "热表中心", |
|
"keyValue": 1, |
|
"updateTime": "2024-12-09 00:00:00" |
|
}, |
|
"checkout": false, |
|
"craftAbility": "真空退火、固溶、局部退火、整体退火、淬火、时效、热处理、淬火时效、真空释氢", |
|
"createMan": { |
|
"accountId": 90, |
|
"card": null, |
|
"createTime": "2023-02-08", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 1, |
|
"jobName": "生产调度员", |
|
"keyValue": 90, |
|
"ldapName": "03891", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2023-02-08", |
|
"deleted": false, |
|
"deptCode": "06", |
|
"deptId": 47, |
|
"deptName": "经营管理室", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 47, |
|
"memo": null, |
|
"orders": "6", |
|
"parentDeptId": 41, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2023-02-08 13:23:30" |
|
}, |
|
"pinyinIndex": "03891,03891", |
|
"ucUserId": null, |
|
"updateTime": "2023-02-08 13:20:39", |
|
"userCode": "03891", |
|
"userId": 90, |
|
"userName": "03891", |
|
"userSex": 1, |
|
"userSources": "03891", |
|
"userString": "90:A:03891", |
|
"userType": "A" |
|
}, |
|
"createTime": "2023-04-08 18:35:43", |
|
"deleted": false, |
|
"describe": null, |
|
"endPoint": null, |
|
"keyValue": 142, |
|
"leaderUser": { |
|
"accountId": 541, |
|
"card": null, |
|
"createTime": "2023-05-04", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 102, |
|
"head": 0, |
|
"jobName": "MES开发", |
|
"keyValue": 541, |
|
"ldapName": "cdl", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "CUIDIANLONG,CDL", |
|
"ucUserId": null, |
|
"updateTime": "2023-05-04 09:16:54", |
|
"userCode": "cdl", |
|
"userId": 541, |
|
"userName": "崔殿龙", |
|
"userSex": 1, |
|
"userSources": "崔殿龙", |
|
"userString": "541:A:崔殿龙", |
|
"userType": "A" |
|
}, |
|
"limitType": 0, |
|
"processes": " ", |
|
"quantity": 0, |
|
"roundCycle": null, |
|
"saturation": 0.0, |
|
"sign": "4", |
|
"startPoint": null, |
|
"team": "热处理班", |
|
"updateTime": "2023-04-08 18:35:43", |
|
"wcCode": "003", |
|
"wcId": 142, |
|
"wcName": "热处理作业中心", |
|
"whetherPlate": false |
|
}, |
|
"capacity": 1.0, |
|
"keyValue": 4, |
|
"updateMan": { |
|
"accountId": 541, |
|
"card": null, |
|
"createTime": "2023-05-04", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 102, |
|
"head": 0, |
|
"jobName": "MES开发", |
|
"keyValue": 541, |
|
"ldapName": "cdl", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "CUIDIANLONG,CDL", |
|
"ucUserId": null, |
|
"updateTime": "2023-05-04 09:16:54", |
|
"userCode": "cdl", |
|
"userId": 541, |
|
"userName": "崔殿龙", |
|
"userSex": 1, |
|
"userSources": "崔殿龙", |
|
"userString": "541:A:崔殿龙", |
|
"userType": "A" |
|
}, |
|
"updateTime": "2024-04-10 16:22:22" |
|
}, |
|
"bsProcedureQua": null, |
|
"closeMan": null, |
|
"closeTime": null, |
|
"curStatus": 4, |
|
"curStatusText": "已派工", |
|
"custodian": null, |
|
"deliveryQty": 0.0, |
|
"demandDate": "2023-03-07 00:00:00", |
|
"dominantDept": "1000", |
|
"dsPart": null, |
|
"keyValue": 41417, |
|
"memo": "同一批次,可提前交件", |
|
"partCode": "21E100-001-3900-E34", |
|
"partName": "LRMT振动机架底板", |
|
"planType": 1, |
|
"planUser": "0300092", |
|
"plate": "Ct.Ocd", |
|
"poArea": 18.3376140803, |
|
"poCode": "WO-2212149345", |
|
"str0": "12212149345", |
|
"str1": "22212149345", |
|
"str2": "49345", |
|
"poCode1": "22121249345", |
|
"poCode2": "2212149322245", |
|
"poId": 41417, |
|
"poQty": 5, |
|
"primaryCraft": "库1-2(机加)-4(表)-库2", |
|
"priority": 1, |
|
"prodIdent": "JII", |
|
"orderPriority":1, |
|
"prodLine": "test", |
|
"productType": "LRMT", |
|
"releaseDate": "2022-12-28 09:07:31", |
|
"roamNo": "B1269880", |
|
"routeNo": "LX01-03-001", |
|
"sureType": null, |
|
"sureTypeTitle": "未确认", |
|
"syncTime": "2023-02-08 13:26:47", |
|
"undeliveredQty": 5.0, |
|
"useDept": "3505", |
|
"wcName": null |
|
}, |
|
{ |
|
id: 2, |
|
"alreadyBranchQty": 5.0, |
|
"bsPlatingmedium": { |
|
"bpsId": 6, |
|
"bpsName": "小类06", |
|
"bsWorkCenter": { |
|
"area": 0.0, |
|
"batchNo": null, |
|
"bigBatch": false, |
|
"bsJfCenter": { |
|
"createMan": { |
|
"accountId": null, |
|
"card": null, |
|
"createTime": "2022-08-31", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 0, |
|
"jobName": "总工", |
|
"keyValue": 1, |
|
"ldapName": "admin", |
|
"mail": "13699999999@136.com", |
|
"mobile": "13699999999", |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "ADMIN,ADMIN", |
|
"ucUserId": null, |
|
"updateTime": "2022-08-31 16:32:46", |
|
"userCode": "00", |
|
"userId": 1, |
|
"userName": "admin", |
|
"userSex": 1, |
|
"userSources": "admin", |
|
"userString": "1:A:admin", |
|
"userType": "A" |
|
}, |
|
"createTime": "2024-12-09 00:00:00", |
|
"deleted": false, |
|
"jcCode": "RBZX", |
|
"jcId": 1, |
|
"jcName": "热表中心", |
|
"keyValue": 1, |
|
"updateTime": "2024-12-09 00:00:00" |
|
}, |
|
"checkout": false, |
|
"craftAbility": "真空退火、固溶、局部退火、整体退火、淬火、时效、热处理、淬火时效、真空释氢", |
|
"createMan": { |
|
"accountId": 90, |
|
"card": null, |
|
"createTime": "2023-02-08", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 1, |
|
"jobName": "生产调度员", |
|
"keyValue": 90, |
|
"ldapName": "03891", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2023-02-08", |
|
"deleted": false, |
|
"deptCode": "06", |
|
"deptId": 47, |
|
"deptName": "经营管理室", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 47, |
|
"memo": null, |
|
"orders": "6", |
|
"parentDeptId": 41, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2023-02-08 13:23:30" |
|
}, |
|
"pinyinIndex": "03891,03891", |
|
"ucUserId": null, |
|
"updateTime": "2023-02-08 13:20:39", |
|
"userCode": "03891", |
|
"userId": 90, |
|
"userName": "03891", |
|
"userSex": 1, |
|
"userSources": "03891", |
|
"userString": "90:A:03891", |
|
"userType": "A" |
|
}, |
|
"createTime": "2023-04-08 18:35:43", |
|
"deleted": false, |
|
"describe": null, |
|
"endPoint": null, |
|
"keyValue": 142, |
|
"leaderUser": { |
|
"accountId": 541, |
|
"card": null, |
|
"createTime": "2023-05-04", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 102, |
|
"head": 0, |
|
"jobName": "MES开发", |
|
"keyValue": 541, |
|
"ldapName": "cdl", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "CUIDIANLONG,CDL", |
|
"ucUserId": null, |
|
"updateTime": "2023-05-04 09:16:54", |
|
"userCode": "cdl", |
|
"userId": 541, |
|
"userName": "崔殿龙", |
|
"userSex": 1, |
|
"userSources": "崔殿龙", |
|
"userString": "541:A:崔殿龙", |
|
"userType": "A" |
|
}, |
|
"limitType": 0, |
|
"processes": " ", |
|
"quantity": 0, |
|
"roundCycle": null, |
|
"saturation": 0.0, |
|
"sign": "4", |
|
"startPoint": null, |
|
"team": "热处理班", |
|
"updateTime": "2023-04-08 18:35:43", |
|
"wcCode": "003", |
|
"wcId": 142, |
|
"wcName": "热处理作业中心", |
|
"whetherPlate": false |
|
}, |
|
"capacity": 1.0, |
|
"keyValue": 6, |
|
"updateMan": { |
|
"accountId": 541, |
|
"card": null, |
|
"createTime": "2023-05-04", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 102, |
|
"head": 0, |
|
"jobName": "MES开发", |
|
"keyValue": 541, |
|
"ldapName": "cdl", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "CUIDIANLONG,CDL", |
|
"ucUserId": null, |
|
"updateTime": "2023-05-04 09:16:54", |
|
"userCode": "cdl", |
|
"userId": 541, |
|
"userName": "崔殿龙", |
|
"userSex": 1, |
|
"userSources": "崔殿龙", |
|
"userString": "541:A:崔殿龙", |
|
"userType": "A" |
|
}, |
|
"updateTime": "2024-04-10 16:22:22" |
|
}, |
|
"bsProcedureQua": null, |
|
"closeMan": null, |
|
"closeTime": null, |
|
"curStatus": 4, |
|
"curStatusText": "加工中", |
|
"custodian": null, |
|
"deliveryQty": 0.0, |
|
"demandDate": "2022-11-20 00:00:00", |
|
"dominantDept": "4302", |
|
"dsPart": null, |
|
"keyValue": 41419, |
|
"memo": "可提前交件", |
|
"partCode": "21E2-505-134-B1", |
|
"partName": "左柜柜体喷漆部件", |
|
"planType": 1, |
|
"planUser": "0300009", |
|
"plate": null, |
|
"poArea": 0.0, |
|
"poCode": "WO-221047370", |
|
"poId": 41419, |
|
"poQty": 5, |
|
"primaryCraft": "库1、2-12(装配)-4(表)-12(装配)-库3", |
|
"priority": 1, |
|
"prodIdent": "JIX", |
|
"prodLine": null, |
|
"productType": "Y/QAZ", |
|
"releaseDate": "2022-10-12 09:02:31", |
|
"roamNo": null, |
|
"routeNo": "LX12-02-007", |
|
"sureType": null, |
|
"sureTypeTitle": "未确认", |
|
"syncTime": "2023-02-08 13:26:47", |
|
"undeliveredQty": 5.0, |
|
"useDept": "4302", |
|
"wcName": null |
|
}, |
|
{ |
|
id: 3, |
|
"orderType": 2, // 石墨模订单 |
|
"glassPlateIssuedStatus": null, // 非烧结订单,玻璃饼下发状态为空 |
|
"alreadyBranchQty": 3.0, |
|
"bsPlatingmedium": { |
|
"bpsId": 5, |
|
"bpsName": "小类05", |
|
"bsWorkCenter": { |
|
"area": 0.0, |
|
"batchNo": null, |
|
"bigBatch": false, |
|
"bsJfCenter": { |
|
"createMan": { |
|
"accountId": null, |
|
"card": null, |
|
"createTime": "2022-08-31", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 0, |
|
"jobName": "总工", |
|
"keyValue": 1, |
|
"ldapName": "admin", |
|
"mail": "13699999999@136.com", |
|
"mobile": "13699999999", |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "ADMIN,ADMIN", |
|
"ucUserId": null, |
|
"updateTime": "2022-08-31 16:32:46", |
|
"userCode": "00", |
|
"userId": 1, |
|
"userName": "admin", |
|
"userSex": 1, |
|
"userSources": "admin", |
|
"userString": "1:A:admin", |
|
"userType": "A" |
|
}, |
|
"createTime": "2024-12-09 00:00:00", |
|
"deleted": false, |
|
"jcCode": "RBZX", |
|
"jcId": 1, |
|
"jcName": "热表中心", |
|
"keyValue": 1, |
|
"updateTime": "2024-12-09 00:00:00" |
|
}, |
|
"checkout": false, |
|
"craftAbility": "真空退火、固溶、局部退火、整体退火、淬火、时效、热处理、淬火时效、真空释氢", |
|
"createMan": { |
|
"accountId": 90, |
|
"card": null, |
|
"createTime": "2023-02-08", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 1, |
|
"jobName": "生产调度员", |
|
"keyValue": 90, |
|
"ldapName": "03891", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2023-02-08", |
|
"deleted": false, |
|
"deptCode": "06", |
|
"deptId": 47, |
|
"deptName": "经营管理室", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 47, |
|
"memo": null, |
|
"orders": "6", |
|
"parentDeptId": 41, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2023-02-08 13:23:30" |
|
}, |
|
"pinyinIndex": "03891,03891", |
|
"ucUserId": null, |
|
"updateTime": "2023-02-08 13:20:39", |
|
"userCode": "03891", |
|
"userId": 90, |
|
"userName": "03891", |
|
"userSex": 1, |
|
"userSources": "03891", |
|
"userString": "90:A:03891", |
|
"userType": "A" |
|
}, |
|
"createTime": "2023-04-08 18:35:43", |
|
"deleted": false, |
|
"describe": null, |
|
"endPoint": null, |
|
"keyValue": 142, |
|
"leaderUser": { |
|
"accountId": 541, |
|
"card": null, |
|
"createTime": "2023-05-04", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 102, |
|
"head": 0, |
|
"jobName": "MES开发", |
|
"keyValue": 541, |
|
"ldapName": "cdl", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "CUIDIANLONG,CDL", |
|
"ucUserId": null, |
|
"updateTime": "2023-05-04 09:16:54", |
|
"userCode": "cdl", |
|
"userId": 541, |
|
"userName": "崔殿龙", |
|
"userSex": 1, |
|
"userSources": "崔殿龙", |
|
"userString": "541:A:崔殿龙", |
|
"userType": "A" |
|
}, |
|
"limitType": 0, |
|
"processes": " ", |
|
"quantity": 0, |
|
"roundCycle": null, |
|
"saturation": 0.0, |
|
"sign": "4", |
|
"startPoint": null, |
|
"team": "热处理班", |
|
"updateTime": "2023-04-08 18:35:43", |
|
"wcCode": "003", |
|
"wcId": 142, |
|
"wcName": "热处理作业中心", |
|
"whetherPlate": false |
|
}, |
|
"capacity": 1.0, |
|
"keyValue": 5, |
|
"updateMan": { |
|
"accountId": 541, |
|
"card": null, |
|
"createTime": "2023-05-04", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 102, |
|
"head": 0, |
|
"jobName": "MES开发", |
|
"keyValue": 541, |
|
"ldapName": "cdl", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "CUIDIANLONG,CDL", |
|
"ucUserId": null, |
|
"updateTime": "2023-05-04 09:16:54", |
|
"userCode": "cdl", |
|
"userId": 541, |
|
"userName": "崔殿龙", |
|
"userSex": 1, |
|
"userSources": "崔殿龙", |
|
"userString": "541:A:崔殿龙", |
|
"userType": "A" |
|
}, |
|
"updateTime": "2024-04-10 16:22:22" |
|
}, |
|
"bsProcedureQua": null, |
|
"closeMan": null, |
|
"closeTime": null, |
|
"curStatus": 4, |
|
"curStatusText": "已退回", |
|
"custodian": null, |
|
"deliveryQty": 0.0, |
|
"demandDate": "2023-07-17 00:00:00", |
|
"dominantDept": "4302", |
|
"dsPart": null, |
|
"keyValue": 41420, |
|
"memo": null, |
|
"partCode": "21E2-505-523-B1", |
|
"partName": "客货舱设备架", |
|
"planType": 1, |
|
"planUser": "0300007", |
|
"plate": null, |
|
"poArea": 0.0, |
|
"poCode": "WO-221279741", |
|
"poId": 41420, |
|
"poQty": 3, |
|
"primaryCraft": "库1、2-12(装配)-4(表)-12(装配)-库3", |
|
"priority": 1, |
|
"prodIdent": "JIX", |
|
"prodLine": null, |
|
"productType": "Y/QAZ", |
|
"releaseDate": "2022-12-14 11:05:47", |
|
"roamNo": "B1964845", |
|
"routeNo": "LX12-02-007", |
|
"sureType": null, |
|
"sureTypeTitle": "未确认", |
|
"syncTime": "2023-02-08 13:26:47", |
|
"undeliveredQty": 3.0, |
|
"useDept": "4302", |
|
"wcName": null |
|
}, |
|
{ |
|
id: 4, |
|
"orderType": 0, // 烧结订单 |
|
"glassPlateIssuedStatus": 0, // 烧结订单,玻璃饼下发状态为未下发 |
|
"alreadyBranchQty": 1.0, |
|
"bsPlatingSmall": { |
|
"bpsId": 6, |
|
"bpsName": "小类06", |
|
"bsWorkCenter": { |
|
"area": 0.0, |
|
"batchNo": null, |
|
"bigBatch": false, |
|
"bsJfCenter": { |
|
"createMan": { |
|
"accountId": null, |
|
"card": null, |
|
"createTime": "2022-08-31", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 0, |
|
"jobName": "总工", |
|
"keyValue": 1, |
|
"ldapName": "admin", |
|
"mail": "13699999999@136.com", |
|
"mobile": "13699999999", |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "ADMIN,ADMIN", |
|
"ucUserId": null, |
|
"updateTime": "2022-08-31 16:32:46", |
|
"userCode": "00", |
|
"userId": 1, |
|
"userName": "admin", |
|
"userSex": 1, |
|
"userSources": "admin", |
|
"userString": "1:A:admin", |
|
"userType": "A" |
|
}, |
|
"createTime": "2024-12-09 00:00:00", |
|
"deleted": false, |
|
"jcCode": "RBZX", |
|
"jcId": 1, |
|
"jcName": "热表中心", |
|
"keyValue": 1, |
|
"updateTime": "2024-12-09 00:00:00" |
|
}, |
|
"checkout": false, |
|
"craftAbility": "真空退火、固溶、局部退火、整体退火、淬火、时效、热处理、淬火时效、真空释氢", |
|
"createMan": { |
|
"accountId": 90, |
|
"card": null, |
|
"createTime": "2023-02-08", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 1, |
|
"jobName": "生产调度员", |
|
"keyValue": 90, |
|
"ldapName": "03891", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2023-02-08", |
|
"deleted": false, |
|
"deptCode": "06", |
|
"deptId": 47, |
|
"deptName": "经营管理室", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 47, |
|
"memo": null, |
|
"orders": "6", |
|
"parentDeptId": 41, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2023-02-08 13:23:30" |
|
}, |
|
"pinyinIndex": "03891,03891", |
|
"ucUserId": null, |
|
"updateTime": "2023-02-08 13:20:39", |
|
"userCode": "03891", |
|
"userId": 90, |
|
"userName": "03891", |
|
"userSex": 1, |
|
"userSources": "03891", |
|
"userString": "90:A:03891", |
|
"userType": "A" |
|
}, |
|
"createTime": "2023-04-08 18:35:43", |
|
"deleted": false, |
|
"describe": null, |
|
"endPoint": null, |
|
"keyValue": 142, |
|
"leaderUser": { |
|
"accountId": 541, |
|
"card": null, |
|
"createTime": "2023-05-04", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 102, |
|
"head": 0, |
|
"jobName": "MES开发", |
|
"keyValue": 541, |
|
"ldapName": "cdl", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "CUIDIANLONG,CDL", |
|
"ucUserId": null, |
|
"updateTime": "2023-05-04 09:16:54", |
|
"userCode": "cdl", |
|
"userId": 541, |
|
"userName": "崔殿龙", |
|
"userSex": 1, |
|
"userSources": "崔殿龙", |
|
"userString": "541:A:崔殿龙", |
|
"userType": "A" |
|
}, |
|
"limitType": 0, |
|
"processes": " ", |
|
"quantity": 0, |
|
"roundCycle": null, |
|
"saturation": 0.0, |
|
"sign": "4", |
|
"startPoint": null, |
|
"team": "热处理班", |
|
"updateTime": "2023-04-08 18:35:43", |
|
"wcCode": "003", |
|
"wcId": 142, |
|
"wcName": "热处理作业中心", |
|
"whetherPlate": false |
|
}, |
|
"capacity": 1.0, |
|
"keyValue": 6, |
|
"updateMan": { |
|
"accountId": 541, |
|
"card": null, |
|
"createTime": "2023-05-04", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 102, |
|
"head": 0, |
|
"jobName": "MES开发", |
|
"keyValue": 541, |
|
"ldapName": "cdl", |
|
"mail": null, |
|
"mobile": null, |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "CUIDIANLONG,CDL", |
|
"ucUserId": null, |
|
"updateTime": "2023-05-04 09:16:54", |
|
"userCode": "cdl", |
|
"userId": 541, |
|
"userName": "崔殿龙", |
|
"userSex": 1, |
|
"userSources": "崔殿龙", |
|
"userString": "541:A:崔殿龙", |
|
"userType": "A" |
|
}, |
|
"updateTime": "2024-04-10 16:22:22" |
|
}, |
|
"bsProcedureQua": null, |
|
"closeMan": { |
|
"accountId": null, |
|
"card": null, |
|
"createTime": "2022-08-31", |
|
"curStatus": 1, |
|
"deleted": false, |
|
"deptName": null, |
|
"dimissionTime": null, |
|
"factoryId": 41, |
|
"head": 0, |
|
"jobName": "总工", |
|
"keyValue": 1, |
|
"ldapName": "admin", |
|
"mail": "13699999999@136.com", |
|
"mobile": "13699999999", |
|
"pfDepartment": { |
|
"appLink": null, |
|
"createTime": "2022-08-31", |
|
"deleted": false, |
|
"deptCode": "001", |
|
"deptId": 1, |
|
"deptName": "MES开发部", |
|
"deptType": 1, |
|
"deptTypeTitle": "厂", |
|
"keyValue": 1, |
|
"memo": null, |
|
"orders": "00", |
|
"parentDeptId": null, |
|
"parentPath": null, |
|
"ucDeptId": null, |
|
"updateTime": "2022-08-31 16:32:46" |
|
}, |
|
"pinyinIndex": "ADMIN,ADMIN", |
|
"ucUserId": null, |
|
"updateTime": "2022-08-31 16:32:46", |
|
"userCode": "00", |
|
"userId": 1, |
|
"userName": "admin", |
|
"userSex": 1, |
|
"userSources": "admin", |
|
"userString": "1:A:admin", |
|
"userType": "A" |
|
}, |
|
"closeTime": "2025-08-25 15:57:35", |
|
"curStatus": 15, |
|
"curStatusText": "已完工", |
|
"custodian": null, |
|
"deliveryQty": 0.0, |
|
"demandDate": "2022-12-06 00:00:00", |
|
"dominantDept": "4302", |
|
"dsPart": null, |
|
"keyValue": 41418, |
|
"memo": "SWSXJ017-00000075 0159,可提前交件", |
|
"partCode": "21E2-505-134-B1", |
|
"partName": "左柜柜体喷漆部件", |
|
"planType": 1, |
|
"planUser": "0300009", |
|
"plate": null, |
|
"poArea": 0.0, |
|
"poCode": "WO-221194871", |
|
"poId": 41418, |
|
"poQty": 1, |
|
"primaryCraft": "库1、2-12(装配)-4(表)-12(装配)-库3", |
|
"priority": 1, |
|
"prodIdent": "JIX", |
|
"prodLine": null, |
|
"productType": "Y/QAZ", |
|
"releaseDate": "2022-11-15 18:44:12", |
|
"roamNo": "B2284606", |
|
"routeNo": "LX12-02-007", |
|
"sureType": null, |
|
"sureTypeTitle": "未确认", |
|
"syncTime": "2023-02-08 13:26:47", |
|
"undeliveredQty": 1.0, |
|
"useDept": "4302", |
|
"wcName": null |
|
}, |
|
] |
|
this.page.total = this.data.length |
|
// getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { |
|
// this.data = res.data.data.records; |
|
this.loading = false; |
|
// this.page.total = res.data.data.total |
|
// this.selectionClear(); |
|
// }); |
|
}, |
|
}, |
|
mounted() { |
|
// 设置默认查询条件为【待接收】状态 |
|
this.query = { |
|
curStatusText: '已派工' |
|
}; |
|
} |
|
}; |
|
</script> |
|
|
|
<style scoped> |
|
.menu-buttons { |
|
display: flex; |
|
flex-wrap: nowrap; |
|
justify-content: flex-start; |
|
white-space: nowrap; |
|
overflow: hidden; |
|
width: 100%; |
|
} |
|
|
|
.menu-buttons .el-button { |
|
margin-right: 5px; |
|
padding: 2px 5px; |
|
min-width: auto; |
|
flex-shrink: 0; |
|
} |
|
|
|
.menu-buttons .el-button span { |
|
white-space: nowrap; |
|
} |
|
</style>
|
|
|