shaogen1995 недель назад: 3
Родитель
Сommit
e38d313c12

+ 2 - 1
src/pages/ZgoodsInfo/index.tsx

@@ -3,7 +3,8 @@ import styles from './index.module.scss'
 function ZgoodsInfo() {
   return (
     <div className={styles.ZgoodsInfo}>
-      <h1>ZgoodsInfo</h1>
+      <h1>藏品详情页,开发中</h1>
+      {/* 待完善sg */}
     </div>
   )
 }

+ 1 - 1
src/pages/Zother/AddClues/index.module.scss

@@ -28,7 +28,7 @@
         padding-right: 150px;
         display: flex;
         flex-wrap: wrap;
-        align-content: start;
+        align-content: flex-start;
         padding-top: 10px;
         justify-content: space-between;
         overflow-y: auto;

+ 7 - 1
src/pages/Zother/SonGoodsList/index.tsx

@@ -1,4 +1,4 @@
-import React, { useMemo, useState } from 'react'
+import React, { useCallback, useMemo, useState } from 'react'
 import styles from './index.module.scss'
 import { Button } from 'antd'
 import MyTable from '@/components/MyTable'
@@ -61,6 +61,12 @@ function SonGoodsList({ fileUpInfo }: Props) {
     ]
   }, [delSnapIdsRef, isLook, setSnapsFu, snaps])
 
+  // 从征集线索中添加
+  const [clueArr, setClueArr] = useState<GoodsType[]>([])
+  const getClueArrFu = useCallback(async () => {
+    // const res
+  }, [])
+
   return (
     <div className={styles.SonGoodsList}>
       <div className='EdTit'>

+ 7 - 0
src/store/action/Dmanage/D1register.ts

@@ -26,6 +26,13 @@ export const D1_APIgoodsSave = (data: any) => {
   return http.post('cms/order/register/add', data)
 }
 
+/**
+ * 藏品登记-获取藏品征集列表
+ */
+export const D1_APIgetClueList = (data: any) => {
+  return http.post('cms/order/register/collect/getList', data)
+}
+
 export type APItxtType =
   | '创建订单'
   | '获取详情'