|
@@ -41,7 +41,8 @@
|
|
|
<el-table-column prop="name" :label='$t("prepare.table.toolGroup.name")' align="center" width="150px" :show-overflow-tooltip="true"></el-table-column>
|
|
|
<!-- 物料类型 -->
|
|
|
<el-table-column prop="materialType" :label='$t("prepare.table.toolGroup.category")' width="100px" align="center"></el-table-column>
|
|
|
-
|
|
|
+ <el-table-column prop="productionType" :label='$t("prepare.table.toolGroup.productionType")' width="100px" align="center"></el-table-column>
|
|
|
+
|
|
|
<!-- 附件 -->
|
|
|
<el-table-column prop="armorPic" :label='$t("prepare.table.toolGroup.armorPic")' align="center" width="300px">
|
|
|
<template slot-scope="{ row }">
|
|
@@ -209,7 +210,7 @@
|
|
|
loading: false,
|
|
|
tableData: [],
|
|
|
spanArr: [], // 【组序】合并单元格
|
|
|
- spanArr2: [], // 【优先级】合并单元格
|
|
|
+ spanArr2: [], // 【优先级】合并单元格
|
|
|
}
|
|
|
},
|
|
|
// 实例已经在内存中创建好,此时data和methods已将ok,如果要操作data中的数据或是调用methods中的方法,最早只能在created中操作
|
|
@@ -276,7 +277,7 @@
|
|
|
},
|
|
|
// 【托盘夹具组-来自上一工序】-函数
|
|
|
getPreMeterialList(){
|
|
|
- console.log(this.technology)
|
|
|
+ console.log(this.technology)
|
|
|
technologyMgrApi.getPreProcedureTrayList(this.technology).then(res => {
|
|
|
console.log("【托盘夹具组-来自上一工序】: ", res)
|
|
|
res = res.data
|
|
@@ -467,8 +468,8 @@
|
|
|
if(this.tableData.length > 0){
|
|
|
let groupSort = parseInt(this.tableData[this.tableData.length -1].groupSort) + 1
|
|
|
this.$refs.add.tenant.groupSort = groupSort
|
|
|
- }
|
|
|
- this.$refs.add.setTenant(false)
|
|
|
+ }
|
|
|
+ this.$refs.add.setTenant(false)
|
|
|
this.dialogAdd.title = this.$t("common.add") + this.$t("prepare.common.tpJgroup")
|
|
|
this.dialogAdd.isVisible = true
|
|
|
},
|
|
@@ -555,11 +556,11 @@
|
|
|
// 【夹具】新增-事件
|
|
|
addTools(){
|
|
|
this.$refs.edit.type = "add";
|
|
|
- this.dialog.title = this.$t("common.add") + this.$t("prepare.common.tab5");
|
|
|
+ this.dialog.title = this.$t("common.add") + this.$t("prepare.common.tab5");
|
|
|
this.dialog.isVisible = true;
|
|
|
//console.log("====")
|
|
|
//console.log(this.condition.bomName)
|
|
|
- this.$refs.edit.setTenant({name:this.condition.bomName})
|
|
|
+ this.$refs.edit.setTenant({name:this.condition.bomName})
|
|
|
},
|
|
|
|
|
|
// 【夹具】修改-事件
|
|
@@ -588,7 +589,8 @@
|
|
|
no: tool.no, // 编号
|
|
|
name: tool.name, // 名称
|
|
|
brand: tool.brand, // 品牌
|
|
|
- materialType: tool.materialType // 物料类型
|
|
|
+ materialType: tool.materialType, // 物料类型
|
|
|
+ productionType: tool.productionType //产品类型
|
|
|
};
|
|
|
if (type == "add") {
|
|
|
// 添加,附件
|