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

Loading…
Cancel
Save