This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
zhaoy
/
BPA.SAAS.Web
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
物模型优化
master
zhaoy
9 months ago
parent
22931018c5
commit
1b2014b3af
2 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/pages/device/productmanage/components/CreateForm.jsx
+3
-0
src/pages/device/productmanage/index.jsx
+ 1
- 0
src/pages/device/productmanage/components/CreateForm.jsx
View File
@@ -40,6 +40,7 @@ const CreateForm = (props) => {
setarttue(props?.values?.type)
if(props?.values?.type==1){
setdisplay("none")
setdisanumbled('none')
}else if(props?.values?.type==0){
setdisplay("block")
}
+ 3
- 0
src/pages/device/productmanage/index.jsx
View File
@@ -368,6 +368,9 @@ const handleAdd = async (fields) => {
fields.enumValue=JSON.stringify(fields.enumvaluelist)
}
}
if(fields.type==1){
fields.dataType="";
}
await addgoodstechnology(JSON.stringify(fields)).then((r) => {
if (r.data) {
message.success('添加成功');
Write
Preview
Loading…
Cancel
Save