|
|
@@ -3245,10 +3245,21 @@ const selectCJNode = (nodeData) => {
|
|
|
}
|
|
|
if(nodeData.level==3){
|
|
|
console.log(nodeData.label)
|
|
|
+ InSH(nodeData.label)
|
|
|
add_gyformData.Add_gxmc=nodeData.label
|
|
|
searchCJModel.value = false
|
|
|
}
|
|
|
}
|
|
|
+const InSH = async (value) => {
|
|
|
+ const response = await getLossCode({ code:value});
|
|
|
+ console.log(response)
|
|
|
+ if(response.code===0){
|
|
|
+ add_gyformData.标准损耗=response.data[0].sys_bh
|
|
|
+ add_gyformData.标准损耗2=response.data[0].sys_mc
|
|
|
+ add_gyformData.Gy0_shdh=response.data[0].sys_rate0
|
|
|
+ add_gyformData.损耗率=response.data[0].sys_rate1
|
|
|
+ }
|
|
|
+}
|
|
|
const getSHListdata = ref([]);
|
|
|
const getSH = (code) => {
|
|
|
_getSH()
|