zhangweicheng 5 år sedan
förälder
incheckning
80763ae707
1 ändrade filer med 1 tillägg och 1 borttagningar
  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);