Browse Source

发料记录修改

wms3.0_pda
niexiting 12 months ago
parent
commit
00f73ab72d
  1. 1
      pages/issue/record/issueRecord.vue
  2. 36
      pages/setter/index.vue

1
pages/issue/record/issueRecord.vue

@ -242,6 +242,7 @@
}
})
}
this.resizeCollapse();
// item.handleQty=itemHandleQty;
},

36
pages/setter/index.vue

@ -12,14 +12,18 @@
<uni-list-item v-if="userInfo!=null" title="部门" :rightText="userInfo.dept.name"
thumb="/static/icon_personal_password.png"></uni-list-item>
<uni-list-item v-if="userInfo!=null" title="岗位" :rightText="(userInfo.posts || []).map(post => post.name).join(',')"
thumb="/static/icon_personal_password.png"></uni-list-item>
<uni-list-item v-if="userInfo!=null" title="角色" :rightText="(userInfo.roles || []).map(role => role.name).join(',')"
thumb="/static/icon_personal_password.png"></uni-list-item>
<uni-list-item v-if="userInfo!=null" title="岗位"
:rightText="(userInfo.posts || []).map(post => post.name).join(',')"
thumb="/static/icon_personal_password.png"></uni-list-item>
<uni-list-item v-if="userInfo!=null" title="角色"
:rightText="(userInfo.roles || []).map(role => role.name).join(',')"
thumb="/static/icon_personal_password.png"></uni-list-item>
<uni-list-item title="" clickable rightText="清除缓存" thumb="/static/icon_personal_name.png"
@click="clear"></uni-list-item>
<uni-list-item title="修改密码" link to="/pages/setter/passwordpage"
thumb="/static/icon_personal_password.png"></uni-list-item>
<uni-list-item title="服务器地址"
thumb="/static/icon_personal_password.png"></uni-list-item>
<!-- <uni-list-item title="参数设置" link to="/pages/setter/setterDetail"
thumb="/static/icon_personal_setting.png"></uni-list-item> -->
</uni-list>
@ -44,7 +48,9 @@
removeToken
} from '@/common/utils/auth'
import {
ref,reactive,nextTick
ref,
reactive,
nextTick
} from "vue";
import {
onLoad
@ -53,17 +59,17 @@
const userName = ref(store.state.user.name);
let test = ref("123");
let userInfo = ref(null);
onLoad(()=>{
console.log(11)
getUserProfile().then(res=>{
userInfo.value = res.data
// nextTick(()=>{
// const userInfo = res.data.nickname
// console.log("",userInfo)
// })
onLoad(() => {
console.log(11)
getUserProfile().then(res => {
userInfo.value = res.data
// nextTick(()=>{
// const userInfo = res.data.nickname
// console.log("",userInfo)
// })
})
});
})
});
function handlerlogout() {

Loading…
Cancel
Save