Browse Source

发料记录修改

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

1
pages/issue/record/issueRecord.vue

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

42
pages/setter/index.vue

@ -9,17 +9,21 @@
<!-- <uni-list-item title="工号" clickable @click="onClick" :rightText="usermsg.phoneNumber"></uni-list-item> -->
<uni-list-item title="姓名" clickable :rightText="userName" thumb="/static/icon_personal_name.png">
</uni-list-item>
<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,18 +59,18 @@
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() {
store.dispatch('LogOut', {}).then(() => {

Loading…
Cancel
Save