|
@@ -83,6 +83,7 @@ export default {
|
|
data.user_id = this.user.uid;
|
|
data.user_id = this.user.uid;
|
|
if (data.user_id) {
|
|
if (data.user_id) {
|
|
data.user_name = this.user.name;
|
|
data.user_name = this.user.name;
|
|
|
|
+ data.role = this.user.role;
|
|
let dock_id = this.$route.query.id;
|
|
let dock_id = this.$route.query.id;
|
|
data.goodsList = [this.productInfo(this.form.goodsList)];
|
|
data.goodsList = [this.productInfo(this.form.goodsList)];
|
|
const res = await this.applyCreate({ id: dock_id, ...data });
|
|
const res = await this.applyCreate({ id: dock_id, ...data });
|