zhangweicheng пре 5 година
родитељ
комит
80763ae707
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      web/building_saas/main/js/views/glj_view.js

+ 1 - 1
web/building_saas/main/js/views/glj_view.js

@@ -1016,7 +1016,7 @@ var gljOprObj = {
       let [marketPrice,basePrice] = this.getParentPrice(subList,0,ratio,"delete");
       try {
         $.bootstrapLoading.start()
-        projectData = await ajaxPost('/glj/updateRatio', {id: ratio.mixRatioId,type:'delete',pid:ratio.parentGLJ.id,market_price: marketPrice,base_price: basePrice});
+        projectData = await ajaxPost('/glj/updateRatio', {id: ratio.mixRatioId,type:'delete',pid:ratio.parentGLJ.unit_price.id,market_price: marketPrice,base_price: basePrice});
 
         //更新缓存
         let pk = gljUtil.getIndex(ratio.parentGLJ);