chenrui 4 лет назад
Родитель
Сommit
8d1bc0731e

+ 1 - 0
src/views/allocationManagement/storeTransferOut/list.vue

@@ -199,6 +199,7 @@ export default {
       this.queryParam.putPersonName = undefined
       this.queryParam.putPersonName = undefined
       this.queryParam.callOutType = undefined
       this.queryParam.callOutType = undefined
       this.queryParam.state = undefined
       this.queryParam.state = undefined
+      this.queryParam.settleState = undefined
       this.createDate = undefined
       this.createDate = undefined
       this.$refs.table.refresh(true)
       this.$refs.table.refresh(true)
     },
     },

+ 3 - 1
src/views/productManagement/productCategory/editModal.vue

@@ -126,7 +126,9 @@ export default {
         if (this.nowData && this.nowData.namePaths) {
         if (this.nowData && this.nowData.namePaths) {
           let namePathsArr = []
           let namePathsArr = []
           namePathsArr = this.nowData.namePaths.split(',')
           namePathsArr = this.nowData.namePaths.split(',')
-          namePathsArr = namePathsArr.slice(0, namePathsArr.length - 1)
+          if (this.itemId) { //  编辑    编辑时不显示当前分类
+            namePathsArr = namePathsArr.slice(0, namePathsArr.length - 1)
+          }
           this.parentType = ''
           this.parentType = ''
           namePathsArr.map((item, index) => {
           namePathsArr.map((item, index) => {
             this.parentType += item + ' > '
             this.parentType += item + ' > '