diff --git a/vue/src/router/modules/fis.js b/vue/src/router/modules/fis.js index 576b0c7c..4580960a 100644 --- a/vue/src/router/modules/fis.js +++ b/vue/src/router/modules/fis.js @@ -95,7 +95,27 @@ const pgfis = { roles: ['SettleAccount.Reports'], icon: '客户零件' } - } + }, + { + path: '/pg-logRemind', + component: () => import('@/views/pg-fis/basedate/logRemind'), + name: 'pg-logRemind',//命名路由 + meta: { + title: '系统内通知', + roles: ['SettleAccount.Reports'], + icon: '客户零件' + } + }, + // { + // path: '/pg-repeatR100', + // component: () => import('@/views/pg-fis/basedate/repeatR100'), + // name: 'pg-repeatR100',//命名路由 + // meta: { + // title: '系统内通知', + // roles: ['SettleAccount.Reports'], + // icon: '客户零件' + // } + // } ] } diff --git a/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue b/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue index 8f4922c6..46886ec2 100644 --- a/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue +++ b/vue/src/views/pg-fis/basedate/assemblyCfg/index.vue @@ -870,7 +870,7 @@ export default { + diff --git a/vue/src/views/pg-fis/basedate/m100BIll/index.vue b/vue/src/views/pg-fis/basedate/m100BIll/index.vue index 84b9ed75..ef8f3f6d 100644 --- a/vue/src/views/pg-fis/basedate/m100BIll/index.vue +++ b/vue/src/views/pg-fis/basedate/m100BIll/index.vue @@ -661,6 +661,9 @@ export default { BillType: 2, //UserId: "00000000-0000-0000-0000-000000000000", }, + knrQuery:{ + knr: undefined, + }, form: { leftdetails:[], @@ -898,6 +901,8 @@ export default { }, erpAssemblyList:[], }; + this.dialogFormVisible = false; + this.getList(); }); } else { //insert添加 @@ -1269,7 +1274,8 @@ export default { .gets("/api/newjit/bill-r100/list", lq) .then((response) => { this.KNRlist = response.items; - //console.log(this.KNRlist); + console.log("获取R100的KNR信息"); + console.log(this.KNRlist); }) .catch(() => { console.log("error"); @@ -1278,6 +1284,37 @@ export default { getVModel() { this.form.vehicleModelCode = this.KNRlist.filter(u => u.knr === this.form.knr)[0].vehicleModelCode; + this.knrQuery.knr = this.form.knr; + this.form.rightdetails = []; + this.$axios + .gets("/api/newjit/new-m100/get-erp-assembly-list", this.knrQuery) + .then((response) => { + if(response.status === true) + { + this.KNREClist = response.item; + //console.log("获取KNR的总成信息"); + //console.log(this.KNREClist); + this.form.leftdetails = response.item; + this.$forceUpdate(); + response.item.forEach((element,i) => { + element.details.forEach(detail => { + detail.erpAssemblyCode = element.erpAssemblyCode; + this.rightAlldetails.push(detail); + if( i === 0 ) + { + this.form.rightdetails.push(detail); + } + }); + }); + } + else + { + console.log("接口返回结果为错误"); + } + }) + .catch(() => { + console.log("error"); + }); }, vMchange() { diff --git a/vue/src/views/pg-fis/basedate/repeatR100/detail.vue b/vue/src/views/pg-fis/basedate/repeatR100/detail.vue new file mode 100644 index 00000000..cb1ca3e5 --- /dev/null +++ b/vue/src/views/pg-fis/basedate/repeatR100/detail.vue @@ -0,0 +1,285 @@ + + + + + + + + diff --git a/vue/src/views/pg-fis/basedate/repeatR100/index.vue b/vue/src/views/pg-fis/basedate/repeatR100/index.vue new file mode 100644 index 00000000..6680cebb --- /dev/null +++ b/vue/src/views/pg-fis/basedate/repeatR100/index.vue @@ -0,0 +1,567 @@ + + + + + + + +