chenrui преди 4 години
родител
ревизия
8d1bc0731e
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 1 0
      src/views/allocationManagement/storeTransferOut/list.vue
  2. 3 1
      src/views/productManagement/productCategory/editModal.vue

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

@@ -199,6 +199,7 @@ export default {
       this.queryParam.putPersonName = undefined
       this.queryParam.callOutType = undefined
       this.queryParam.state = undefined
+      this.queryParam.settleState = undefined
       this.createDate = undefined
       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) {
           let namePathsArr = []
           namePathsArr = this.nowData.namePaths.split(',')
-          namePathsArr = namePathsArr.slice(0, namePathsArr.length - 1)
+          if (this.itemId) { //  编辑    编辑时不显示当前分类
+            namePathsArr = namePathsArr.slice(0, namePathsArr.length - 1)
+          }
           this.parentType = ''
           namePathsArr.map((item, index) => {
             this.parentType += item + ' > '