Compare commits
No commits in common. "fc20e275f794cd6454370444d5a5c5bb9d76f301" and "342e83ab41ff41c9897d523825546cbe9edaa3df" have entirely different histories.
fc20e275f7
...
342e83ab41
@ -189,7 +189,7 @@ export default {
|
|||||||
input: true,
|
input: true,
|
||||||
label: '工艺编码',
|
label: '工艺编码',
|
||||||
prop: 'code',
|
prop: 'code',
|
||||||
url: '/extend/process-flow/getCode',
|
// url: '/base/core-equipment/getCode',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="workOrderNum" label="工单数量" width="140">
|
<el-table-column prop="workOrderNum" label="工单数量" width="140">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-button @click="handleRoute(scope.row)" type="text">
|
<el-button @click="handleRoute" type="text">
|
||||||
{{ scope.row.workOrderNum }}
|
{{ scope.row.workOrderNum }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
@ -499,13 +499,13 @@ export default {
|
|||||||
this.splitWorkOrderCancel();
|
this.splitWorkOrderCancel();
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
async handleRoute(row) {
|
async handleRoute() {
|
||||||
const res = await orderAssignmentList({
|
const res = await orderAssignmentList({
|
||||||
orderIdList: [row.id],
|
orderIdList: [this.injectData.id],
|
||||||
});
|
});
|
||||||
console.log(res.data);
|
console.log(res.data);
|
||||||
let arr = [];
|
let arr = [];
|
||||||
res.data[row.id].forEach((ele) => {
|
res.data[this.injectData.id].forEach((ele) => {
|
||||||
arr.push(ele.workOrderId);
|
arr.push(ele.workOrderId);
|
||||||
});
|
});
|
||||||
let woIdString = arr.join(',');
|
let woIdString = arr.join(',');
|
||||||
|
@ -183,7 +183,6 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-tooltip effect="dark" content="该产线分配生产数量" placement="top-end">
|
|
||||||
<el-input-number
|
<el-input-number
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-model="item.num"
|
v-model="item.num"
|
||||||
@ -191,7 +190,6 @@
|
|||||||
:step="1"
|
:step="1"
|
||||||
:min="0"
|
:min="0"
|
||||||
step-strictly />
|
step-strictly />
|
||||||
</el-tooltip>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@ -238,14 +236,12 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-tooltip effect="dark" content="该产线分配生产数量" placement="top-end">
|
|
||||||
<el-input-number
|
<el-input-number
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
v-model="item.num"
|
v-model="item.num"
|
||||||
:step="1"
|
:step="1"
|
||||||
:min="0"
|
:min="0"
|
||||||
step-strictly />
|
step-strictly />
|
||||||
</el-tooltip>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2021-11-18 14:16:25
|
* @Date: 2021-11-18 14:16:25
|
||||||
* @LastEditors: zwq
|
* @LastEditors: zwq
|
||||||
* @LastEditTime: 2024-11-19 16:49:09
|
* @LastEditTime: 2024-10-15 16:16:22
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -61,7 +61,7 @@
|
|||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="8">负责人:{{ dataForm.workers }}</el-col>
|
<el-col :span="8">负责人:{{ dataForm.workers }}</el-col>
|
||||||
<el-col :span="8">关联产线:
|
<el-col :span="8">关联产线:
|
||||||
<span v-for="(item, index) in dataForm.productLineIds" :key="index" style="margin-right: 10px">{{ item.lineName
|
<span v-for="(item, index) in dataForm.productLineNames" :key="index" style="margin-right: 10px">{{ item
|
||||||
}}</span>
|
}}</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">物料计算方式:{{ dataForm.materialMethod === 1 ? '产品基础' : dataForm.materialMethod === 2 ? '工艺扩展'
|
<el-col :span="8">物料计算方式:{{ dataForm.materialMethod === 1 ? '产品基础' : dataForm.materialMethod === 2 ? '工艺扩展'
|
||||||
@ -115,10 +115,10 @@
|
|||||||
@clickBtn="handleClick" />
|
@clickBtn="handleClick" />
|
||||||
</base-table>
|
</base-table>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<!-- <el-tab-pane label="预计用料信息" name="material">
|
<el-tab-pane label="预计用料信息" name="material">
|
||||||
<base-table :max-height="tableH" :table-props="tableProps1" :page="listQuery1.pageNo"
|
<base-table :max-height="tableH" :table-props="tableProps1" :page="listQuery1.pageNo"
|
||||||
:limit="listQuery1.pageSize" :table-data="materialList" />
|
:limit="listQuery1.pageSize" :table-data="materialList" />
|
||||||
</el-tab-pane> -->
|
</el-tab-pane>
|
||||||
<el-tab-pane label="质量信息" name="quality">
|
<el-tab-pane label="质量信息" name="quality">
|
||||||
<base-table :max-height="tableH" :table-props="tablePropsQuality" :table-data="qualityList" :page="1"
|
<base-table :max-height="tableH" :table-props="tablePropsQuality" :table-data="qualityList" :page="1"
|
||||||
:limit="10" />
|
:limit="10" />
|
||||||
@ -532,12 +532,11 @@ export default {
|
|||||||
// });
|
// });
|
||||||
// }
|
// }
|
||||||
// 获取订单相关信息
|
// 获取订单相关信息
|
||||||
getConOrderList({
|
// orderList({
|
||||||
workOrderId: this.dataForm.id,
|
// workOrderId: this.dataForm.id
|
||||||
}).then((response) => {
|
// }).then((response) => {
|
||||||
this.orderList = response.data;
|
// this.orderArray = response.data;
|
||||||
// this.listQuery.total = response.data.total;
|
// });
|
||||||
});
|
|
||||||
},
|
},
|
||||||
init(id, isdetail) {
|
init(id, isdetail) {
|
||||||
this.initData();
|
this.initData();
|
||||||
@ -560,7 +559,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 获取订单列表和用料列表
|
// 获取订单列表和用料列表
|
||||||
this.getList();
|
// this.getList();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (this.urlOptions.isGetCode) {
|
if (this.urlOptions.isGetCode) {
|
||||||
|
@ -315,14 +315,7 @@ export default {
|
|||||||
{
|
{
|
||||||
prop: 'status',
|
prop: 'status',
|
||||||
label: '工单状态',
|
label: '工单状态',
|
||||||
filter: (val) => ['', '等待', '激活', '暂停', '完成', '作废', '终止', '', '', ''][val]
|
filter: (val) => ['', '等待', '激活', '暂停', '完成', '', '', '', '', '作废'][val]
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'startProduceTime',
|
|
||||||
label: '实际开始时间',
|
|
||||||
filter: parseTime,
|
|
||||||
minWidth: 150,
|
|
||||||
showOverflowtooltip: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'planFinishTime',
|
prop: 'planFinishTime',
|
||||||
@ -369,20 +362,20 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
refreshWorkOrder(val) {
|
refreshWorkOrder(val) {
|
||||||
// if (val) {
|
console.log(val)
|
||||||
// // 预使用原料信息
|
if (val) {
|
||||||
// console.log('预使用原料信息')
|
// 预使用原料信息
|
||||||
// this.handleCancel()
|
console.log('预使用原料信息')
|
||||||
// this.getDataList()
|
this.handleCancel()
|
||||||
// this.materialVisible = true;
|
this.getDataList()
|
||||||
// this.addOrEditTitle = "预使用主原料信息";
|
this.materialVisible = true;
|
||||||
// this.$nextTick(() => {
|
this.addOrEditTitle = "预使用主原料信息";
|
||||||
// this.$refs.material.init(val, true);
|
this.$nextTick(() => {
|
||||||
// });
|
this.$refs.material.init(val, true);
|
||||||
// } else {
|
});
|
||||||
// this.successSubmit()
|
} else {
|
||||||
// }
|
|
||||||
this.successSubmit()
|
this.successSubmit()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
closeDetail() {
|
closeDetail() {
|
||||||
this.detailVisible = false
|
this.detailVisible = false
|
||||||
@ -424,7 +417,7 @@ export default {
|
|||||||
opration = '暂停'
|
opration = '暂停'
|
||||||
}
|
}
|
||||||
if (val.type === 'nullify') {
|
if (val.type === 'nullify') {
|
||||||
param.status = 5
|
param.status = 9
|
||||||
opration = '报废'
|
opration = '报废'
|
||||||
}
|
}
|
||||||
if (val.type === 'finish') {
|
if (val.type === 'finish') {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: zhp
|
* @Author: zhp
|
||||||
* @Date: 2024-09-09 15:39:08
|
* @Date: 2024-09-09 15:39:08
|
||||||
* @LastEditTime: 2024-11-18 16:43:54
|
* @LastEditTime: 2024-09-11 10:25:54
|
||||||
* @LastEditors: zwq
|
* @LastEditors: zhp
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -15,6 +15,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<el-button style="flex: .1" type="text" @click="nextText" icon="el-icon-caret-right"></el-button>
|
<el-button style="flex: .1" type="text" @click="nextText" icon="el-icon-caret-right"></el-button>
|
||||||
<button style="flex: .2;display: inline-block;" @click="goback()">
|
<button style="flex: .2;display: inline-block;" @click="goback()">
|
||||||
|
<svg-icon style="width: 20px; height: 20px" :icon-class=" 'back' " />
|
||||||
<span>返回</span>
|
<span>返回</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user