zhaoy 8 mesi fa
parent
commit
75d4199b09
1 ha cambiato i file con 9 aggiunte e 3 eliminazioni
  1. +9
    -3
      src/pages/database/goods/goodstechnology/components/goodstechnologymaken.jsx

+ 9
- 3
src/pages/database/goods/goodstechnology/components/goodstechnologymaken.jsx Vedi 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 <>



Caricamento…
Annulla
Salva