|
@@ -85,7 +85,7 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
- <el-dialog title="工艺配置详情" v-model="openDetail" width="1000px" append-to-body>
|
|
|
+ <el-dialog :title="dlgTitle" v-model="openDetail" width="1000px" append-to-body>
|
|
|
<el-form style="height:500px;width:100%;">
|
|
|
<el-table row-key="id" :data="detailList" :tree-props="{children:'children',hasChildren:'hasChildren'}" style="height:500px;width:100%;">
|
|
|
<el-table-column label="产线段/设备" align="left" prop="title" width="360">
|
|
@@ -124,7 +124,7 @@ const ids = ref([]);
|
|
|
const single = ref(true);
|
|
|
const multiple = ref(true);
|
|
|
const total = ref(0);
|
|
|
-const title = ref("");
|
|
|
+const dlgTitle = ref("工艺配置详情");
|
|
|
const lineList=ref([
|
|
|
{"no":1,"name":"1#",daterangeTime:"",checked:false},
|
|
|
{"no":2,"name":"2#",daterangeTime:"",checked:false},
|
|
@@ -174,6 +174,7 @@ function changeLine(v){
|
|
|
|
|
|
function lookdetail(item){
|
|
|
console.log(item)
|
|
|
+ dlgTitle.value="工艺配置详情—"+item.line+"#产线("+item.start+" 到 "+item.end+")";
|
|
|
let tmplst=[];
|
|
|
var pid="0";
|
|
|
var idIndex = 0;
|
|
@@ -254,7 +255,7 @@ function lookdetail(item){
|
|
|
tmplst[index].children = level2;
|
|
|
}
|
|
|
detailList.value = tmplst;
|
|
|
- console.log(tmplst)
|
|
|
+ //console.log(tmplst)
|
|
|
openDetail.value = true;
|
|
|
}
|
|
|
function cancelDlg(){
|