lilei 2 vuotta sitten
vanhempi
commit
a252993d12
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      src/store/modules/app.js
  2. 1 1
      src/views/Home.vue

+ 1 - 1
src/store/modules/app.js

@@ -167,7 +167,7 @@ const app = {
         pageNo: 1,
         pageSize: 1000,
         lookupCode: code,
-        isEnable: isEnable ? 1 : undefined
+        isEnable: isEnable||0
       }).then(res => {
         if (res.status == 200) {
           commit('SET_returnReason', res.data.list)

+ 1 - 1
src/views/Home.vue

@@ -107,7 +107,7 @@ export default {
       } else {
         vm.openResetPwd = true
       }
-      vm.getReturnReasonData('RETURN_REASON')
+      vm.getReturnReasonData('RETURN_REASON',1)
       vm.getYyMenuList()
       vm.$store.state.app.priceAuthOptions=[
         {label:'售价',value:'salesPrice'},