diff --git a/vue/src/router/index.js b/vue/src/router/index.js index 32bee6fd..3ce12370 100644 --- a/vue/src/router/index.js +++ b/vue/src/router/index.js @@ -70,6 +70,9 @@ export const constantRoutes = [ //component: () => import('@/views/pg-fis/basedate/unknownAssembly'), //?? one // component: () => import('@/views/pg-fis/basedate/m100Online/normalPritIndex.vue'), //component: () => import('@/views/pg-fis/basedate/select'), //M100查询 + //component: () => import('@/views/pg-fis/basedate/m100BIll'), //M100单据信息维护 + //component: () => import('@/views/pg-fis/basedate/r100Online'), //R100上线信息 + //component: () => import('@/views/pg-fis/basedate/customerPartCfg'), //客户零件管理 }, { path: '/auth-redirect', diff --git a/vue/src/views/pg-fis/basedate/m100BIll/detail.vue b/vue/src/views/pg-fis/basedate/m100BIll/detail.vue index 99d07358..7bf9576b 100644 --- a/vue/src/views/pg-fis/basedate/m100BIll/detail.vue +++ b/vue/src/views/pg-fis/basedate/m100BIll/detail.vue @@ -148,6 +148,7 @@ export default { searchContent: "", // 输入内容 customerInfo: { parentId: "", + billId: "" }, form: { dicDetailID: "", @@ -206,6 +207,7 @@ export default { } else { newVal.forEach((element) => { this.customerInfo.parentId = element.ParentId; + this.customerInfo.billId = element.BillId; }); if (this.customerInfo.parentId != "") { this.getList(); @@ -270,7 +272,7 @@ export default { this.listLoading = true; console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId)); //alert("详表条件:" + JSON.stringify(this.customerInfo.parentId)); - let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId }; + let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId, billId: this.customerInfo.billId }; this.$axios .gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId) .then((response) => { diff --git a/vue/src/views/pg-fis/basedate/m100BIll/index.vue b/vue/src/views/pg-fis/basedate/m100BIll/index.vue index d245c470..9b70cf9d 100644 --- a/vue/src/views/pg-fis/basedate/m100BIll/index.vue +++ b/vue/src/views/pg-fis/basedate/m100BIll/index.vue @@ -43,14 +43,13 @@ - + { diff --git a/vue/src/views/pg-fis/basedate/m100Online/detail.vue b/vue/src/views/pg-fis/basedate/m100Online/detail.vue index 6d657dc1..8ea20fdc 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/detail.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/detail.vue @@ -148,6 +148,7 @@ export default { searchContent: "", // 输入内容 customerInfo: { parentId: "", + billId: "" }, form: { dicDetailID: "", @@ -201,11 +202,13 @@ export default { watch: { customerInfos: { handler(newVal) { + debugger if (newVal == "" || newVal == "undefined") { //TODO } else { newVal.forEach((element) => { this.customerInfo.parentId = element.ParentId; + this.customerInfo.billId = element.BillId; }); if (this.customerInfo.parentId != "") { this.getList(); @@ -270,7 +273,7 @@ export default { this.listLoading = true; console.log("详表条件:" + JSON.stringify(this.customerInfo.parentId)); //alert("详表条件:" + JSON.stringify(this.customerInfo.parentId)); - let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId }; + let vehicleAssemblyId = { vehicleAssemblyId: this.customerInfo.parentId, billId: this.customerInfo.billId }; this.$axios .gets("/api/newjit/assembly-cfg-vehicle/list", vehicleAssemblyId) .then((response) => { diff --git a/vue/src/views/pg-fis/basedate/m100Online/index-old.vue b/vue/src/views/pg-fis/basedate/m100Online/index-old.vue index 7e87de62..cda82f57 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/index-old.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/index-old.vue @@ -702,6 +702,7 @@ export default { this.customerInfos = [ { ParentId: parentId, + BillId: param.id }, ]; }, diff --git a/vue/src/views/pg-fis/basedate/m100Online/index.vue b/vue/src/views/pg-fis/basedate/m100Online/index.vue index 0a94c4ed..e359e29c 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/index.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/index.vue @@ -737,6 +737,7 @@ export default { this.customerInfos = [ { ParentId: parentId, + BillId: param.id }, ]; }, diff --git a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue index 16f2cd43..cbc36b79 100644 --- a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue +++ b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue @@ -1,4 +1,5 @@ +