zhaoy 8 months ago
parent
commit
75d4199b09
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      src/pages/database/goods/goodstechnology/components/goodstechnologymaken.jsx

+ 9
- 3
src/pages/database/goods/goodstechnology/components/goodstechnologymaken.jsx View File

@@ -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 <>



Loading…
Cancel
Save