浏览代码

commit 详情相关

xkwg 4 年之前
父节点
当前提交
6c567e7df4

+ 2 - 2
src/views/information/custom/compoments/detail/index.vue

@@ -91,14 +91,14 @@
       <a-row :gutter="24">
         <a-col :span="24">
           <a-form-item label="通讯地址">
-            <span class="white">{{ selectedRow.address }}</span>
+            <span class="white">{{ formatValue(selectedRow.address) }}</span>
           </a-form-item>
         </a-col>
       </a-row>
       <a-row :gutter="24">
         <a-col :span="24">
           <a-form-item label="备注">
-            <span class="white">{{ selectedRow.remark }}</span>
+            <span class="white">{{ formatValue(selectedRow.remark) }}</span>
           </a-form-item>
         </a-col>
       </a-row>

+ 5 - 5
src/views/information/spot-contract/components/detail/index.vue

@@ -151,31 +151,31 @@
       <a-row :gutter="24">
         <a-col :span="12">
           <a-form-item label="保证金">
-            <span class="white">企业</span>
+            <span class="white">{{ formatValue(selectedRow.contractmargin) }}</span>
           </a-form-item>
         </a-col>
         <a-col :span="12">
           <a-form-item label="业务员">
-            <span class="white">深圳市前海矿业有限公司</span>
+            <span class="white">{{ formatValue(selectedRow.saleuserlogincode) }}</span>
           </a-form-item>
         </a-col>
       </a-row>
       <a-row :gutter="24">
         <a-col :span="12">
           <a-form-item label="跟单员">
-            <span class="white">前海矿业</span>
+            <span class="white">{{ formatValue(selectedRow.meruserlogincode) }}</span>
           </a-form-item>
         </a-col>
         <a-col :span="12">
           <a-form-item label="期货账户">
-            <span class="white">营业执照</span>
+            <span class="white">{{ formatValue(selectedRow.accountid) }}</span>
           </a-form-item>
         </a-col>
       </a-row>
       <a-row :gutter="24">
         <a-col :span="12">
           <a-form-item label="备注">
-            <span class="white">李顺利</span>
+            <span class="white">{{ formatValue(selectedRow.remark) }}</span>
           </a-form-item>
         </a-col>
       </a-row>

+ 9 - 1
src/views/information/warehouse-info/compoments/detail/index.vue

@@ -16,12 +16,20 @@
 </template>
 
 <script lang="ts">
-import { defineComponent, ref } from 'vue';
+import {defineComponent, PropType, ref} from 'vue';
 import { closeModal } from '@/common/setup/modal/index';
+import {QueryCustomInfoType} from "@/services/go/ermcp/customInfo/interface";
+import {ErmcpWareHouseInfo} from "@/services/go/ermcp/warehouse-info/interface";
 
 export default defineComponent({
     name: 'warehouse_info_btn-detail',
     components: {},
+    props:{
+        selectedRow: {
+            type: Object as PropType<ErmcpWareHouseInfo>,
+            default: {},
+        },
+    },
     setup() {
         const { visible, cancel } = closeModal('detail');
         const loading = ref<boolean>(false);

+ 1 - 1
src/views/information/warehouse-info/list/normal-use/index.vue

@@ -30,7 +30,7 @@
     <!-- 停用仓库信息 -->
     <Disable />
     <!-- 仓库信息详情 -->
-    <Detail />
+    <Detail :selectedRow="selectedRow" />
     <!-- 修改仓息库信 -->
     <Modify />
   </div>