| | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | |
| | | <head> |
| | | <meta charset="utf-8" /> |
| | | <title>ä¾åºåæ¥ä»·åç¼è¾</title> |
| | |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script src="../../../layuiadmin/PageTitle.js"></script> |
| | | <style> |
| | | .main-btn { /*头é¨ä¸»æé®*/ |
| | | padding: 0 2px; /*è°æ´æé®å·¦å³ç©ºé大å°*/ |
| | | .main-btn { |
| | | /*头é¨ä¸»æé®*/ |
| | | padding: 0 2px; |
| | | /*è°æ´æé®å·¦å³ç©ºé大å°*/ |
| | | height: 30px; |
| | | line-height: 30px; |
| | | } |
| | |
| | | .btn-title { |
| | | font-size: 16px; |
| | | } |
| | | |
| | | /* 鲿¢ä¸ææ¡ç䏿å表被éè---å¿
须设置--- */ |
| | | .layui-table-cell { |
| | | overflow: visible !important; |
| | | } |
| | | |
| | | /* 使å¾ä¸ææ¡ä¸åå
æ ¼å好åé */ |
| | | td .layui-form-select { |
| | | margin-top: -10px; |
| | |
| | | } |
| | | </style> |
| | | </head> |
| | | |
| | | <body> |
| | | <div class="layui-fluid" style="padding: 0;"> |
| | | <div class="layui-card" style="padding: 15px;"> |
| | |
| | | <form class="layui-form" lay-filter="component-form-group" action=""> |
| | | <div class="layui-card-header"> |
| | | <div class="layui-btn-group"> |
| | | <button type="button" id="btnSave" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btnSave">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">éåº</button> |
| | | <button type="button" id="btnSave" class="layui-btn layui-btn-normal layui-btn-radius" |
| | | lay-submit="" lay-filter="btnSave">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" |
| | | lay-filter="Cancel">éåº</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill"> |
| | |
| | | <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;" readonly> |
| | | <input type="hidden" name="HInterID" id="HInterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <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="HSupName" id="HSupName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" name="HSupName" id="HSupName" |
| | | onmouseover="this.title=this.value" |
| | | style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" |
| | | readonly> |
| | | <input type="hidden" name="HSupID" id="HSupID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchSup" id="btnSearchSup" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" |
| | | lay-submit="" lay-filter="btnSearchSup" id="btnSearchSup" |
| | | style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" |
| | | style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | |
| | | <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="HQuoteEmp" id="HQuoteEmp" style=""> |
| | | <input type="text" class="layui-input" name="HQuoteEmp" id="HQuoteEmp" |
| | | style=""> |
| | | </div> |
| | | </div> |
| | | <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="HQuoteDept" id="HQuoteDept" style=""> |
| | | <input type="text" class="layui-input" name="HQuoteDept" id="HQuoteDept" |
| | | style=""> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <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="HCurName" id="HCurName" onmouseover="this.title=this.value" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" name="HCurName" id="HCurName" |
| | | onmouseover="this.title=this.value" |
| | | style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" |
| | | readonly> |
| | | <input type="hidden" name="HCurID" id="HCurID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchCur" id="btnSearchCur" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" |
| | | lay-submit="" lay-filter="btnSearchCur" id="btnSearchCur" |
| | | style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" |
| | | style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | |
| | | <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="HPayConditionID" id="HPayConditionID" style="background-color:#efefef4d;" value="0" readonly> |
| | | <input type="text" class="layui-input" name="HPayConditionID" |
| | | id="HPayConditionID" style="background-color:#efefef4d;" value="0" |
| | | readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çææ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="date" class="layui-input" name="HBeginDate" id="HBeginDate"> |
| | | <input type="date" class="layui-input" name="HBeginDate" |
| | | id="HBeginDate"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">夿³¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRemark" id="HRemark" style="width:500px;"> |
| | | <input type="text" class="layui-input" name="HRemark" id="HRemark" |
| | | style="width:500px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">æè¦</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HExplanation" id="HExplanation" style="width:500px;"> |
| | | <input type="text" class="layui-input" name="HExplanation" |
| | | id="HExplanation" style="width:500px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline" style="display:none"> |
| | | <label class="layui-form-label">æºåä¿¡æ¯</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="hidden" name="HMainSourceBillType" id="HMainSourceBillType" value="0"> |
| | | <input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" value="0"> |
| | | <input type="hidden" name="HMainSourceEntryID" id="HMainSourceEntryID" value="0"> |
| | | <input type="hidden" name="HMainSourceBillNo" id="HMainSourceBillNo" value=""> |
| | | <input type="hidden" name="HMainSourceBillType" id="HMainSourceBillType" |
| | | value="0"> |
| | | <input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" |
| | | value="0"> |
| | | <input type="hidden" name="HMainSourceEntryID" id="HMainSourceEntryID" |
| | | value="0"> |
| | | <input type="hidden" name="HMainSourceBillNo" id="HMainSourceBillNo" |
| | | value=""> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¶å人</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HMaker" id="HMaker" |
| | | style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å®¡æ ¸äºº</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HChecker" id="HChecker" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HChecker" id="HChecker" |
| | | style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å
³é人</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCloseMan" id="HCloseMan" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HCloseMan" id="HCloseMan" |
| | | style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¶åæ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMakeDate" id="HMakeDate" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HMakeDate" id="HMakeDate" |
| | | style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å®¡æ ¸æ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" |
| | | style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å
³éæ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" |
| | | style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä¿®æ¹äºº</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HUpDater" id="HUpDater" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HUpDater" id="HUpDater" |
| | | style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä½åºäºº</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HDeleteMan" id="HDeleteMan" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HDeleteMan" id="HDeleteMan" |
| | | style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä¿®æ¹æ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HUpDateDate" id="HUpDateDate" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HUpDateDate" |
| | | id="HUpDateDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä½åºæ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HDeleteDate" |
| | | id="HDeleteDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </body> |
| | | |
| | | </html> |
| | | <script type="text/html" id="barDemo"> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">å é¤</a> |
| | |
| | | //#region ã卿è·å模ååç§°ã |
| | | var HModuleType = "1507"; |
| | | //éè¿åæ®ç±»åï¼ä»æ°æ®åºå¨æè·ååæ®æ¨¡åå½å,å¼ç¨jsæä»¶ PageTitle.js |
| | | var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType); |
| | | var HPageTitle = get_PageTitle(HModuleType) || $("h1").html(); |
| | | $("h1").html('<b>' + HPageTitle + '</b>'); |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //åå§åçé¢ |
| | | set_ClearBill(); |
| | |
| | | }) |
| | | } |
| | | }); |
| | | } else if (typeof (OptionData.HItemID) != "undefined"){ |
| | | } else if (typeof (OptionData.HItemID) != "undefined") { |
| | | obj.update({ //æ´æ°è¡¨æ ¼æ°æ® |
| | | "HMaterID": OptionData.HItemID //设置HItemIDçå¼ä¸ºâHBillNoâåæ®µçå¼HItemID`çå¼ |
| | | , "ç©æä»£ç ": OptionData.HNumber |
| | |
| | | , HMoney: HMoney //æ´æ°HMoneyåæ®µï¼HMoney |
| | | , HTaxMoney: HTaxMoney //æ´æ°HTaxMoneyåæ®µï¼HTaxMoney |
| | | , HlineTotal: HlineTotal //æ´æ°HlineTotalåæ®µï¼HlineTotal |
| | | , HTaxPrice:HTaxPrice //æ´æ°HTaxPriceåæ®µï¼HTaxPrice |
| | | , HTaxPrice: HTaxPrice //æ´æ°HTaxPriceåæ®µï¼HTaxPrice |
| | | }); |
| | | table.render(option) |
| | | break; |
| | |
| | | , { field: 'HUnitNumber', title: 'åä½ä»£ç ', edit: 'text', event: "HUnitID", width: 165 } |
| | | , { field: 'HUnitName', title: 'åä½åç§°', width: 165 } |
| | | , { field: 'HQty', title: 'æ°é', edit: 'text', event: 'inputHQty', width: 90, totalRow: true } |
| | | , { field: 'HPrice', title: 'åä»·', edit: 'text', event: 'inputHPrice', width:90 } |
| | | , { field: 'HMoney', title: 'éé¢', event: 'inputHMoney', width: 90, totalRow: true } |
| | | , { field: 'HTaxPrice', title: 'å«ç¨åä»·', edit: 'text', event: 'inputHTaxPrice', width:90 } |
| | | , { field: 'HTaxRate', title: 'ç¨ç%', edit: 'text', event: 'inputHTaxRate', width:90 } |
| | | , { field: 'HTaxMoney', title: 'ç¨é¢', event: 'inputHTaxMoney', width:90 } |
| | | , { field: 'HlineTotal', title: 'ä»·ç¨å计', event: 'inputHlineTotal', width:90 } |
| | | , { field: 'HlineTotalBB', title: 'æ¬ä½å¸ä»·ç¨å计', edit: 'text', event: 'inputHlineTotalBB', width:125 } |
| | | , { field: 'HPrice', title: 'åä»·', edit: 'text', event: 'inputHPrice', width: 90 } |
| | | , { field: 'HMoney', title: 'éé¢', event: 'inputHMoney', width: 90, totalRow: true } |
| | | , { field: 'HTaxPrice', title: 'å«ç¨åä»·', edit: 'text', event: 'inputHTaxPrice', width: 90 } |
| | | , { field: 'HTaxRate', title: 'ç¨ç%', edit: 'text', event: 'inputHTaxRate', width: 90 } |
| | | , { field: 'HTaxMoney', title: 'ç¨é¢', event: 'inputHTaxMoney', width: 90 } |
| | | , { field: 'HlineTotal', title: 'ä»·ç¨å计', event: 'inputHlineTotal', width: 90 } |
| | | , { field: 'HlineTotalBB', title: 'æ¬ä½å¸ä»·ç¨å计', edit: 'text', event: 'inputHlineTotalBB', width: 125 } |
| | | , { field: 'HDate', title: 'é¢è®¡äº¤è´§æ¥æ', width: 120, templet: "<div>{{d.HDate ==null ?'':layui.util.toDateString(d.HDate, 'yyyy-MM-dd')}}</div>", event: 'HDate' } |
| | | , { field: 'HBagType', title: 'å
è£
æ¹å¼', edit: 'text', width: 120 } |
| | | , { field: 'HCarryType', title: 'è¿è¾æ¹å¼', edit: 'text', width: 120 } |
| | |
| | | layer.msg('è¯·éæ©ä¸è¡æç©ææ°æ®æ¥è¯¢ï¼'); |
| | | } |
| | | } |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //#region æ ¹æ®ç©æIDè·å精度 |
| | | function getDecByMaterID(HMaterID) { |
| | |
| | | }); |
| | | return resultData; |
| | | } |
| | | //#endregion |
| | | //#endregion |
| | | |
| | | //ç¼è¾ 页é¢èµå¼ |
| | | function RoadBillMain(linterid)//å 载表头 |
| | |
| | | } |
| | | }) |
| | | } |
| | | //#endregion |
| | | //#endregion |
| | | //æå° |
| | | function get_print(data) { |
| | | |