{
// x.isBatch ?
diff --git a/src/pages/database/goods/goodstechnology/components/From.jsx b/src/pages/database/goods/goodstechnology/components/From.jsx
index 9b5cc4d..55786da 100644
--- a/src/pages/database/goods/goodstechnology/components/From.jsx
+++ b/src/pages/database/goods/goodstechnology/components/From.jsx
@@ -84,27 +84,33 @@ const From = (props) => {
let value=props.optiondata.find(p=>p.id==x.technologyactionId && p.actionName==x.actionName).actionValue;
if (x.actionType == "text") {
return <>
-
{x.actionName}
-
{ handleChange(value, x.id, x.goddteid) }} />
+
+ {x.actionName}
+ { handleChange(value, x.id, x.goddteid) }} />
+
>
}
if (x.actionType == "digit") {
return <>
-
{x.actionName}
-
{ handlenumChange(value, x.id, x.goddteid) }} />
- >
+
+ {x.actionName}
+ { handlenumChange(value, x.id, x.goddteid) }} />
+
>
}
if (x.actionType == "textarea") {
return <>
-
{x.actionName}
-
+
+ {x.actionName}
+
+
>
}
if (x.actionType == "switch") {
return <>
-
{x.actionName}
-
{ handleChange(value, x.id, x.goddteid) }} />
- >
+
+ {x.actionName}
+ { handleChange(value, x.id, x.goddteid) }} />
+
>
}
if (x.actionType == "select") {
var va = []
@@ -122,9 +128,10 @@ const From = (props) => {
op=sd
}
return <>
-
{x.actionName}
-
- >
+
+ {x.actionName}
+
+
>
}
diff --git a/src/pages/database/goods/goodstechnology/components/goodstechnologymaken.jsx b/src/pages/database/goods/goodstechnology/components/goodstechnologymaken.jsx
index 4d542b5..4448e59 100644
--- a/src/pages/database/goods/goodstechnology/components/goodstechnologymaken.jsx
+++ b/src/pages/database/goods/goodstechnology/components/goodstechnologymaken.jsx
@@ -584,12 +584,12 @@ const goodstechnologymaken = (props) => {
//
{ onClickdele(e, item, action) }} />
]} style={{boxShadow: '5px 8px 24px 5px rgba(208, 216, 243, 0.6)'}}>
-
{item.stepName}
-
+
{item.stepName}
+
{
action.map(x => {
return (
-
+
{x.actionName}
{x.actionValue}
diff --git a/src/pages/database/goods/goodstechnology/style.less b/src/pages/database/goods/goodstechnology/style.less
index 2544994..b0fd141 100644
--- a/src/pages/database/goods/goodstechnology/style.less
+++ b/src/pages/database/goods/goodstechnology/style.less
@@ -61,7 +61,7 @@
.formlable{
color: #3a3a3a;
border: 1px solid #bfbbbb;
- width: 91px;
+ width: 30%;
height: 32px;
text-align: center;
line-height: 30px;
@@ -70,7 +70,7 @@
.formlabletxt{
color: #3a3a3a;
border: 1px solid #ebe1e1;
- width: 170px;
+ width: 60%;
height: 32px;
text-align: center;
line-height: 30px;
diff --git a/src/pages/database/goods/newgoods/index.jsx b/src/pages/database/goods/newgoods/index.jsx
index 24fcfbf..a3b2368 100644
--- a/src/pages/database/goods/newgoods/index.jsx
+++ b/src/pages/database/goods/newgoods/index.jsx
@@ -1,5 +1,5 @@
-import { PlusOutlined, UploadOutlined } from '@ant-design/icons';
-import { Button, message, Input, Drawer, Popconfirm, Upload, Spin } from 'antd';
+import { PlusOutlined, UploadOutlined,QuestionCircleOutlined } from '@ant-design/icons';
+import { Button, message, Input, Drawer, Popconfirm, Upload, Spin,Tooltip } from 'antd';
import React, { useState, useRef, useEffect } from 'react';
import { PageContainer, FooterToolbar } from '@ant-design/pro-layout';
import ProTable from '@ant-design/pro-table';
@@ -301,11 +301,12 @@ const GoodsManage = () => {
// link.href = url;
// link.click();
const link = document.createElement('a');
- link.href = "https://hbl-test-1305371387.cos.ap-chengdu.myqcloud.com//Franchisee/goods/133463060115739076.xlsx";
+ link.href = "https://hbl-test-1305371387.cos.ap-chengdu.myqcloud.com//Franchisee/goods/133534083799594690.xlsx";
link.click();
}}
>
下载商品导入模板
+
,
//
{
const [DeviceVesionData, setDeviceVesionData] = useState([]);
const [value, setValue] = useState(0);
const [deviceTypename,setdeviceTypename]=useState("");
+ const [options,setoptions]=useState([]);
const inputRef = useRef(null);
useEffect(() => {
console.log(props.values)
@@ -17,7 +18,11 @@ const CreateForm = (props) => {
setDeviceVesionData(res.data)
})
}
- },[props.values])
+ var optdata=props.dicData.map((item, index) => {
+ return {value:item.id,label:item.label}
+ })
+ setoptions(optdata);
+ },[props])
const handleChange=(value)=>{
GetDeviceVesion(value).then((res)=>{
setDeviceVesionData(res.data)
@@ -72,15 +77,10 @@ const CreateForm = (props) => {
-
+
-
+
{/*
From 28ef08a6a43b97a9a3cca6c49992f12e448262ed Mon Sep 17 00:00:00 2001
From: zhaoy <137053305@qq.com>
Date: Mon, 26 Feb 2024 18:26:45 +0800
Subject: [PATCH 2/2] z
---
.../database/basic/batching/components/CreateForm.jsx | 1 +
src/pages/device/deviceVesion/index.jsx | 7 +++++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/pages/database/basic/batching/components/CreateForm.jsx b/src/pages/database/basic/batching/components/CreateForm.jsx
index f9f0b90..e7907e5 100644
--- a/src/pages/database/basic/batching/components/CreateForm.jsx
+++ b/src/pages/database/basic/batching/components/CreateForm.jsx
@@ -179,6 +179,7 @@ const CreateForm = (props) => {
{
title: '仓位数量',
dataIndex: 'productNumber',
valueType: 'textarea',
+ hideInSearch: true,
},
{
title: '图片',
dataIndex: 'productUrl',
+ hideInSearch: true,
render: (_, record) => (
+ record?.productUrl?
-
+ :""
)
},
// {