|
|
@@ -88,14 +88,14 @@
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="销售方">
|
|
|
- <span class="white">{{getUserName()}}</span>
|
|
|
+ <span class="white">{{getRootUserInfo().accountname}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="采购方">
|
|
|
- <span class="white">{{getUserName()}}</span>
|
|
|
+ <span class="white">{{getRootUserInfo().accountname}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
@@ -426,7 +426,7 @@
|
|
|
<script lang="ts">
|
|
|
import { defineComponent, PropType, ref } from 'vue';
|
|
|
import { addContractReq } from './setup';
|
|
|
-import { getAreaUserName, getUserName, getUsrId } from '@/services/bus/user';
|
|
|
+import {getAreaUserName, getRootUserInfo, getUserName, getUsrId} from '@/services/bus/user';
|
|
|
import { getGoodsList } from '@/services/bus/goods';
|
|
|
import { Goods } from '@/services/go/ermcp/goodsInfo/interface';
|
|
|
import { FormState } from '../interface';
|
|
|
@@ -563,6 +563,7 @@ export default defineComponent({
|
|
|
businesserList,
|
|
|
merchandiserList,
|
|
|
uploadImgAction,
|
|
|
+ getRootUserInfo,
|
|
|
};
|
|
|
},
|
|
|
});
|