中航光电热表web
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.
 
 
 
 

1455 lines
66 KiB

<template>
<basic-container>
<div class="search_box">
</div>
<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="subclass">批量设置小类</el-button>
<!-- <el-upload :auto-upload="false" :show-file-list="false" action="action" :on-change="handleChange"
style="float: right;margin-left: 12px;">
<el-button type="primary">导入</el-button>
</el-upload> -->
</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 }">
<el-button type="primary" text plain style="border: 0; background-color: transparent !important"
@click="lookProcessRoute(row)" icon="el-icon-view">查看工艺路线
</el-button>
<el-button type="primary" text plain style="border: 0; background-color: transparent !important"
@click="inBatchesFn(row)" icon="el-icon-reading">分批
</el-button>
<el-button type="primary" text plain style="border: 0; background-color: transparent !important"
@click.stop="updateLog(row)" icon="el-icon-remove">关闭
</el-button>
</template>
</avue-crud>
<!-- 查看工艺订单 -->
<look-process :row-item="rowItem" :is-open="isOpen" v-if="isOpen" @cancel="cancel" />
<!-- 批量设置小类 -->
<updatePlatingSmall :plating-small-open="platingSmallOpen" v-if="platingSmallOpen"
:plan-order-arr="planOrderArr" @cancel="cancel">
</updatePlatingSmall>
<!-- 分批 -->
<inBatches :row-item="rowItem" :in-batches-open="inBatchesOpen" v-if="inBatchesOpen" @cancel="cancel"></inBatches>
</basic-container>
</template>
<script>
import {
add,
getRole,
getRoleAlias,
getRoleTreeById,
grant,
grantTree,
remove,
update,
} from '@/api/system/role';
import { mapGetters } from 'vuex';
import website from '@/config/website';
import { validatenull } from '@/utils/validate';
import { getList } from '@/api/base/region';
import { templateDic } from '@/const/tool/model';
import orderCol from './orderCol.js'
import lookProcess from "@/components/dialogCom/lookProcess.vue"
import updatePlatingSmall from "@/components/dialogCom/updatePlatingSmall.vue"
import inBatches from "@/components/dialogCom/inBatches.vue"
export default {
components: {
lookProcess,
updatePlatingSmall,
inBatches
},
data() {
return {
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: {
tip: false,
height:'auto',
calcHeight: 32,
simplePage:false,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
viewBtn: false,
delBtn: false,
editBtnText: '修改',
labelWidth: 120,
// searchLabelWidth: 120,
menuWidth: 330,
dialogWidth: 900,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
excelBtn: true,
index: false,
showOverflowTooltip: true,
column: [],
},
data: [],
};
},
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: {
inBatchesFn(row) {
this.rowItem = row;
this.inBatchesOpen = 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: '操作成功!',
});
},
onLoad(page, params = {}) {
this.loading = true;
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",
"poId": 41417,
"poQty": 5,
"primaryCraft": "库1-2(机加)-4(表)-库2",
"priority": 1,
"prodIdent": "JII",
"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,
"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,
"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.option.column = orderCol['plannedOrder']
}
};
</script>