huangbin há 4 anos atrás
pai
commit
08d7f1c144

+ 4 - 4
src/views/information/spot-contract/components/add/index.vue

@@ -88,14 +88,14 @@
             </a-col>
             <a-col :span="12">
               <a-form-item label="销售方">
-                <span class="white">{{getAreaUserName()}}</span>
+                <span class="white">{{getUserName()}}</span>
               </a-form-item>
             </a-col>
           </template>
           <template v-else>
             <a-col :span="12">
               <a-form-item label="采购方">
-                <span class="white">{{getAreaUserName()}}</span>
+                <span class="white">{{getUserName()}}</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, getUserName, getUsrId } from '@/services/bus/user';
 import { getGoodsList } from '@/services/bus/goods';
 import { Goods } from '@/services/go/ermcp/goodsInfo/interface';
 import { FormState } from '../interface';
@@ -553,7 +553,7 @@ export default defineComponent({
             payCurrencyUnit,
             parCurrencyChange,
             numberUnit,
-            getAreaUserName,
+            getUserName,
             deliveryDate,
             priceDate,
             disabledDate,