|
|
@@ -213,9 +213,13 @@ const goodstechnologymaken = (props) => { |
|
|
|
console.log("va",va) |
|
|
|
console.log("value",value) |
|
|
|
console.log("item",item) |
|
|
|
GetwarehousetemplateData(item.deviceId) |
|
|
|
setWarehousrTemplateId(item.warehousrTemplateId) |
|
|
|
setdefaulttemplateValue(item.warehousrTemplateId) |
|
|
|
if(item){ |
|
|
|
GetwarehousetemplateData(item.deviceId) |
|
|
|
setWarehousrTemplateId(item.warehousrTemplateId) |
|
|
|
setdefaulttemplateValue(item.warehousrTemplateId) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
GetGoodsTechnology(value).then((r)=>{ |
|
|
|
if (r.data.length > 0) { |
|
|
|
var Technologyacton=[]; |
|
|
@@ -297,6 +301,7 @@ const goodstechnologymaken = (props) => { |
|
|
|
} |
|
|
|
const handleChange = (value) => { |
|
|
|
console.log("进来了", value) |
|
|
|
setdefaulttemplateValue("") |
|
|
|
if(value){ |
|
|
|
setdefaultValue(value) |
|
|
|
setddevideId(value) |
|
|
@@ -419,6 +424,7 @@ const goodstechnologymaken = (props) => { |
|
|
|
}; |
|
|
|
const handleChangewarehousetemplate=(value)=>{ |
|
|
|
setWarehousrTemplateId(value) |
|
|
|
setdefaulttemplateValue(value) |
|
|
|
} |
|
|
|
return <> |
|
|
|
|
|
|
|