From 492e443d40b15237d28e4bc6c411d56a25feeec7 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期三, 03 十二月 2025 11:13:46 +0800
Subject: [PATCH] 菜单
---
src/store/modules/permission.js | 90 +++++++++++---
src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue | 65 ++++------
src/router/index.js | 168 +++++++++++++++++----------
3 files changed, 202 insertions(+), 121 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index e85f891..f7e84b1 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -141,7 +141,10 @@
children: [
{
path: "/sell/StockBillMainList/KfICStockBillMainList",
- component: () => import("@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue"),
+ component: () =>
+ import(
+ "@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue"
+ ),
name: "KfICStockBillMainList",
meta: { title: "閿�鍞��璐у崟", activeMenu: "sell/StockBillMainList" },
},
@@ -160,7 +163,10 @@
children: [
{
path: "/sell/StockBillMainList/KfICStockBillMainListEdit",
- component: () => import("@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue"),
+ component: () =>
+ import(
+ "@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue"
+ ),
name: "KfICStockBillMainListEdit",
meta: { title: "閿�鍞��璐у崟缂栬緫", activeMenu: "sell/StockBillMainList" },
},
@@ -217,7 +223,8 @@
children: [
{
path: "/purchase/POStockInBill/POStockInBillList",
- component: () => import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue"),
+ component: () =>
+ import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue"),
name: "POStockInBillList",
meta: { title: "閲囪喘鍏ュ簱鍗�", activeMenu: "purchase/POStockInBill" },
},
@@ -236,7 +243,8 @@
children: [
{
path: "/purchase/POStockInBill/POStockInBillEdit",
- component: () => import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue"),
+ component: () =>
+ import("@/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue"),
name: "POStockInBillEdit",
meta: {
title: "閲囪喘鍏ュ簱鍗曠紪杈�",
@@ -367,7 +375,6 @@
component: () => import("@/views/sell/xsSeOrderBill/xsSeOrderBill"),
name: "XsSeOrderBill",
meta: { title: "閿�鍞鍗曠淮鎶�", activeMenu: "sell/seOrder" },
-
},
{
path: "/sell/seOrder/xsSeOrderBillEdit",
@@ -529,7 +536,6 @@
},
// i鑺傜偣椤甸潰
{
-
path: "/iframe",
component: () => import("@/layout/emptyLayout"), // 浣跨敤绌哄竷灞�
hidden: true, // 鍦ㄤ晶杈规爮涓嶆樉绀�
@@ -541,50 +547,51 @@
meta: { title: "閫�璐ч�氱煡鍗�", noCache: true, noLoading: true },
},
{
-
path: "XsSeOutStockBillEdit",
component: () => import("@/views/sell/XsSeOutStockBillEdit"), // 鍙戣揣閫氱煡鍗�
name: "IframeXsSeOutStockBillEdit",
meta: { title: "鍙戣揣閫氱煡鍗�", noCache: true, noLoading: true },
},
{
- path: 'XsSeOrderBillEdit',
- component: () => import('@/views/sell/xsSeOrderBill/xsSeOrderBillEdit'), // 閿�鍞鍗�
- name: 'IframeXsSeOrderBillEdit',
- meta: { title: '閿�鍞鍗�', noCache: true, noLoading: true }
+ path: "XsSeOrderBillEdit",
+ component: () => import("@/views/sell/xsSeOrderBill/xsSeOrderBillEdit"), // 閿�鍞鍗�
+ name: "IframeXsSeOrderBillEdit",
+ meta: { title: "閿�鍞鍗�", noCache: true, noLoading: true },
},
{
- path: 'ScICMOBillEdit',
- component: () => import('@/views/ICMO/ScICMOBillEdit'), // 鐢熶骇璁㈠崟
- name: 'IframeScICMOBillEdit',
- meta: { title: '鐢熶骇璁㈠崟', noCache: true, noLoading: true }
- },
- {
- path: 'CgPoOrderBillEdit',
- component: () => import('@/views/purchase/cgPoOrderBill/cgPoOrderBillEdit'), // 閲囪喘璁㈠崟
- name: 'IframeCgPoOrderBillEdit',
- meta: { title: '閲囪喘璁㈠崟', noCache: true, noLoading: true }
- },
- {
- path: 'CgPoInStockBillEdit',
- component: () => import('@/views/purchase/cgPoInStockBill/cgPoInStockBillEdit'), // 鏀舵枡閫氱煡鍗�
- name: 'IframeCgPoInStockBillEdit',
- meta: { title: '鏀舵枡閫氱煡鍗�', noCache: true, noLoading: true }
+ path: "ScICMOBillEdit",
+ component: () => import("@/views/ICMO/ScICMOBillEdit"), // 鐢熶骇璁㈠崟
+ name: "IframeScICMOBillEdit",
+ meta: { title: "鐢熶骇璁㈠崟", noCache: true, noLoading: true },
},
{
- path: 'GyWarehouse',
+ path: "CgPoOrderBillEdit",
+ component: () =>
+ import("@/views/purchase/cgPoOrderBill/cgPoOrderBillEdit"), // 閲囪喘璁㈠崟
+ name: "IframeCgPoOrderBillEdit",
+ meta: { title: "閲囪喘璁㈠崟", noCache: true, noLoading: true },
+ },
+ {
+ path: "CgPoInStockBillEdit",
+ component: () =>
+ import("@/views/purchase/cgPoInStockBill/cgPoInStockBillEdit"), // 鏀舵枡閫氱煡鍗�
+ name: "IframeCgPoInStockBillEdit",
+ meta: { title: "鏀舵枡閫氱煡鍗�", noCache: true, noLoading: true },
+ },
+ {
+ path: "GyWarehouse",
component: () => import("@/views/basic/gyWarehouse/gyWarehouse"), // 浠撳簱
- name: 'IframeGyWarehouse',
- meta: { title: '浠撳簱鍒楄〃', noCache: true, noLoading: true }
+ name: "IframeGyWarehouse",
+ meta: { title: "浠撳簱鍒楄〃", noCache: true, noLoading: true },
},
{
- path: 'GyMaterial',
+ path: "GyMaterial",
component: () => import("@/views/gyMaterial/GyMaterial"), // 鐗╂枡
- name: 'IframeGyMaterial',
- meta: { title: '鐗╂枡鍒楄〃', noCache: true, noLoading: true }
+ name: "IframeGyMaterial",
+ meta: { title: "鐗╂枡鍒楄〃", noCache: true, noLoading: true },
},
- ]
- }, // 瀹㈡埛
+ ],
+ }, // 瀹㈡埛
{
path: "/GyCustomer",
component: () => import("@/views/GyCustomer/index"),
@@ -695,7 +702,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldProdOutBillList",
- component: () => import("@/views/scMould/warehouse/Sc_MouldProdOutBillList"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldProdOutBillList"),
name: "Sc_MouldProdOutBillList",
meta: { title: "鍣ㄥ叿棰嗙敤鍑哄簱鍗曠淮鎶�", activeMenu: "scMould/warehouse" },
},
@@ -714,7 +722,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldProdOutBillEdit",
- component: () => import("@/views/scMould/warehouse/Sc_MouldProdOutBillEdit"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldProdOutBillEdit"),
name: "Sc_MouldProdOutBillEdit",
meta: { title: "鍣ㄥ叿棰嗙敤鍑哄簱鍗曠紪杈�", activeMenu: "scMould/warehouse" },
},
@@ -734,7 +743,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldProdBackBillList",
- component: () => import("@/views/scMould/warehouse/Sc_MouldProdBackBillList"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldProdBackBillList"),
name: "Sc_MouldProdBackBillList",
meta: { title: "鍣ㄥ叿棰嗙敤閫�搴撳崟缁存姢", activeMenu: "scMould/warehouse" },
},
@@ -753,7 +763,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldProdBackBillEdit",
- component: () => import("@/views/scMould/warehouse/Sc_MouldProdBackBillEdit"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldProdBackBillEdit"),
name: "Sc_MouldProdBackBillEdit",
meta: { title: "鍣ㄥ叿棰嗙敤閫�搴撳崟缂栬緫", activeMenu: "scMould/warehouse" },
},
@@ -773,7 +784,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldProdMoveBillList",
- component: () => import("@/views/scMould/warehouse/Sc_MouldProdMoveBillList"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldProdMoveBillList"),
name: "Sc_MouldProdMoveBillList",
meta: { title: "鍣ㄥ叿鐩存帴璋冩嫧鍗曠淮鎶�", activeMenu: "scMould/warehouse" },
},
@@ -792,7 +804,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldProdMoveBillEdit",
- component: () => import("@/views/scMould/warehouse/Sc_MouldProdMoveBillEdit"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldProdMoveBillEdit"),
name: "Sc_MouldProdMoveBillEdit",
meta: { title: "鍣ㄥ叿鐩存帴璋冩嫧鍗曠紪杈�", activeMenu: "scMould/warehouse" },
},
@@ -812,7 +825,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldInRequestBillList",
- component: () => import("@/views/scMould/warehouse/Sc_MouldInRequestBillList"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldInRequestBillList"),
name: "Sc_MouldInRequestBillList",
meta: { title: "鍣ㄥ叿鍏ュ簱鐢宠鍗曠淮鎶�", activeMenu: "scMould/warehouse" },
},
@@ -831,13 +845,14 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldInRequestBillEdit",
- component: () => import("@/views/scMould/warehouse/Sc_MouldInRequestBillEdit"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldInRequestBillEdit"),
name: "Sc_MouldInRequestBillEdit",
meta: { title: "鍣ㄥ叿鍏ュ簱鐢宠鍗曠紪杈�", activeMenu: "scMould/warehouse" },
},
],
},
- //鍣ㄥ叿棰嗙敤鐢宠鍗曠淮鎶�
+ //鍣ㄥ叿棰嗙敤鐢宠鍗曠淮鎶�
{
path: "/scMould/warehouse/Sc_MouldOutRequestBillList",
component: Layout,
@@ -851,7 +866,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldOutRequestBillList",
- component: () => import("@/views/scMould/warehouse/Sc_MouldOutRequestBillList"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldOutRequestBillList"),
name: "Sc_MouldOutRequestBillList",
meta: { title: "鍣ㄥ叿棰嗙敤鐢宠鍗曠淮鎶�", activeMenu: "scMould/warehouse" },
},
@@ -870,13 +886,14 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldOutRequestBillEdit",
- component: () => import("@/views/scMould/warehouse/Sc_MouldOutRequestBillEdit"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldOutRequestBillEdit"),
name: "Sc_MouldOutRequestBillEdit",
meta: { title: "鍣ㄥ叿棰嗙敤鐢宠鍗曠紪杈�", activeMenu: "scMould/warehouse" },
},
],
},
- //鍣ㄥ叿璋冩嫧鐢宠鍗曠淮鎶�
+ //鍣ㄥ叿璋冩嫧鐢宠鍗曠淮鎶�
{
path: "/scMould/warehouse/Sc_MouldMoveStockRequestBillList",
component: Layout,
@@ -890,7 +907,8 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldMoveStockRequestBillList",
- component: () => import("@/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList"),
name: "Sc_MouldMoveStockRequestBillList",
meta: { title: "鍣ㄥ叿璋冩嫧鐢宠鍗曠淮鎶�", activeMenu: "scMould/warehouse" },
},
@@ -909,14 +927,13 @@
children: [
{
path: "/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit",
- component: () => import("@/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit"),
+ component: () =>
+ import("@/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit"),
name: "Sc_MouldMoveStockRequestBillEdit",
meta: { title: "鍣ㄥ叿璋冩嫧鐢宠鍗曠紪杈�", activeMenu: "scMould/warehouse" },
},
],
},
-
-
//鐩存帴璋冩嫧鍗曠淮鎶�
{
@@ -958,11 +975,6 @@
},
],
},
-
-
-
-
-
//鏉冮檺鏌ヨ
{
@@ -1172,7 +1184,29 @@
import("@/views/purchase/postockInBack/Kf_POStockInBackBillList.vue"),
name: "Kf_POStockInBackBillList",
meta: {
- title: "閲囪喘閫�鏂欏崟缁存姢",
+ title: "閲囪喘閫�鏂欏崟鍒楄〃锛堝凡鍏ュ簱锛�",
+ activeMenu: "purchase/postockInBack",
+ },
+ }
+ ],
+ },
+ {
+ path: "/purchase/postockInBack/Kf_POStockInBackBillList0",
+ component: Layout,
+ hidden: true,
+ redirect: "noredirect",
+ meta: {
+ breadcrumb: false, // 濡傛灉璁剧疆涓篺alse锛屽垯涓嶄細鍦╞readcrumb闈㈠寘灞戜腑鏄剧ず
+ activeMenu: "/purchase/postockInBack/Kf_POStockInBackBillList", // 褰撹矾鐢辫缃簡璇ュ睘鎬э紝鍒欎細楂樹寒鐩稿搴旂殑渚ц竟鏍忋��
+ },
+ children: [
+ {
+ path: "/purchase/postockInBack/Kf_POStockInBackBillList0",
+ component: () =>
+ import("@/views/purchase/postockInBack/Kf_POStockInBackBillList.vue"),
+ name: "Kf_POStockInBackBillList",
+ meta: {
+ title: "閲囪喘閫�鏂欏崟鍒楄〃锛堟湭鍏ュ簱锛�",
activeMenu: "purchase/postockInBack",
},
},
@@ -1191,13 +1225,15 @@
children: [
{
path: "/icmo/productInBill/productInBillList",
- component: () => import("@/views/ProductInBill/Kf_ProductInBillList.vue"),
+ component: () =>
+ import("@/views/ProductInBill/Kf_ProductInBillList.vue"),
name: "ProductInBillList",
meta: { title: "鐢熶骇鍏ュ簱鍗曞垪琛�", activeMenu: "icmo/productInBill" },
},
{
path: "/icmo/productInBill/productInBillEdit",
- component: () => import("@/views/ProductInBill/Kf_ProductInBillEdit.vue"),
+ component: () =>
+ import("@/views/ProductInBill/Kf_ProductInBillEdit.vue"),
name: "ProductInBillEdit",
meta: { title: "鐢熶骇鍏ュ簱鍗�", activeMenu: "icmo/productInBill" },
},
@@ -1217,9 +1253,13 @@
children: [
{
path: "/purchase/OtherOutBill/OtherOutBillList",
- component: () => import("@/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue"),
+ component: () =>
+ import("@/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue"),
name: "OtherOutBillList",
- meta: { title: "鍏朵粬鍑哄簱鍗曞垪琛�", activeMenu: "/views/KCGL/OtherOutBill" },
+ meta: {
+ title: "鍏朵粬鍑哄簱鍗曞垪琛�",
+ activeMenu: "/views/KCGL/OtherOutBill",
+ },
},
],
},
@@ -1236,7 +1276,8 @@
children: [
{
path: "/purchase/OtherOutBill/OtherOutBillEdit",
- component: () => import("@/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue"),
+ component: () =>
+ import("@/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue"),
name: "OtherOutBillEdit",
meta: { title: "鍏朵粬鍑哄簱鍗�", activeMenu: "/views/KCGL/OtherOutBill" },
},
@@ -1255,7 +1296,8 @@
children: [
{
path: "/icmo/scICMOReportBill/scICMOReportBillList",
- component: () => import("@/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue"),
+ component: () =>
+ import("@/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue"),
name: "ScICMOBillList",
meta: { title: "鐢熶骇姹囨姤鍗曠淮鎶�", activeMenu: "/icmo/scICMOReportBill" },
},
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index a1c0644..b90c1a8 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -234,7 +234,10 @@
noCache: false,
title: "閿�鍞��璐у崟缁存姢",
},
- component: () =>import ("@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue"),
+ component: () =>
+ import(
+ "@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue"
+ ),
hidden: false,
name: "KfICStockBillMainList",
path: "KfICStockBillMainList",
@@ -246,7 +249,10 @@
noCache: false,
title: "閿�鍞��璐у崟",
},
- component: () =>import ("@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue"),
+ component: () =>
+ import(
+ "@/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue"
+ ),
hidden: false,
name: "KfICStockBillMainListEdit",
path: "KfICStockBillMainListEdit",
@@ -290,7 +296,9 @@
title: "鍑哄簱鐢宠鍗曠淮鎶�",
},
component: () =>
- import("@/views/warehouse/shipment/Kf_StockOutRequestBillList.vue"),
+ import(
+ "@/views/warehouse/shipment/Kf_StockOutRequestBillList.vue"
+ ),
hidden: false,
name: "Kf_StockOutRequestBillList",
path: "Kf_StockOutRequestBillList",
@@ -303,7 +311,9 @@
title: "鍑哄簱鐢宠鍗�",
},
component: () =>
- import("@/views/warehouse/shipment/Kf_StockOutRequestBill.vue"),
+ import(
+ "@/views/warehouse/shipment/Kf_StockOutRequestBill.vue"
+ ),
hidden: false,
name: "Kf_StockOutRequestBill",
path: "Kf_StockOutRequestBill",
@@ -331,7 +341,9 @@
title: "璋冩嫧鐢宠鍗曠淮鎶�",
},
component: () =>
- import("@/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue"),
+ import(
+ "@/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue"
+ ),
hidden: false,
name: "Kf_MoveStockRequestBillList",
path: "Kf_MoveStockRequestBillList",
@@ -344,7 +356,9 @@
title: "璋冩嫧鐢宠鍗�",
},
component: () =>
- import("@/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue"),
+ import(
+ "@/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue"
+ ),
hidden: false,
name: "Kf_MoveStockRequestBillEdit",
path: "Kf_MoveStockRequestBillEdit",
@@ -357,7 +371,9 @@
title: "鐩存帴璋冩嫧鍗曠淮鎶�",
},
component: () =>
- import("@/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue"),
+ import(
+ "@/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue"
+ ),
hidden: false,
name: "Kf_MoveStockBillList",
path: "Kf_MoveStockBillList",
@@ -370,7 +386,9 @@
title: "鐩存帴璋冩嫧鍗�",
},
component: () =>
- import("@/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue"),
+ import(
+ "@/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue"
+ ),
hidden: false,
name: "Kf_MoveStockBillEdit",
path: "Kf_MoveStockBillEdit",
@@ -398,7 +416,9 @@
title: "鏉$爜鐢熸垚",
},
component: () =>
- import("@/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue"),
+ import(
+ "@/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue"
+ ),
hidden: false,
name: "Gy_BarCodeBill",
path: "Gy_BarCodeBill",
@@ -750,7 +770,7 @@
icon: "build",
link: null,
noCache: false,
- title: "閲囪喘閫�鏂欏崟缁存姢",
+ title: "閲囪喘閫�鏂欏崟鍒楄〃锛堝凡鍏ュ簱锛�",
},
component: () =>
import(
@@ -759,6 +779,23 @@
hidden: false,
name: "Kf_POStockInBackBillList",
path: "Kf_POStockInBackBillList",
+ query: "{\"type\":1}"
+ },
+ {
+ meta: {
+ icon: "build",
+ link: null,
+ noCache: false,
+ title: "閲囪喘閫�鏂欏崟鍒楄〃锛堟湭鍏ュ簱锛�",
+ },
+ component: () =>
+ import(
+ "@/views/purchase/postockInBack/Kf_POStockInBackBillList.vue"
+ ),
+ hidden: false,
+ name: "Kf_POStockInBackBillList",
+ path: "Kf_POStockInBackBillList0",
+ query: "{\"type\":0}"
},
],
},
@@ -782,7 +819,10 @@
noCache: false,
title: "鍏朵粬鍑哄簱鍗曞垪琛�",
},
- component: () => import("@/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue"),
+ component: () =>
+ import(
+ "@/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue"
+ ),
hidden: false,
name: "OtherOutBillList",
path: "OtherOutBillList",
@@ -794,7 +834,10 @@
noCache: false,
title: "鍏朵粬鍑哄簱鍗�",
},
- component: () => import("@/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue"),
+ component: () =>
+ import(
+ "@/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue"
+ ),
hidden: false,
name: "OtherOutBillEdit",
path: "OtherOutBillEdit",
@@ -876,7 +919,8 @@
noCache: false,
title: "鐢熶骇鍏ュ簱鍒楄〃",
},
- component: () => import("@/views/ProductInBill/Kf_ProductInBillList.vue"),
+ component: () =>
+ import("@/views/ProductInBill/Kf_ProductInBillList.vue"),
hidden: false,
name: "ProductInBillList",
path: "productInBillList",
@@ -888,7 +932,8 @@
noCache: false,
title: "鐢熶骇鍏ュ簱鍗�",
},
- component: () => import("@/views/ProductInBill/Kf_ProductInBillEdit.vue"),
+ component: () =>
+ import("@/views/ProductInBill/Kf_ProductInBillEdit.vue"),
hidden: false,
name: "ProductInBillEdit",
path: "productInBillEdit",
@@ -915,7 +960,10 @@
noCache: false,
title: "鐢熶骇姹囨姤鍒楄〃",
},
- component: () => import("@/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue"),
+ component: () =>
+ import(
+ "@/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue"
+ ),
hidden: false,
name: "ScICMOReportBillList",
path: "scICMOReportBillList",
@@ -1052,7 +1100,8 @@
hidden: false,
name: "Sc_MouldProdMoveBillEdit",
path: "Sc_MouldProdMoveBillEdit",
- },{
+ },
+ {
meta: {
icon: "build",
link: null,
@@ -1081,7 +1130,8 @@
hidden: false,
name: "Sc_MouldInRequestBillEdit",
path: "Sc_MouldInRequestBillEdit",
- },{
+ },
+ {
meta: {
icon: "build",
link: null,
@@ -1110,7 +1160,8 @@
hidden: false,
name: "Sc_MouldOutRequestBillEdit",
path: "Sc_MouldOutRequestBillEdit",
- },{
+ },
+ {
meta: {
icon: "build",
link: null,
@@ -1249,7 +1300,8 @@
noCache: false,
title: "瑙掕壊鍒楄〃",
},
- component: () =>import("@/views/system/user/Xt_UserGroupList.vue"),
+ component: () =>
+ import("@/views/system/user/Xt_UserGroupList.vue"),
hidden: false,
name: "Xt_UserGroupList",
path: "Xt_UserGroupList",
diff --git a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
index c8f6701..a6c815b 100644
--- a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
+++ b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
@@ -202,42 +202,31 @@
</el-col>
</el-row>
<div class="tableBox" v-loading="loading">
- <el-row>
- <el-col :span="4">
- <div class="cgtlType" v-for="(item, index) in backTypeList" :key="index" :class="{ 'cgtlActive': typeIndex==index }" @click="backTypeClick(item,index)">
- {{item.name}}
- </div>
- </el-col>
- <el-col :span="20">
- <el-table :data="tableData" ref="tableData" max-height="710" :summary-method="getSummaries"
- @selection-change="handleSelectionChange" show-summary border @row-click="handleRowClick"
- :row-style="rowStyle" @cell-dblclick="handleDblclick" v-if="tableShow">
- <template v-for="(item, index) in btList">
- <el-table-column type="selection" width="55" align="center" :fixed="item.fixed"
- v-if="item.type == 'checkbox'" :key="index" />
- <el-table-column :align="item.align" :prop="item.field" :label="item.title"
- :width="item.width" :key="item.id" v-else-if="!item.hide && item.type != 'checkbox'"
- :sortable="item.sort" show-overflow-tooltip :fixed="item.fixed">
- <template slot-scope="{ row, column }">
- <el-checkbox v-model="checked" v-if="item.type == 'checkbox'"></el-checkbox>
- <div :style="item.style">
- <span v-if="column.property.includes('鏃ユ湡')">{{
- parseTime(row[column.property], "{y}-{m}-{d}")
- }}</span>
- <el-button type="text" @click="handleEdit(row, (OperationType = 3))"
- v-else-if="column.property == '鍗曟嵁鍙�'">{{ row.鍗曟嵁鍙� }}</el-button>
- <span v-else>{{ row[column.label] }}</span>
- </div>
- </template>
- </el-table-column>
+ <el-table :data="tableData" ref="tableData" max-height="710" :summary-method="getSummaries"
+ @selection-change="handleSelectionChange" show-summary border @row-click="handleRowClick"
+ :row-style="rowStyle" @cell-dblclick="handleDblclick" v-if="tableShow">
+ <template v-for="(item, index) in btList">
+ <el-table-column type="selection" width="55" align="center" :fixed="item.fixed"
+ v-if="item.type == 'checkbox'" :key="index" />
+ <el-table-column :align="item.align" :prop="item.field" :label="item.title" :width="item.width"
+ :key="item.id" v-else-if="!item.hide && item.type != 'checkbox'" :sortable="item.sort"
+ show-overflow-tooltip :fixed="item.fixed">
+ <template slot-scope="{ row, column }">
+ <el-checkbox v-model="checked" v-if="item.type == 'checkbox'"></el-checkbox>
+ <div :style="item.style">
+ <span v-if="column.property.includes('鏃ユ湡')">{{
+ parseTime(row[column.property], "{y}-{m}-{d}")
+ }}</span>
+ <el-button type="text" @click="handleEdit(row, (OperationType = 3))"
+ v-else-if="column.property == '鍗曟嵁鍙�'">{{ row.鍗曟嵁鍙� }}</el-button>
+ <span v-else>{{ row[column.label] }}</span>
+ </div>
</template>
- </el-table>
- <pagination v-show="total > 0" :total="total" :page.sync="page" :limit.sync="pageSize"
- :pageSizes="pageSizes" @pagination="getList" />
- </el-col>
-
- </el-row>
-
+ </el-table-column>
+ </template>
+ </el-table>
+ <pagination v-show="total > 0" :total="total" :page.sync="page" :limit.sync="pageSize"
+ :pageSizes="pageSizes" @pagination="getList" />
<el-dialog title="闅愯棌鍒楄缃�" :visible.sync="openRowHide" width="816px" append-to-body>
<RowSettings :colName="btResList" :HModName="HModName" @rowEditClose="rowSetClose" v-if="rowHideShow" />
</el-dialog>
@@ -268,7 +257,7 @@
components: { RowSettings, Edit, PrintList, BarCodeDetail },
data() {
return {
- typeIndex:0,
+ typeIndex: 0,
activeSeach: "",
HModName: "Kf_StockOutRequestBillList",
backTypeList: [{ name: ' 閲囪喘閫�鏂欏垪琛�(宸插叆搴�)', value: 1, }, { name: '閲囪喘閫�鏂欏垪琛�(鏈叆搴�)', value: 0, }],
@@ -379,9 +368,6 @@
},
methods: {
- backTypeClick(item,index){
- this.typeIndex=index
- },
getSummaries(param) {
const { columns, data } = param;
const sums = [];
@@ -437,6 +423,7 @@
this.eTime = yyyyE + "-" + mmE + "-" + ddE;
},
getList() {
+ console.log(this.$route.query.type)
this.pageSize = 50;
this.tableShow = false;
this.loading = true;
--
Gitblit v1.9.1