Commit 43fcdbab authored by 仇晓婷's avatar 仇晓婷

数据追溯包

parent e79a603d
<template> <template>
<div class> <div class>
<Tabs :animated="false" @on-click="tabChange" v-model="selectName"> <Tabs :animated="false" @on-click="tabChange" value='1'>
<TabPane label="工艺信息" name="1"> <TabPane label="工艺信息" name="1">
<Form :model="craftData" :label-width="130" inline> <Form :model="craftData" :label-width="130" inline>
<Row> <Row>
...@@ -149,8 +149,8 @@ export default { ...@@ -149,8 +149,8 @@ export default {
this.$refs.orderqcrecord1.qcdatasearch.SkipCount = 0; this.$refs.orderqcrecord1.qcdatasearch.SkipCount = 0;
this.$refs.orderqcrecord1.onqcpage(); this.$refs.orderqcrecord1.onqcpage();
}, },
tabChange() { tabChange(name) {
// console.log("切换tab") console.log(name)
}, },
}, },
mounted() {}, mounted() {},
......
...@@ -111,14 +111,14 @@ export default { ...@@ -111,14 +111,14 @@ export default {
this.datas = []; this.datas = [];
let suport = []; let suport = [];
res.result.forEach((e, index) => { res.result.forEach((e, index) => {
console.log(e); // console.log(e);
if (this.items.headerid == e.routingHeaderId) { if (this.items.headerid == e.routingHeaderId) {
suport = e.suport; suport = e.suport;
this.datas = suport; this.datas = suport;
} }
}); });
} }
console.log(this.datas); // console.log(this.datas);
}); });
}, },
......
...@@ -35,15 +35,15 @@ ...@@ -35,15 +35,15 @@
<script> <script>
import service from "@/plugins/request"; import service from "@/plugins/request";
import basicView from "./basicView.vue"; // import basicView from "./basicView.vue";
import mainView from "./mainView.vue"; // import mainView from "./mainView.vue";
import dispatched from "./dispatched.vue"; //import dispatched from "./dispatched.vue";
export default { export default {
components: { // components: {
basicView, // basicView,
mainView, // mainView,
dispatched, // dispatched,
}, // },
props: { props: {
basicData: null, basicData: null,
actValue: { actValue: {
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
// this.openView(this.actNum); // this.openView(this.actNum);
}, },
mounted() { mounted() {
this.actNum = "1"; // this.actNum = "1";
this.loaddata(this.basicData.id); this.loaddata(this.basicData.id);
}, },
methods: { methods: {
...@@ -125,8 +125,8 @@ export default { ...@@ -125,8 +125,8 @@ export default {
// } // }
// }, // },
loaddata(pamasId) { loaddata(pamasId) {
this.basicmodal = true; // this.basicmodal = true;
this.mainmodal = false; // this.mainmodal = false;
// this.dispatchedmodal= false; // this.dispatchedmodal= false;
// console.warn(pamasId) 获取主工艺信息 10030 // console.warn(pamasId) 获取主工艺信息 10030
let url = let url =
...@@ -237,7 +237,6 @@ export default { ...@@ -237,7 +237,6 @@ export default {
cancel() { cancel() {
this.detail = null; this.detail = null;
this.selectName = "1";
}, },
ok() { ok() {
this.detail = null; this.detail = null;
...@@ -248,9 +247,9 @@ export default { ...@@ -248,9 +247,9 @@ export default {
handler(v, o) { handler(v, o) {
this.loaddata(v.id); this.loaddata(v.id);
if (v) { if (v) {
this.actNum == "1"; // this.actNum == "1";
this.items.orderId = v; this.items.orderId = v;
this.openView(this.actNum); // this.openView(this.actNum);
} }
}, },
deep: true, deep: true,
......
...@@ -411,14 +411,6 @@ export default { ...@@ -411,14 +411,6 @@ export default {
}, },
reviewOk() { reviewOk() {
this.reviewModal = false; this.reviewModal = false;
// 手动更新选中的菜单
// menuChange(){
// this.$refs.reviewCount.actNum = "";
// this.$nextTick(()=>{
// this.$refs.reviewCount.$refs.menus.updateActiveName();
// })
// }
// this.$refs.reviewCount.actNum = "1";
}, },
// 分页 // 分页
pageChange(pageNum) { pageChange(pageNum) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment