| WebTM/views/采购管理/付款单/YF_PayMentBill.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/采购管理/应付单/Cg_PayableBill.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/采购管理/收料通知单/Add_Edit_Cg_POInStockBillList.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/采购管理/采购订单/Cg_POOrderBillEdit.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/销售管理/发货通知单/Add_Edit_Xs_SeOutStockBillList.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/销售管理/应收单/Xs_ReceivableBill.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/销售管理/销售订单/Add_Edit_Xs_SeOrderBillList.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/验收入库/外购入库/Add_Edit_Kf_POStockInBillList.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
WebTM/views/²É¹º¹ÜÀí/¸¶¿îµ¥/YF_PayMentBill.html
@@ -42,7 +42,7 @@ <div class="layui-inline"> <label class="layui-form-label">åæ®ç¼å·<label style="color:red"> * </label></label> <div class="layui-input-inline"> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;"> <input type="hidden" name="HInterID" id="HInterID" value="0"> </div> </div> @@ -720,6 +720,7 @@ , { field: 'HQty', title: 'æ°é', width: 100, totalRow: true, style: 'background-color:#efefef4d;' } , { field: 'HPrice', title: 'åä»·', width: 100, style: 'background-color:#efefef4d;' } , { field: 'HMoney', title: 'ç»ç®éé¢', width: 100, totalRow: true, style: 'background-color:#efefef4d;' } , { field: 'HInvoiceBillNo_Sub', title: 'å票å·ç ', width: 100,style: 'background-color:#efefef4d;' } , { field: 'HReceiveBillInterID', title: 'æ¥æ¶æºåå ç ', width: 100, hide: true, style: 'background-color:#efefef4d;' } , { field: 'HReceiveBillEntryID', title: 'æ¥æ¶æºååå ç ', width: 100, hide: true, style: 'background-color:#efefef4d;' } , { field: 'HReceiveBillNo', title: 'æ¥æ¶æºåå·', width: 100, hide: true, style: 'background-color:#efefef4d;' } @@ -1069,6 +1070,7 @@ , "HQty": dealDoubleToFixed(dataArray[i].æ°é, 1) , "HPrice": dealDoubleToFixed(dataArray[i].åä»·, 3) // , "HMoney": dealDoubleToFixed(dataArray[i].éé¢, 2) , "HInvoiceBillNo_Sub": dataArray[i].å票ç¼å· , "HReceiveBillInterID": dataArray[i].hmainid , "HReceiveBillEntryID": dataArray[i].hsubid , "HReceiveBillNo": dataArray[i].åæ®å· @@ -1385,6 +1387,7 @@ , "HQty": dealDoubleToFixed(result.data[i].æ°é, 1) , "HPrice": dealDoubleToFixed(result.data[i].åä»·, 3) // , "HMoney": dealDoubleToFixed(result.data[i].ç»ç®éé¢, 2) , "HInvoiceBillNo_Sub": result.data[i].å票å·ç , "HReceiveBillInterID": result.data[i].æºå主å ç , "HReceiveBillEntryID": result.data[i].æºååå ç , "HReceiveBillNo": result.data[i].æºååå· WebTM/views/²É¹º¹ÜÀí/Ó¦¸¶µ¥/Cg_PayableBill.html
@@ -66,7 +66,7 @@ <div class="layui-inline"> <label class="layui-form-label">åæ®ç¼å·</label> <div class="layui-input-inline"> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;"> <input type="hidden" name="HInterID" id="HInterID" value="0"> </div> </div> WebTM/views/²É¹º¹ÜÀí/ÊÕÁÏ֪ͨµ¥/Add_Edit_Cg_POInStockBillList.html
@@ -65,7 +65,7 @@ <div class="layui-col-xs4 layui-inline"> <label class="layui-form-label">åæ®å·<label style="color:red"> * </label></label> <div class="layui-input-inline"> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;"> <input type="hidden" name="HInterID" id="HInterID" value="0"> <input type="hidden" name="HSTOCKORGID" id="HSTOCKORGID" lay-verify="HSTOCKORGID" value="0"> </div> WebTM/views/²É¹º¹ÜÀí/²É¹º¶©µ¥/Cg_POOrderBillEdit.html
@@ -66,7 +66,7 @@ <div class="layui-col-xs4 layui-inline"> <label class="layui-form-label">åæ®å·<label style="color:red"> * </label></label> <div class="layui-input-inline"> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;"> <input type="hidden" name="HInterID" id="HInterID" value="0"> <input type="hidden" name="HSTOCKORGID" id="HSTOCKORGID" lay-verify="HSTOCKORGID" value="0"> </div> WebTM/views/ÏúÊÛ¹ÜÀí/·¢»õ֪ͨµ¥/Add_Edit_Xs_SeOutStockBillList.html
@@ -67,7 +67,7 @@ <div class="layui-col-xs4 layui-inline"> <label class="layui-form-label">åæ®å·</label> <div class="layui-input-inline"> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;"> <input type="hidden" name="HInterID" id="HInterID" value="0"> <input type="hidden" name="HSTOCKORGID" id="HSTOCKORGID" lay-verify="HSTOCKORGID" value="0"> </div> WebTM/views/ÏúÊÛ¹ÜÀí/Ó¦ÊÕµ¥/Xs_ReceivableBill.html
@@ -65,7 +65,7 @@ <div class="layui-inline"> <label class="layui-form-label">åæ®ç¼å·</label> <div class="layui-input-inline"> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;"> <input type="hidden" name="HInterID" id="HInterID" value="0"> </div> </div> @@ -2368,11 +2368,18 @@ if (typeof (OptionData.HItemID) != "undefined") { //éè¿ä¾åºåidè·åç¨ç var HSupID = $("#HCusID").val(); if (HSupID != 0) { var Dec = getDecByMaterID(obj.data.HMaterID) //è·å精度 var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"]; //æ°é精度 var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"]; //å价精度 var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"]; //éé¢ç²¾åº¦ var HPrice = 0; if ($("#HPriceType").val() == "ææ¬ä»·") { HPrice = OptionData.å«ç¨ææ¬ä»· * 1;//åä»· } else { HPrice = OptionData.ç»ç®ä»· * 1;//åä»· } var HTaxRate = obj.data.HTaxRate*0.01; if (HSupID != 0) { $.ajax({ url: GetWEBURL() + "/Gy_Customer/xg", //url: "http://localhost:12761/Gy_Supplier/xg", @@ -2381,11 +2388,13 @@ "HInterID": HSupID }, success: function (d) { var HTaxRate = parseInt(d.data[0].å¢å¼ç¨ç) * 0.01; HTaxRate = parseInt(d.data[0].å¢å¼ç¨ç) * 0.01; } }); } var HExRate = $("#HExRate").val(); //æ±ç //æ°æ®æ ¡éªåæ ¼ï¼éç®è®°å½ var HQty = obj.data.HQty * 1; //æ°é var HPrice = obj.data.HPrice * 1; //åä»· var HMoney = HQty * HPrice; //éé¢=æ°é*åä»· var HTaxMoney = Number((HMoney * HTaxRate)); //ç¨é¢=éé¢*ç¨ç var HlineTotal = HMoney + HTaxMoney; //ä»·ç¨å计=éé¢+ç¨é¢ @@ -2393,7 +2402,6 @@ var HlineTotalBB = Number(((HMoney + HTaxMoney) * HExRate)); //æ¬ä½å¸ä»·ç¨å计=(ç¨é¢+éé¢)*æ±ç var HDiscountRate = obj.data.HDiscountRate * 1; //ææ£ç var HRelTaxPrice = Number((HTaxPrice * HDiscountRate)); //å®é å«ç¨åä»·=å«ç¨åä»·*ææ£ç var HExRate = $("#HExRate").val(); //æ±ç var HMoneyBB = HMoney * HExRate; ///æ°å精度 HQty = Number(HQty.toFixed(HQtyDec)); @@ -2425,19 +2433,6 @@ , HMoneyBB: HMoneyBB }) OptionData = []; } }); } else { obj.update({ //æ´æ°è¡¨æ ¼æ°æ® "HMaterID": OptionData.HItemID //设置HItemIDçå¼ä¸ºâHBillNoâåæ®µçå¼HItemID`çå¼ , "ç©æä»£ç ": OptionData.ç©æä»£ç , "ç©æåç§°": OptionData.ç©æåç§° , "è§æ ¼åå·": OptionData.è§æ ¼åå· , "HUnitID": OptionData.HUnitID , "计éåä½": OptionData.计éåä½åç§° }) OptionData = []; } } } }) @@ -2510,9 +2505,19 @@ } , end: function () { if (typeof (OptionData.HItemID) != "undefined") { //éè¿ä¾åºåidè·åç¨ç var HSupID = $("#HCusID").val(); var Dec = getDecByMaterID(obj.data.HMaterID) //è·å精度 var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"]; //æ°é精度 var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"]; //å价精度 var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"]; //éé¢ç²¾åº¦ var HPrice = 0; if ($("#HPriceType").val() == "ææ¬ä»·") { HPrice = OptionData.å«ç¨ææ¬ä»· * 1;//åä»· } else { HPrice = OptionData.ç»ç®ä»· * 1;//åä»· } var HTaxRate = obj.data.HTaxRate*0.01; if (HSupID != 0) { $.ajax({ url: GetWEBURL() + "/Gy_Customer/xg", @@ -2522,16 +2527,33 @@ "HInterID": HSupID }, success: function (d) { var HTaxRate = parseInt(d.data[0].å¢å¼ç¨ç) * 0.01; HTaxRate = parseInt(d.data[0].å¢å¼ç¨ç) * 0.01; } }); } var HExRate = $("#HExRate").val(); //æ±ç //æ°æ®æ ¡éªåæ ¼ï¼éç®è®°å½ var HQty = obj.data.HQty * 1; //æ°é var HPrice = obj.data.HPrice * 1; //åä»· var HMoney = HQty * HPrice; //éé¢=æ°é*åä»· var HTaxMoney = Number((HMoney * HTaxRate).toFixed(4)); //ç¨é¢=éé¢*ç¨ç var HTaxMoney = Number((HMoney * HTaxRate)); //ç¨é¢=éé¢*ç¨ç var HlineTotal = HMoney + HTaxMoney; //ä»·ç¨å计=éé¢+ç¨é¢ var HTaxPrice = Number((HPrice * (1 + HTaxRate)).toFixed(4)); //å«ç¨åä»·=åä»·*(1+ç¨ç) var HlineTotalBB = Number(((HMoney + HTaxMoney) * HExRate).toFixed(4)); //æ¬ä½å¸ä»·ç¨å计=(ç¨é¢+éé¢)*æ±ç var HTaxPrice = Number((HPrice * (1 + HTaxRate))); //å«ç¨åä»·=åä»·*(1+ç¨ç) var HlineTotalBB = Number(((HMoney + HTaxMoney) * HExRate)); //æ¬ä½å¸ä»·ç¨å计=(ç¨é¢+éé¢)*æ±ç var HDiscountRate = obj.data.HDiscountRate * 1; //ææ£ç var HRelTaxPrice = Number((HTaxPrice * HDiscountRate)); //å®é å«ç¨åä»·=å«ç¨åä»·*ææ£ç var HExRate = $("#HExRate").val(); //æ±ç var HMoneyBB = HMoney * HExRate; ///æ°å精度 HQty = Number(HQty.toFixed(HQtyDec)); HPrice = Number(HPrice.toFixed(HPriceDec)); HMoney = Number(HMoney.toFixed(HMoneyDec)); HTaxMoney = Number(HTaxMoney.toFixed(HMoneyDec)); HMoneyBB = Number(HMoneyBB.toFixed(HMoneyDec)); HlineTotal = Number(HlineTotal.toFixed(HMoneyDec)); HTaxPrice = Number(HTaxPrice.toFixed(HPriceDec)); HRelTaxPrice = Number(HRelTaxPrice.toFixed(HPriceDec)); HlineTotalBB = Number(HlineTotalBB.toFixed(HMoneyDec)); obj.update({ //æ´æ°è¡¨æ ¼æ°æ® "HMaterID": OptionData.HItemID //设置HItemIDçå¼ä¸ºâHBillNoâåæ®µçå¼HItemID`çå¼ , "ç©æä»£ç ": OptionData.ç©æä»£ç @@ -2546,22 +2568,11 @@ , HTaxMoney: HTaxMoney //æ´æ°HTaxMoneyåæ®µï¼HTaxMoney , HlineTotal: HlineTotal //æ´æ°HlineTotalåæ®µï¼HlineTotal , HTaxPrice, HTaxPrice //æ´æ°HTaxPriceåæ®µï¼HTaxPrice , HRelTaxPrice: HRelTaxPrice //æ´æ°HRelTaxPriceåæ®µï¼å ¶å¼æ¥èªåéHRelTaxPrice , HlineTotalBB: HlineTotalBB //æ´æ°HlineTotalBBåæ®µï¼å ¶å¼æ¥èªåéHlineTotalBB , HMoneyBB: HMoneyBB }) OptionData = []; } }); } else { obj.update({ //æ´æ°è¡¨æ ¼æ°æ® "HMaterID": OptionData.HItemID //设置HItemIDçå¼ä¸ºâHBillNoâåæ®µçå¼HItemID`çå¼ , "ç©æä»£ç ": OptionData.ç©æä»£ç , "ç©æåç§°": OptionData.ç©æåç§° , "è§æ ¼åå·": OptionData.è§æ ¼åå· , "HUnitID": OptionData.HUnitID , "计éåä½": OptionData.计éåä½åç§° }) OptionData = []; } } } }) WebTM/views/ÏúÊÛ¹ÜÀí/ÏúÊÛ¶©µ¥/Add_Edit_Xs_SeOrderBillList.html
@@ -77,7 +77,7 @@ <div class="layui-inline"> <label class="layui-form-label">åæ®ç¼å·<label style="color:red"> * </label></label> <div class="layui-input-inline"> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;"> <input type="hidden" name="HInterID" id="HInterID" value="0"> <input type="hidden" name="HSTOCKORGID" id="HSTOCKORGID" lay-verify="HSTOCKORGID"> </div> WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Add_Edit_Kf_POStockInBillList.html
@@ -70,7 +70,7 @@ <div class="layui-col-xs4 layui-inline"> <label class="layui-form-label">åæ®å·<label style="color:red"> * </label></label> <div class="layui-input-inline"> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;"> <input type="hidden" name="HInterID" id="HInterID" value="0"> <input type="hidden" name="HSTOCKORGID" id="HSTOCKORGID" lay-verify="HSTOCKORGID" value=0> </div>