瀏覽代碼

页签和菜单 更改为与连锁一致

chenrui 3 年之前
父節點
當前提交
280ca4ef20
共有 51 個文件被更改,包括 340 次插入96 次删除
  1. 3 3
      src/App.vue
  2. 2 2
      src/components/GlobalHeader/GlobalHeader.vue
  3. 59 34
      src/components/MultiTab/MultiTab.vue
  4. 0 1
      src/components/index.less
  5. 2 2
      src/config/defaultSettings.js
  6. 1 1
      src/layouts/BasicLayout.vue
  7. 5 4
      src/store/modules/app.js
  8. 8 3
      src/views/allocationManagement/transferOut/list.vue
  9. 6 1
      src/views/basicData/transferTypeManagement/list.vue
  10. 5 0
      src/views/basicData/warehouse/list.vue
  11. 8 3
      src/views/basicData/warehouse/storingLocation/list.vue
  12. 8 3
      src/views/dealerManagement/dealerAccountManagement/list.vue
  13. 5 0
      src/views/dealerManagement/dealerRelationshipBinding/list.vue
  14. 5 0
      src/views/dealerManagement/marketingDivisionSet/list.vue
  15. 5 0
      src/views/dealerManagement/merchantInfoManagement/list.vue
  16. 5 0
      src/views/dealerManagement/rebateSettings/list.vue
  17. 7 2
      src/views/financialManagement/financialCollection/list.vue
  18. 6 1
      src/views/financialManagement/returnConfirmation/list.vue
  19. 5 0
      src/views/financialManagement/warehousingConfirmation/list.vue
  20. 6 1
      src/views/inventoryManagement/intelligentReplenishment/list.vue
  21. 12 7
      src/views/inventoryManagement/inventoryQuery/list.vue
  22. 19 14
      src/views/inventoryManagement/inventoryWarning/list.vue
  23. 5 0
      src/views/power/role/roleList.vue
  24. 5 0
      src/views/power/user/userList.vue
  25. 7 2
      src/views/productManagement/newProduct/list.vue
  26. 6 1
      src/views/productManagement/priceChangeRecord/list.vue
  27. 5 0
      src/views/productManagement/productBrand/list.vue
  28. 6 2
      src/views/productManagement/productCategory/list.vue
  29. 10 5
      src/views/productManagement/productInfo/list.vue
  30. 6 1
      src/views/productManagement/productLaunchAudit/list.vue
  31. 5 0
      src/views/productManagement/productLevel/list.vue
  32. 5 0
      src/views/productManagement/productOfflineAudit/list.vue
  33. 5 0
      src/views/productManagement/productPricing/list.vue
  34. 5 0
      src/views/productManagement/productUniversal/list.vue
  35. 5 0
      src/views/promotionRulesManagement/orderStatistics/list.vue
  36. 6 1
      src/views/promotionRulesManagement/productStatistics/list.vue
  37. 5 0
      src/views/promotionRulesManagement/promotionRules/list.vue
  38. 7 2
      src/views/purchasingManagement/bulkWarehousingOrder/list.vue
  39. 5 0
      src/views/salesManagement/backorder/list.vue
  40. 5 0
      src/views/salesManagement/examineVerify/list.vue
  41. 5 0
      src/views/salesManagement/outboundOrder/list.vue
  42. 5 0
      src/views/salesManagement/priceInquiry/list.vue
  43. 5 0
      src/views/salesManagement/pushOrderManagement/list.vue
  44. 5 0
      src/views/salesManagement/salesQuery/list.vue
  45. 5 0
      src/views/salesManagement/salesReturn/list.vue
  46. 5 0
      src/views/salesManagement/shortageStatisticsC/list.vue
  47. 5 0
      src/views/salesManagement/shortageStatisticsP/list.vue
  48. 5 0
      src/views/setting/notice/list.vue
  49. 5 0
      src/views/setting/noticeManagement/list.vue
  50. 5 0
      src/views/supplierManagement/associatedProductDetails/list.vue
  51. 5 0
      src/views/supplierManagement/supplierInfo/list.vue

+ 3 - 3
src/App.vue

@@ -53,9 +53,9 @@ export default {
     text-align: center;
     color: #fff;
     font-size: 30px;
-    bottom: 0;
+    top: 0;
     left: 0;
-    width: 40%;
-    /* margin-left: 25%; */
+    width: 50%;
+    margin-left: 25%;
   }
 </style>

+ 2 - 2
src/components/GlobalHeader/GlobalHeader.vue

@@ -21,7 +21,7 @@
           </div>
         </div>
       </a-layout-header>
-      <!-- <multi-tab :class="[fixedHeader ? 'ant-header-fixedMultiTab' : 'ant-header-multiTab',sidebarOpened ? 'ant-header-side-opened' : 'ant-header-side-closed',]" v-if="multiTab"></multi-tab> -->
+      <multi-tab :class="[fixedHeader ? 'ant-header-fixedMultiTab' : 'ant-header-multiTab',sidebarOpened ? 'ant-header-side-opened' : 'ant-header-side-closed',]" v-if="multiTab"></multi-tab>
     </div>
   </transition>
 </template>
@@ -44,7 +44,7 @@ export default {
     mode: {
       type: String,
       // sidemenu, topmenu
-      default: 'topmenu'
+      default: 'sidemenu'
     },
     menus: {
       type: Array,

+ 59 - 34
src/components/MultiTab/MultiTab.vue

@@ -5,10 +5,10 @@ export default {
   name: 'MultiTab',
   data () {
     return {
-      fullPathList: [],
-      tabsList: [],
-      pages: [],
-      activeKey: '',
+      pagesRecordList: [], // 记录打开过的页面
+      tabsList: [], // 已打开页签
+      pages: [], // 已打开页面
+      activeKey: '', // 当前页面
       newTabIndex: 0,
       maxTabNums: 10
     }
@@ -36,9 +36,11 @@ export default {
       } catch (e) {
       }
     })
+    console.log('rename')
     if (this.pages.length <= this.maxTabNums) {
       this.pages.push(this.$route)
       this.tabsList.push(this.$route.name)
+      this.pagesRecordList.push(this.$route.name)
       this.selectedLastPath()
     }
   },
@@ -68,6 +70,11 @@ export default {
     selectedLastPath () {
       this.activeKey = this.tabsList[this.tabsList.length - 1]
     },
+    replaceTab (newtab, oldtab) {
+      const index = this.pages.findIndex(item => item.name == oldtab.name)
+      this.pages.splice(index, 1, newtab)
+      this.tabsList.splice(index, 1, newtab.name)
+    },
     // content menu
     refashThat (e) {
       this.reloadView()
@@ -145,48 +152,66 @@ export default {
   },
   watch: {
     '$route': function (newVal, oldVal) {
-      // 父页面(列表)进入子页面(编辑、详情)再返回至父页面时关闭子页面页签   子页面点击“返回列表”
-      if (oldVal && oldVal.name && newVal.query.closeLastOldTab) {
-        if (oldVal.name.indexOf('List') == -1) { // 要关闭的页面不能是列表页
-          this.remove(oldVal.name) // 关闭子页面
-        }
-      }
-      const index = this.tabsList.indexOf(newVal.name)
+      if (newVal.name == oldVal.name) { return }
+      console.log(newVal, oldVal)
       // 解决页面地址相同参数不同时打开多个页签问题(例 详情页id或sn不同时)
+      const index = this.tabsList.indexOf(newVal.name)
+      // 是否时同一个父级菜单下的页面
+      const mnlen = newVal.matched.length < 3
+      const molen = oldVal.matched.length < 3
+      const hasChildren = newVal.matched[mnlen ? 1 : 2].name == oldVal.matched[molen ? 1 : 2].name
+      // console.log(newVal.matched[mnlen ? 1 : 2].name, oldVal.matched[molen ? 1 : 2].name, hasChildren)
+
       if (index < 0) { // 不存在
-        console.log(this.pages.length, '不存在')
-        if (this.pages.length < this.maxTabNums) {
-          this.tabsList.push(newVal.name)
-          this.pages.push(newVal)
-          this.$store.state.app.isNewTab = true
+        console.log(1, '不存在')
+        // 判断是否是新增,编辑,详情页
+        const na = newVal.meta.title.indexOf('详情') >= 0
+        const nb = newVal.meta.title.indexOf('新增') >= 0
+        const nc = newVal.meta.title.indexOf('编辑') >= 0
+        const oa = oldVal.meta.title.indexOf('详情') >= 0
+        const ob = oldVal.meta.title.indexOf('新增') >= 0
+        const oc = oldVal.meta.title.indexOf('编辑') >= 0
+        if ((na || nb || nc || oa || ob || oc) && hasChildren) {
+          // 替换当前页签
+          this.replaceTab(newVal, oldVal)
+          // 从列表打开新增,编辑
+          this.$store.state.app.isNewTab = na || nb || nc
+          // 从编辑,新增返回列表,刷新列表
+          this.$store.state.app.updateList = ob || oc
           this.activeKey = newVal.name
         } else {
-          // this.$message.info('您当前打开窗口太多,请关闭一些,窗口不能超过' + this.maxTabNums + '个')
-          // this.$router.go(-1)
-          const _this = this
-          this.$warning({
-            title: '提示',
-            content: '您当前打开窗口太多,请关闭一些,窗口不能超过' + this.maxTabNums + '个',
-            onOk () {
-              _this.$router.go(-1)
-            }
-          })
+          // 新打开的页签
+          if (this.pages.length < this.maxTabNums) {
+            this.tabsList.push(newVal.name)
+            this.pages.push(newVal)
+            this.pagesRecordList.push(newVal.name)
+            this.$store.state.app.isNewTab = true
+            this.$store.state.app.updateList = false
+            this.activeKey = newVal.name
+          } else {
+            // this.$message.info('您当前打开窗口太多,请关闭一些,窗口不能超过' + this.maxTabNums + '个')
+            const _this = this
+            this.$warning({
+              title: '提示',
+              content: '您当前打开窗口太多,请关闭一些,窗口不能超过' + this.maxTabNums + '个',
+              onOk () {
+                _this.$router.go(-1)
+              }
+            })
+          }
         }
       } else { // 已存在
-        console.log(this.pages.length, '已存在')
+        console.log(1, '已存在')
         this.pages.splice(index, 1, newVal)
+        this.tabsList.splice(index, 1, newVal.name)
         this.$store.state.app.isNewTab = false
         this.activeKey = newVal.name
       }
     },
     activeKey: function (newPathKey) {
-      const row = this.pages.find(item => item.name == newPathKey)
-      if (row.fullPath.indexOf('/list') == -1) {
-        this.$router.push({ path: row.fullPath })
-      } else {
-        // this.$router.push({ path: row.fullPath, query: { closeLastOldTab: true } })  //  需求:切换页签需关掉子页面
-        this.$router.push({ path: row.path }) //  需求:切换页签不需关掉子页面
-      }
+      console.log('-----' + newPathKey)
+      const pages = this.pages.find(item => item.name == newPathKey)
+      this.$router.push({ name: newPathKey, params: pages.params, query: pages.query })
     }
   },
   render () {

+ 0 - 1
src/components/index.less

@@ -298,7 +298,6 @@
   .ant-menu{
     .ant-menu-item, .ant-menu-submenu-title{
       padding: 0 10px;
-      line-height: ;
     }
   }
 }

+ 2 - 2
src/config/defaultSettings.js

@@ -16,13 +16,13 @@
 export default {
   primaryColor: '#ed1c24', // primary color of ant design
   navTheme: 'dark', // theme for nav menu
-  layout: 'topmenu', // nav menu position: sidemenu or topmenu
+  layout: 'sidemenu', // nav menu position: sidemenu or topmenu
   contentWidth: 'Fluid', // layout of content: Fluid or Fixed, only works when layout is topmenu
   fixedHeader: true, // sticky header
   fixSiderbar: true, // sticky siderbar
   autoHideHeader: false, //  auto hide header
   colorWeak: false,
-  multiTab: false,
+  multiTab: true,
   production: process.env.NODE_ENV === 'production' && process.env.VUE_APP_PREVIEW !== 'true',
   // vue-ls options
   storageOptions: {

+ 1 - 1
src/layouts/BasicLayout.vue

@@ -124,7 +124,7 @@ export default {
       this.menus = [noqx.find(item => item.path === '/home')]
     }
     this.collapsed = !this.sidebarOpened
-    this.$store.dispatch('ToggleMultiTab', false)
+    this.$store.dispatch('ToggleMultiTab', true)
 	  this.$store.dispatch('ToggleColor', '#1890FF')
   },
   mounted () {

+ 5 - 4
src/store/modules/app.js

@@ -17,16 +17,17 @@ const app = {
     sidebar: true,
     device: 'desktop',
     theme: '',
-    layout: 'topmenu',
+    layout: '',
     contentWidth: '',
     fixedHeader: false,
     fixSiderbar: false,
     autoHideHeader: false,
     color: null,
     weak: false,
-    multiTab: false,
-    isNewTab: true,
-    isNewSubTab: false
+    multiTab: true,
+    isNewTab: false,
+    isNewSubTab: false,
+    updateList: false
   },
   mutations: {
     SET_SIDEBAR_TYPE: (state, type) => {

+ 8 - 3
src/views/allocationManagement/transferOut/list.vue

@@ -170,17 +170,17 @@ export default {
       const arr = [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
         { title: '创建时间', dataIndex: 'createDate', width: '8.5%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '调拨单号', scopedSlots: { customRender: 'allocateNo' }, align: 'center',width: '15%', },
+        { title: '调拨单号', scopedSlots: { customRender: 'allocateNo' }, align: 'center', width: '15%' },
         { title: '调往对象', dataIndex: 'targetName', width: '10%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '客户类型', dataIndex: 'dealerLevelDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '总数量', dataIndex: 'totalQty', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '总售价', dataIndex: 'totalPrice', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '审核时间', dataIndex: 'auditTime', width: '8.5%',align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '审核时间', dataIndex: 'auditTime', width: '8.5%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '调拨类型', dataIndex: 'allocateTypeName', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '业务状态', dataIndex: 'stateDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '打印状态', dataIndex: 'printStateDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '打印次数', dataIndex: 'printCount', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '操作', scopedSlots: { customRender: 'action' },width: '9%', align: 'center', }
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: '9%', align: 'center' }
       ]
       if (this.$hasPermissions('B_isShowCost')) {
         arr.splice(6, 0, { title: '总成本', dataIndex: 'totalCost', width: '5%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
@@ -304,6 +304,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 6 - 1
src/views/basicData/transferTypeManagement/list.vue

@@ -61,7 +61,7 @@ export default {
         { title: '序号', dataIndex: 'no', width: '5%', align: 'center' },
         { title: '创建时间', dataIndex: 'createDate', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '调拨类别', dataIndex: 'allocateCategoryDictValue', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '调拨类型名称', dataIndex: 'name', align: 'center', width: '40%',customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '调拨类型名称', dataIndex: 'name', align: 'center', width: '40%', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '15%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
@@ -139,6 +139,11 @@ export default {
       this.$refs.table.refresh(true)
       this.pageInit()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.$refs.table.refresh()
+      this.pageInit()
+    }
   }
 }
 </script>

+ 5 - 0
src/views/basicData/warehouse/list.vue

@@ -175,6 +175,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.$refs.table.refresh()
+      this.pageInit()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 8 - 3
src/views/basicData/warehouse/storingLocation/list.vue

@@ -83,9 +83,9 @@ export default {
       },
       disabled: false, //  查询、重置按钮是否可操作
       columns: [
-        { title: '序号', dataIndex: 'no', width:'10%', align: 'center' },
-        { title: '仓位名称', dataIndex: 'name', align: 'center', width:'45%',customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width:'45%', align: 'center' }
+        { title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
+        { title: '仓位名称', dataIndex: 'name', align: 'center', width: '45%', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: '45%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
@@ -185,6 +185,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 8 - 3
src/views/dealerManagement/dealerAccountManagement/list.vue

@@ -109,12 +109,12 @@ export default {
       disabled: false, //  查询、重置按钮是否可操作
       columns: [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
-        { title: '创建时间', dataIndex: 'createDate',width: '11%', align: 'center' },
-        { title: '经销商名称', dataIndex: 'org.name', width: '25%',align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '创建时间', dataIndex: 'createDate', width: '11%', align: 'center' },
+        { title: '经销商名称', dataIndex: 'org.name', width: '25%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '管理员姓名', dataIndex: 'name', width: '14%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '管理员账号', dataIndex: 'loginName', width: '14%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '授权用户数', dataIndex: 'org.childUserMaxNum', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '状态', scopedSlots: { customRender: 'loginFlag' },width: '9%', align: 'center' },
+        { title: '状态', scopedSlots: { customRender: 'loginFlag' }, width: '9%', align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '15%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
@@ -232,6 +232,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.$refs.table.refresh()
+      this.pageInit()
+    }
   }
 }
 </script>

+ 5 - 0
src/views/dealerManagement/dealerRelationshipBinding/list.vue

@@ -250,6 +250,11 @@ export default {
       this.tableHeight = window.innerHeight - 290
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.tableHeight = window.innerHeight - 290
+      this.resetSearchForm(true)
+    }
   }
 }
 </script>

+ 5 - 0
src/views/dealerManagement/marketingDivisionSet/list.vue

@@ -152,6 +152,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/dealerManagement/merchantInfoManagement/list.vue

@@ -292,6 +292,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.$refs.table.refresh()
+      this.pageInit()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/dealerManagement/rebateSettings/list.vue

@@ -151,6 +151,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   }
 }
 </script>

+ 7 - 2
src/views/financialManagement/financialCollection/list.vue

@@ -180,7 +180,7 @@ export default {
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
         { title: '审核时间', dataIndex: 'auditDate', width: '11.5%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '销售单号', scopedSlots: { customRender: 'salesBillNo' }, width: '15%', align: 'center' },
-        { title: '经销商名称', dataIndex: 'buyerName', align: 'center', width: '12%',customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '经销商名称', dataIndex: 'buyerName', align: 'center', width: '12%', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '商户级别', dataIndex: 'dealerEntity.dealerLevelDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '销售数量', dataIndex: 'totalQty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '订单金额', dataIndex: 'totalAmount', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
@@ -188,7 +188,7 @@ export default {
         { title: '收款方式', dataIndex: 'settleStyleSnDictValue', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '备注', dataIndex: 'remarks', width: '8%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '业务状态', dataIndex: 'billStatusDictValue', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '财务状态', dataIndex: 'financialStatusDictValue', width: '5%',align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '财务状态', dataIndex: 'financialStatusDictValue', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '4%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
@@ -350,6 +350,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 6 - 1
src/views/financialManagement/returnConfirmation/list.vue

@@ -116,7 +116,7 @@ export default {
         { title: '创建时间', dataIndex: 'createDate', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '单据来源', dataIndex: 'salesReturnBillSourceDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '总部销退单号', scopedSlots: { customRender: 'salesReturnBillNo' }, width: '16%', align: 'center' },
-        { title: '退货客户', dataIndex: 'buyerName', align: 'center',width: '15%', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '退货客户', dataIndex: 'buyerName', align: 'center', width: '15%', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '退货数量', dataIndex: 'totalQty', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '退货金额', dataIndex: 'totalAmount', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '是否抓单', dataIndex: 'grabFlagDictValue', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
@@ -239,6 +239,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/financialManagement/warehousingConfirmation/list.vue

@@ -264,6 +264,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 6 - 1
src/views/inventoryManagement/intelligentReplenishment/list.vue

@@ -76,7 +76,7 @@ export default {
         { title: '序号', dataIndex: 'no', width: '5%', align: 'center' },
         { title: '创建时间', dataIndex: 'createDate', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '创建人', dataIndex: 'creatorName', width: '45%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '状态', dataIndex: 'stateDictValue',  width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '状态', dataIndex: 'stateDictValue', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '20%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
@@ -202,6 +202,11 @@ export default {
       this.pageInit()
       this.$refs.table.refresh(true)
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 12 - 7
src/views/inventoryManagement/inventoryQuery/list.vue

@@ -24,7 +24,7 @@
               <a-col :md="6" :sm="24">
                 <a-form-item label="产品品牌">
                   <ProductBrand id="inventoryQueryList-productBrandSn" v-model="queryParam.productBrandSn"></ProductBrand>
-                  </a-form-item>
+                </a-form-item>
                 </a-form-item>
               </a-col>
               <a-col :md="6" :sm="24">
@@ -124,7 +124,7 @@ import { hdExportExcel } from '@/libs/exportExcel'
 import ProductBrand from '@/views/common/productBrand.js'
 import { stockList, stockCount, stockExport } from '@/api/stock'
 export default {
-  components: { STable, VSelect, inventoryQueryDetailModal, exportExcelModal,ProductBrand },
+  components: { STable, VSelect, inventoryQueryDetailModal, exportExcelModal, ProductBrand },
   data () {
     return {
       spinning: false,
@@ -199,16 +199,16 @@ export default {
     columns () {
       const arr = [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
-        { title: '产品编码', dataIndex: 'productCode',width: '9%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品名称', dataIndex: 'productName',width: '21%', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
-        { title: '最后入库时间', dataIndex: 'lastStockTime',width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品编码', dataIndex: 'productCode', width: '9%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品名称', dataIndex: 'productName', width: '21%', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
+        { title: '最后入库时间', dataIndex: 'lastStockTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '单位', dataIndex: 'productUnit', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品品牌', dataIndex: 'productBrandName', width: '14%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '可用库存数量', dataIndex: 'currentStockQty', width: '10%', align: 'center', sorter: true, customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: '16%',align: 'center' }
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: '16%', align: 'center' }
       ]
       if (this.$hasPermissions('B_isShowCost')) {
-        arr.splice(7, 0, { title: '可用库存成本', dataIndex: 'currentStockCost',width: '10%', align: 'center', sorter: true, customRender: function (text) { return ((text || text == 0) ? text : '--') } })
+        arr.splice(7, 0, { title: '可用库存成本', dataIndex: 'currentStockCost', width: '10%', align: 'center', sorter: true, customRender: function (text) { return ((text || text == 0) ? text : '--') } })
       }
       return arr
     }
@@ -325,6 +325,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 19 - 14
src/views/inventoryManagement/inventoryWarning/list.vue

@@ -162,7 +162,7 @@ import { productTypeQuery } from '@/api/productType'
 import { stockWarnList, stockWarnSaveBatch } from '@/api/stock'
 import ProductBrand from '@/views/common/productBrand.js'
 export default {
-  components: { STable, VSelect,ProductBrand },
+  components: { STable, VSelect, ProductBrand },
   data () {
     return {
       spinning: false,
@@ -184,20 +184,20 @@ export default {
       productTypeList: [], //  产品类别下拉数据
       productType: [],
       columns: [
-        { title: '序号', dataIndex: 'no', width:'4%', align: 'center' },
-        { title: '产品编码', dataIndex: 'productCode', width:'7%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品名称', dataIndex: 'productName', width:'12.5%', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
-        { title: '原厂编码', dataIndex: 'productOrigCode', width:'7%',  align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品品牌', dataIndex: 'productBrandName', width:'6%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品分类', scopedSlots: { customRender: 'productType' }, width:'10%', align: 'center' },
+        { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
+        { title: '产品编码', dataIndex: 'productCode', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品名称', dataIndex: 'productName', width: '12.5%', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
+        { title: '原厂编码', dataIndex: 'productOrigCode', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品品牌', dataIndex: 'productBrandName', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: '10%', align: 'center' },
         // { title: '实时库存数(个)', scopedSlots: { customRender: 'stockQty' }, width: 110, align: 'center' },
-        { title: '在途数(个)', scopedSlots: { customRender: 'inTransit' }, width:'9.5%', align: 'center' },
-        { title: '总库存数(个)', dataIndex: 'currentStockQty', width:'7%',  align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '最大库存数(个)', scopedSlots: { customRender: 'upperLimit' }, width:'9.5%',  align: 'center' },
-        { title: '最小库存数(个)', scopedSlots: { customRender: 'lowerLimit' }, width:'9.5%',  align: 'center' },
-        { title: '差异数量', dataIndex: 'differenceNum', width:'6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '预警提示', scopedSlots: { customRender: 'stockState' },width:'6%',  align: 'center' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width:'6%',  align: 'center' }
+        { title: '在途数(个)', scopedSlots: { customRender: 'inTransit' }, width: '9.5%', align: 'center' },
+        { title: '总库存数(个)', dataIndex: 'currentStockQty', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '最大库存数(个)', scopedSlots: { customRender: 'upperLimit' }, width: '9.5%', align: 'center' },
+        { title: '最小库存数(个)', scopedSlots: { customRender: 'lowerLimit' }, width: '9.5%', align: 'center' },
+        { title: '差异数量', dataIndex: 'differenceNum', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '预警提示', scopedSlots: { customRender: 'stockState' }, width: '6%', align: 'center' },
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: '6%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
@@ -408,6 +408,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/power/role/roleList.vue

@@ -241,6 +241,11 @@ export default {
       this.pageInit()
       this.reset()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   }
 }
 </script>

+ 5 - 0
src/views/power/user/userList.vue

@@ -244,6 +244,11 @@ export default {
       this.pageInit()
       this.reset()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   }
 }
 </script>

+ 7 - 2
src/views/productManagement/newProduct/list.vue

@@ -23,7 +23,7 @@
             <template v-if="advanced">
               <a-col :md="6" :sm="24">
                 <a-form-item label="产品品牌">
-					<ProductBrand id="productInfoList-productBrandSn" v-model="queryParam.productBrandSn"></ProductBrand>
+                  <ProductBrand id="productInfoList-productBrandSn" v-model="queryParam.productBrandSn"></ProductBrand>
                 </a-form-item>
               </a-col>
               <a-col :md="6" :sm="24">
@@ -104,7 +104,7 @@ import { STable, VSelect } from '@/components'
 import ProductBrand from '@/views/common/productBrand.js'
 import rangeDate from '@/views/common/rangeDate.vue'
 export default {
-  components: { STable, VSelect, rangeDate,ProductBrand },
+  components: { STable, VSelect, rangeDate, ProductBrand },
   data () {
     return {
       spinning: false,
@@ -242,6 +242,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 6 - 1
src/views/productManagement/priceChangeRecord/list.vue

@@ -117,7 +117,7 @@ import { productTypeQuery } from '@/api/productType'
 import ProductBrand from '@/views/common/productBrand.js'
 import { productPriceChangeList, productPriceChangeExport } from '@/api/product'
 export default {
-  components: { STable, VSelect, rangeDate,ProductBrand },
+  components: { STable, VSelect, rangeDate, ProductBrand },
   data () {
     return {
       spinning: false,
@@ -351,6 +351,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/productManagement/productBrand/list.vue

@@ -224,6 +224,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   }
 }
 </script>

+ 6 - 2
src/views/productManagement/productCategory/list.vue

@@ -68,8 +68,8 @@ export default {
         wrapperCol: { span: 16 }
       },
       columns: [
-        { title: '分类名称', dataIndex: 'productTypeName', align: 'left',width: '45%', },
-        { title: '创建时间', dataIndex: 'createDate', width:'25%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '分类名称', dataIndex: 'productTypeName', align: 'left', width: '45%' },
+        { title: '创建时间', dataIndex: 'createDate', width: '25%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '30%', align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象
@@ -169,6 +169,10 @@ export default {
     if (this.$store.state.app.isNewTab) {
       this.$refs.table.refresh(true)
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.$refs.table.refresh()
+    }
   }
 }
 </script>

+ 10 - 5
src/views/productManagement/productInfo/list.vue

@@ -192,7 +192,7 @@ import { productTypeQueryAll } from '@/api/productType'
 import ProductBrand from '@/views/common/productBrand.js'
 import { productList, productAudit, productBatchAudit, productDel, productOnline, productBatchOnline, productExport } from '@/api/product'
 export default {
-  components: { STable, VSelect, productInfoDetailModal, productInfoOfflineModal,ProductBrand },
+  components: { STable, VSelect, productInfoDetailModal, productInfoOfflineModal, ProductBrand },
   data () {
     return {
       spinning: false,
@@ -213,17 +213,17 @@ export default {
       exportLoading: false,
       columns: [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
-        { title: '创建时间', dataIndex: 'createDate',width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品名称', dataIndex: 'name', align: 'center',width: '17%', ellipsis: true, customRender: function (text) { return text || '--' } },
+        { title: '创建时间', dataIndex: 'createDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品名称', dataIndex: 'name', align: 'center', width: '17%', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '产品编码', dataIndex: 'code', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '原厂编码', dataIndex: 'origCode', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '品牌', dataIndex: 'productBrandName', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: '10%', align: 'center' },
         { slots: { title: 'arrowFalgTitle' }, scopedSlots: { customRender: 'arrowFalg' }, width: '6%', align: 'center' },
         { title: '最近修改时间', dataIndex: 'updateDate', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '产品状态', dataIndex: 'stateDictValue',width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品状态', dataIndex: 'stateDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '定价状态', dataIndex: 'pricingStateDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: '15%', align: 'center', }
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: '15%', align: 'center' }
       ],
       selectedRowKeys: [], // Check here to configure the default column
       selectedRows: [],
@@ -596,6 +596,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 6 - 1
src/views/productManagement/productLaunchAudit/list.vue

@@ -89,7 +89,7 @@ export default {
       tableHeight: 0,
       disabled: false, //  查询、重置按钮是否可操作
       columns: [
-        { title: '产品名称', dataIndex: 'name', align: 'center',width: '20%',  customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '产品名称', dataIndex: 'name', align: 'center', width: '20%', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '产品编码', dataIndex: 'code', width: '8%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品分类', scopedSlots: { customRender: 'productType' }, width: '15%', align: 'center' },
         { title: '提交时间', dataIndex: 'onlineSubmitTime', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
@@ -221,6 +221,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   }
 }
 </script>

+ 5 - 0
src/views/productManagement/productLevel/list.vue

@@ -261,6 +261,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/productManagement/productOfflineAudit/list.vue

@@ -310,6 +310,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/productManagement/productPricing/list.vue

@@ -283,6 +283,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/productManagement/productUniversal/list.vue

@@ -247,6 +247,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/promotionRulesManagement/orderStatistics/list.vue

@@ -245,6 +245,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 6 - 1
src/views/promotionRulesManagement/productStatistics/list.vue

@@ -99,7 +99,7 @@ import { productTypeQuery } from '@/api/productType'
 import ProductBrand from '@/views/common/productBrand.js'
 import { salesDetailPromoList, salesDetailPromoCount } from '@/api/salesDetail'
 export default {
-  components: { STable, VSelect, productStatisticsDetailModal, rangeDate,ProductBrand },
+  components: { STable, VSelect, productStatisticsDetailModal, rangeDate, ProductBrand },
   data () {
     return {
       spinning: false,
@@ -256,6 +256,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/promotionRulesManagement/promotionRules/list.vue

@@ -228,6 +228,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 7 - 2
src/views/purchasingManagement/bulkWarehousingOrder/list.vue

@@ -124,9 +124,9 @@ export default {
       columns: [
         { title: '创建时间', dataIndex: 'createDate', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '入库单号', scopedSlots: { customRender: 'sparePartsNo' }, width: '15%', align: 'center' },
-        { title: '商户名称', dataIndex: 'supplierName', align: 'center',width: '15%', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '商户名称', dataIndex: 'supplierName', align: 'center', width: '15%', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '入库数量', dataIndex: 'productTotalQty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '入库成本', dataIndex: 'productTotalCost', width: '6%',align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '入库成本', dataIndex: 'productTotalCost', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '入库类型', dataIndex: 'sparePartsTypeDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '关联单号', dataIndex: 'relationNo', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '金蝶单号', dataIndex: 'kingdeeNo', width: '12.5%', align: 'center', customRender: function (text) { return text || '--' } },
@@ -331,6 +331,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/backorder/list.vue

@@ -144,6 +144,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/examineVerify/list.vue

@@ -315,6 +315,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/outboundOrder/list.vue

@@ -414,6 +414,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/priceInquiry/list.vue

@@ -216,6 +216,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/pushOrderManagement/list.vue

@@ -260,6 +260,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/salesQuery/list.vue

@@ -453,6 +453,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/salesReturn/list.vue

@@ -409,6 +409,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/shortageStatisticsC/list.vue

@@ -412,6 +412,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/salesManagement/shortageStatisticsP/list.vue

@@ -193,6 +193,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/setting/notice/list.vue

@@ -220,6 +220,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.handelSearch(1)
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/setting/noticeManagement/list.vue

@@ -209,6 +209,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   }
 }
 </script>

+ 5 - 0
src/views/supplierManagement/associatedProductDetails/list.vue

@@ -167,6 +167,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})

+ 5 - 0
src/views/supplierManagement/supplierInfo/list.vue

@@ -162,6 +162,11 @@ export default {
       this.pageInit()
       this.resetSearchForm()
     }
+    // 仅刷新列表,不重置页面
+    if (this.$store.state.app.updateList) {
+      this.pageInit()
+      this.$refs.table.refresh()
+    }
   },
   beforeRouteEnter (to, from, next) {
     next(vm => {})