|
@@ -1,6 +1,5 @@
|
|
|
<template>
|
|
|
<div v-loading="loading">
|
|
|
- 正在前往DRP调拨订单拉单页面...
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -16,9 +15,9 @@
|
|
|
methods: {
|
|
|
},
|
|
|
async created() {
|
|
|
+ this.$modal.loading("正在前往DRP调拨订单拉单页面...");
|
|
|
let query = this.$route.query;
|
|
|
- query.code = '001295';
|
|
|
- ehrLogin(query.code).then(res => {
|
|
|
+ ehrLogin(query.staffCode).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
let token = res.token;
|
|
|
setToken(token);
|
|
@@ -26,6 +25,7 @@
|
|
|
this.$store.dispatch("GetInfo").then(
|
|
|
this.$router.push({ path: "/business/purchase/form/transferOrder/bipPull",replace:true})
|
|
|
)
|
|
|
+ this.$modal.closeLoading();
|
|
|
}
|
|
|
})
|
|
|
}
|