| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æå°æ¬¡æ°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-input-block" style="margin-left: 115px;"> |
| | | <input type="text" class="layui-input" lay-verify="HPrintQty" name="HPrintQty" id="HPrintQty"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">计åé¨é¨</label> |
| | | <label class="layui-form-label" style="width: 85px;">计åé¨é¨</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="hidden" class="layui-input" lay-verify="HDeptID" name="HDeptID" id="HDeptID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" lay-verify="HDeptIDName" name="HDeptIDName" id="HDeptIDName" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å
¥åºæ°é</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <div class="layui-input-block" style="margin-left: 115px;"> |
| | | <input type="text" class="layui-input" lay-verify="HInStockQty" name="HInStockQty" id="HInStockQty"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ç©æ</label> |
| | | <label class="layui-form-label" style="width: 85px;">ç©æ</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="hidden" class="layui-input" lay-verify="HMaterID" name="HMaterID" id="HMaterID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" lay-verify="HMaterIDNumber" name="HMaterIDNumber" id="HMaterIDNumber" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">çç»</label> |
| | | <label class="layui-form-label" style="width: 85px;">çç»</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="hidden" class="layui-input" lay-verify="HGroupID" name="HGroupID" id="HGroupID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" lay-verify="HGroupIDName" name="HGroupIDName" id="HGroupIDName" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHGroupID" id="btnHGroupID" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHGroupID" id="btnHGroupID" style="padding: 0 10px;float: right;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ç产车é´</label> |
| | | <label class="layui-form-label" style="width: 85px;">ç产车é´</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="hidden" class="layui-input" lay-verify="HWorkShopID" name="HWorkShopID" id="HWorkShopID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" lay-verify="HWorkShopIDName" name="HWorkShopIDName" id="HWorkShopIDName" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHWorkShopID" id="btnHWorkShopID" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHWorkShopID" id="btnHWorkShopID" style="padding: 0 10px;float: right;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">åä½</label> |
| | | <label class="layui-form-label" style="width: 85px;">åä½</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="hidden" class="layui-input" lay-verify="HUnitID" name="HUnitID" id="HUnitID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" lay-verify="HUnitIDName" name="HUnitIDName" id="HUnitIDName" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHUnitID" id="btnHUnitID" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHUnitID" id="btnHUnitID" style="padding: 0 10px;float: right;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">æä½å·¥</label> |
| | | <label class="layui-form-label" style="width: 85px;">æä½å·¥</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="hidden" class="layui-input" lay-verify="HWorkerID" name="HWorkerID" id="HWorkerID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" lay-verify="HWorkerIDName" name="HWorkerIDName" id="HWorkerIDName" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHWorkerID" id="btnHWorkerID" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHWorkerID" id="btnHWorkerID" style="padding: 0 10px;float: right;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">çäº§èµæº</label> |
| | | <label class="layui-form-label" style="width: 85px;">çäº§èµæº</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="hidden" class="layui-input" lay-verify="HSourceID" name="HSourceID" id="HSourceID" value="0" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" lay-verify="HSourceIDName" name="HSourceIDName" id="HSourceIDName" value="" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSourceID" id="btnHSourceID" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSourceID" id="btnHSourceID" style="padding: 0 10px;float: right;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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="date" class="layui-input" lay-verify="HDate" name="HDate" id="HDate" style="padding-left: 48px;"> |
| | | <input type="date" class="layui-input" lay-verify="HDate" name="HDate" id="HDate" style="padding-left: 78px;"> |
| | | </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="date" class="layui-input" lay-verify="HPlanBeginDate" name="HPlanBeginDate" id="HPlanBeginDate" style="padding-left: 48px;"> |
| | | <input type="date" class="layui-input" lay-verify="HPlanBeginDate" name="HPlanBeginDate" id="HPlanBeginDate" style="padding-left: 78px;"> |
| | | </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="date" class="layui-input" lay-verify="HPlanEndDate" name="HPlanEndDate" id="HPlanEndDate" style="padding-left: 48px;"> |
| | | <input type="date" class="layui-input" lay-verify="HPlanEndDate" name="HPlanEndDate" id="HPlanEndDate" style="padding-left: 78px;"> |
| | | </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" lay-verify="HICMOBillNo" name="HICMOBillNo" id="HICMOBillNo"> |
| | | <input type="text" lay-verify="HMainSourceInterID" name="HMainSourceInterID" id="HMainSourceInterID" hidden /> |
| | | <input type="text" lay-verify="HMainSourceEntryID" name="HMainSourceEntryID" id="HMainSourceEntryID" hidden /> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç¼å¶æ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="date" class="layui-input" lay-verify="HPreparatDate" name="HPreparatDate" id="HPreparatDate" style="padding-left: 48px;"> |
| | | <input type="date" class="layui-input" lay-verify="HPreparatDate" name="HPreparatDate" id="HPreparatDate" style="padding-left: 78px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">订å交货æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="date" class="layui-input" lay-verify="HOrderCommitDate" name="HOrderCommitDate" id="HOrderCommitDate" style="padding-left: 48px;"> |
| | | <input type="date" class="layui-input" lay-verify="HOrderCommitDate" name="HOrderCommitDate" id="HOrderCommitDate" style="padding-left: 78px;"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | var OperationType = params[params[0]]; //ä»åæ°ä¸è·å æ°æ®ç±»å æ·»å ä¿å |
| | | var linterid = params[params[1]]; //ä»åæ°ä¸è·å åæ®å
ç |
| | | var lSourceBillType = params[params[2]]; //ä»åæ®è·å æºåç±»å |
| | | var linteridSub = params[params[3]]; //ä»åæ°è·å åè¡¨çº§å« |
| | | |
| | | //夿æ¯å¦æ°å¢ |
| | | if (linterid == null || linterid == -1) { |
| | | linteridSub = -1; |
| | | OperationType = 1; |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | |
| | | }); |
| | | } |
| | | else {//å¦æä¿®æ¹åèµ°ä¸é¢ new |
| | | RoadBillMain(linterid, linteridSub); |
| | | RoadBillMain(linterid); |
| | | //RoadBillSub(linterid); |
| | | } |
| | | |
| | |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "/Web/GetOrganizations", |
| | | async: false, |
| | | success: function (result) { |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data; |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'é¨é¨å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_DepartmentList.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_DepartmentList.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | case 1: |
| | | //è·åæ°æ® |
| | | $("#HDeptID").val(checkStatus.data[0].HItemID);//计åé¨é¨id |
| | | $("#HDeptIDName").val(checkStatus.data[0].HName);//计åé¨é¨åç§° |
| | | $("#HDeptIDName").val(checkStatus.data[0].é¨é¨åç§°);//计åé¨é¨åç§° |
| | | break; |
| | | case 2: |
| | | //è·åæ°æ® |
| | | $("#HWorkShopID").val(checkStatus.data[0].HItemID);//ç产车é´id |
| | | $("#HWorkShopIDName").val(checkStatus.data[0].HName);//ç产车é´åç§° |
| | | $("#HWorkShopIDName").val(checkStatus.data[0].é¨é¨åç§°);//ç产车é´åç§° |
| | | break; |
| | | } |
| | | |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'ç©æå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_MaterialList.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Material.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HMaterID").val(checkStatus.data[0].HItemID); |
| | | $("#HMaterName").val(checkStatus.data[0].HName); |
| | | $("#HMaterIDNumber").val(checkStatus.data[0].HNumber); |
| | | $("#HMaterModel").val(checkStatus.data[0].HModel); |
| | | $("#HMaterNumber").val(checkStatus.data[0].ç©æä»£ç ); |
| | | $("#HMaterName").val(checkStatus.data[0].ç©æåç§°); |
| | | $("#HMaterModel").val(checkStatus.data[0].è§æ ¼åå·); |
| | | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'åä½å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_UnitList.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Unit.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HUnitID").val(checkStatus.data[0].HItemID); |
| | | $("#HUnitIDName").val(checkStatus.data[0].HName); |
| | | $("#HUnitIDName").val(checkStatus.data[0].计éåä½åç§°); |
| | | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'èåå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_EmployeeList.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_EmployeeList.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | case 1: |
| | | //è·åæ°æ® |
| | | $("#HWorkerID").val(checkStatus.data[0].HItemID); |
| | | $("#HWorkerIDName").val(checkStatus.data[0].HName); |
| | | $("#HWorkerIDName").val(checkStatus.data[0].èååç§°); |
| | | break; |
| | | case 2: |
| | | //è·åæ°æ® |
| | | $("#HEmpID").val(checkStatus.data[0].HItemID); |
| | | $("#HEmpIDName").val(checkStatus.data[0].HName); |
| | | $("#HEmpIDName").val(checkStatus.data[0].èååç§°); |
| | | break; |
| | | } |
| | | |
| | |
| | | if (table.cache["mainTable"][i] != "") { |
| | | //åå§åå
³éæ¶é´(空å¼ç¶æä¸ èµå¼) |
| | | if (table.cache["mainTable"][i].HEntryCloseDate == "") { |
| | | table.cache["mainTable"][i].HEntryCloseDate ="1900-01-01 00:00:00.000" |
| | | table.cache["mainTable"][i].HEntryCloseDate ="1900-01-01" |
| | | } |
| | | |
| | | table.cache["mainTable"][i].LAY_TABLE_INDEX = i; |
| | |
| | | |
| | | var sMainStr = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(num); |
| | | var hentryid = linteridSub;//å表 æåºid |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + hentryid + ';' + OperationType + ";" + sessionStorage["HUserName"]; |
| | | var sMainSub = sMainStr + ';' + sSubStr + ';' + OperationType + ";" + sessionStorage["HUserName"]; |
| | | |
| | | var index = layer.load(); |
| | | $.ajax({ |
| | |
| | | } |
| | | |
| | | //ç¼è¾ 页é¢èµå¼ |
| | | function RoadBillMain(linterid, linteridSub)//å 载表头 |
| | | function RoadBillMain(linterid)//å 载表头 |
| | | { |
| | | var sWhere = " and hmainid='" + linterid + "' and hsubid='" + linteridSub + "'"; |
| | | var sWhere = " and hmainid='" + linterid + "'"; |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Sc_WorkBillSortBill/Sc_WorkBillSortBillList", |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (d) { |
| | | |
| | | //主表 |
| | | form.val("formData", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HBillNo": d.data[0].åæ®å· |
| | |
| | | , "HPlanBeginDate": Format(new Date(d.data[0].计åå¼å§æ¥æ), "yyyy-MM-dd") |
| | | , "HPlanEndDate":Format(new Date(d.data[0].计åç»ææ¥æ), "yyyy-MM-dd") |
| | | , "HICMOBillNo": d.data[0].ç产订åå· |
| | | , "HMainSourceInterID": d.data[0].æºå主å
ç |
| | | , "HMainSourceEntryID": d.data[0].æºååå
ç |
| | | , "HOwnerID": d.data[0].货主ç¼ç |
| | | , "HBatchNo": d.data[0].æ¹æ¬¡ |
| | | , "HYX": d.data[0].ä¼å
级 |
| | |
| | | , "HSourceBillNo": d.data[0].æºåç¼å· |
| | | , "HICMOEntryID": d.data[0].ç产订åæç»å
ç |
| | | , "HMainInterID": d.data[0].导å
¥æäº§ID |
| | | , "HProdORGID": d.data[0].ç产ç»ç» |
| | | , "HProdORGID": d.data[0].HProdORGID |
| | | , "HLeftPlanQty": d.data[0].æªææ°é |
| | | , "HEmpID": d.data[0].HEmpID |
| | | , "HEmpIDName": d.data[0].èå |
| | |
| | | , "HHangUp": d.data[0].æèµ·æ è®° == "0" ? false : true |
| | | }); |
| | | |
| | | //å表 èµå¼ |
| | | var rowdata = [{ |
| | | "HMasterDate": Format(new Date(d.data[0].æ¥è®¡åçäº§æ¥æ), "yyyy-MM-dd"), "HQty": d.data[0].åæ¥è®¡åæ°é, "HRptFinishQty": d.data[0].æ±æ¥å®ææ°é |
| | | , "HTimes": d.data[0].å©ä½å·¥æ¶, "HUseTimes": d.data[0].å ç¨å·¥æ¶, "HBTimes": Format(new Date(d.data[0].å¼å§æ¶é´), "yyyy-MM-dd"), "HETimes": Format(new Date(d.data[0].ç»ææ¶é´), "yyyy-MM-dd") |
| | | , "HRemark": d.data[0].表ä½å¤æ³¨, "HDateSub": Format(new Date(d.data[0].æäº§æ¥æ), "yyyy-MM-dd"), "HCloseMan": d.data[0].åå
³é人, "HEntryCloseDate":Format(new Date(d.data[0].åå
³éæ¶é´), "yyyy-MM-dd") |
| | | , "HCloseTypeSub": d.data[0].æ¯å¦æå·¥å
³é == 0 ? false : true, "HColumn": d.data[0].Excelå头, "HLockedSub": d.data[0].åé宿 è®° == 0 ? false : true, "HComplete": d.data[0].æ¯å¦é½å¥ |
| | | , "HStatusTag": d.data[0].ç¶ææ è®° == 0 ? false : true, "HIsHandModify": d.data[0].æå·¥ä¿®æ¹æ è®° == 0 ? false : true |
| | | }]; |
| | | |
| | | //å表 èµå¼ |
| | | var rowdata = []; |
| | | for (var i = 0; i < d.data.length; i++) { |
| | | rowdata.push({ |
| | | "HMasterDate": Format(new Date(d.data[i].æ¥è®¡åçäº§æ¥æ), "yyyy-MM-dd"), "HQty": d.data[i].åæ¥è®¡åæ°é, "HRptFinishQty": d.data[i].æ±æ¥å®ææ°é |
| | | , "HTimes": d.data[i].å©ä½å·¥æ¶, "HUseTimes": d.data[i].å ç¨å·¥æ¶, "HBTimes": Format(new Date(d.data[i].å¼å§æ¶é´), "yyyy-MM-dd"), "HETimes": Format(new Date(d.data[i].ç»ææ¶é´), "yyyy-MM-dd") |
| | | , "HRemark": d.data[i].表ä½å¤æ³¨, "HDateSub": Format(new Date(d.data[i].æäº§æ¥æ), "yyyy-MM-dd"), "HCloseMan": d.data[i].åå
³é人, "HEntryCloseDate": Format(new Date(d.data[i].åå
³éæ¶é´), "yyyy-MM-dd") |
| | | , "HCloseTypeSub": d.data[i].æ¯å¦æå·¥å
³é == 0 ? false : true, "HColumn": d.data[i].Excelå头, "HLockedSub": d.data[i].åé宿 è®° == 0 ? false : true, "HComplete": d.data[i].æ¯å¦é½å¥ |
| | | , "HStatusTag": d.data[i].ç¶ææ è®° == 0 ? false : true, "HIsHandModify": d.data[i].æå·¥ä¿®æ¹æ è®° == 0 ? false : true |
| | | }); |
| | | } |
| | | option.data = rowdata; |
| | | table.render(option); |
| | | |
| | | //æ¯å¦æå·¥å
³é |
| | | if (d.data[0].æ¯å¦æå·¥å
³é=="1") { |
| | | $('#HCloseTypeSub1').attr("checked", true); |
| | | //主é宿 è®° |
| | | if (d.data[0].主é宿 è®° == "1") { |
| | | $("#checkboxHLocked").attr("checked", true); |
| | | } |
| | | |
| | | //é宿 è®° |
| | | if (d.data[0].åé宿 è®° == "1") { |
| | | $('#HLockedSub1').attr("checked", true); |
| | | //æèµ·æ è®° |
| | | if (d.data[0].æèµ·æ è®° == "1") { |
| | | $("#checkboxHHangUp").attr("checked", true); |
| | | } |
| | | for (var i = 0; i < d.data.length; i++) { |
| | | |
| | | //ç¶ææ è®° |
| | | if (d.data[0].ç¶ææ è®° == "1") { |
| | | $('#HStatusTag1').attr("checked", true); |
| | | } |
| | | //æ¯å¦æå·¥å
³é |
| | | if (d.data[i].æ¯å¦æå·¥å
³é == "1") { |
| | | $('#HCloseTypeSub' + (i + 1)).attr("checked", true); |
| | | } |
| | | |
| | | //æå·¥ä¿®æ¹æ è®° |
| | | if (d.data[0].æå·¥ä¿®æ¹æ è®° == "1") { |
| | | $('#HIsHandModify1').attr("checked", true); |
| | | //é宿 è®° |
| | | if (d.data[i].åé宿 è®° == "1") { |
| | | $('#HLockedSub' + (i + 1)).attr("checked", true); |
| | | } |
| | | |
| | | //ç¶ææ è®° |
| | | if (d.data[i].ç¶ææ è®° == "1") { |
| | | $('#HStatusTag' + (i + 1)).attr("checked", true); |
| | | } |
| | | |
| | | //æå·¥ä¿®æ¹æ è®° |
| | | if (d.data[i].æå·¥ä¿®æ¹æ è®° == "1") { |
| | | $('#HIsHandModify' + (i + 1)).attr("checked", true); |
| | | } |
| | | } |
| | | form.render('checkbox'); |
| | | } |