|
|
@@ -646,9 +646,9 @@
|
|
|
console.log(res, 'resresresres');
|
|
|
let list = [];
|
|
|
res.forEach((item, index) => {
|
|
|
- console.log(item.type, 'itemitemitemitem');
|
|
|
let obj = {
|
|
|
id: item.sourceTaskId, //工序 id
|
|
|
+ type: item.type, // 工序类型(2/3/6 需走质检派单)
|
|
|
name: item.name, //工序 名称
|
|
|
assignType: 1, // 默认的指派数据
|
|
|
assignName: '工位', // 默认指派数据名称
|
|
|
@@ -1154,6 +1154,12 @@
|
|
|
this.isTask = false;
|
|
|
await this.FirstTaskIdFn(id);
|
|
|
let data = this.processList.find((item) => item.id == this.processId);
|
|
|
+ if (
|
|
|
+ data &&
|
|
|
+ (data.type == 2 || data.type == 3 || data.type == 6)
|
|
|
+ ) {
|
|
|
+ this.$message.warning('请前往质检系统派单');
|
|
|
+ }
|
|
|
await this.changeRadio(data.assignType, data.index);
|
|
|
},
|
|
|
// 指派选择
|