| | |
| | | <option value="æ´ææ«ç ">æ´ææ«ç </option> |
| | | <option value="å个æç ">å个æç </option> |
| | | <option value="ååæç ">ååæç </option> |
| | | <option value="æ´æå é¤">æ´æå é¤</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">æäº¤</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">ç¼è¾</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">å é¤</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdSDelete">æ´æå é¤</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">éåº</button> |
| | | </div> |
| | | <div id="" style="display:none;"> |
| | |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe", width: 100 } |
| | | , { field: 'HQty', title: 'æ°é', width: 150 } |
| | | , { field: 'HQtyMust', title: 'åºæ¶æ°é', width: 150 } |
| | | , { field: 'HAuxQty', title: 'è¾
婿°é', width: 150 } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 150 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 150 } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·', width: 150 } |
| | |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'HQty', title: 'æ°é', width: 150 } |
| | | , { field: 'HAuxQty', title: 'è¾
婿°é', width: 150 } |
| | | , { field: 'HQtyMust', title: 'åºæ¶æ°é', width: 150 } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 150 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 150 } |
| | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | //sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | //parent.location.href = "../../../views/index.html" |
| | | //window.close();//å
³éå½å页 |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | |
| | | //ç¼è¾ |
| | |
| | | // type: 2 |
| | | // , area: ['100%', '100%'] |
| | | // , title: 'æç»å表' |
| | | // , shade: 0.6 //é®ç½©éæåº¦ |
| | | // , shade: 0.6 //é®ç½©éæåº¦wl-table |
| | | // , maxmin: true //å
许å
¨å±æå°å |
| | | // , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | // , content: ['../../../views/å
Œ
±é¡µé¢/Kf_BarCodeEditDlg.html?HInterID=' + HInterID + '&HMaterID = ' + HMaterID + '&HAuxPropID = ' + HAuxPropID + '& HMTONo = ' + HMTONo + '&HWhID = ' + HWhID + '&HSPID = ' + HSPID + '&HSCWHID = ' + HSCWHID + '&HSCSPID= ' + HSCSPID + '&HBatchNo= ' + HBatchNo + '&HSourceInterID= ' + HSourceInterID + '&HSourceEntryID= ' + HSourceEntryID + '&HBillType= ' + HBillType + '&HBarCode= ' + HBarCode + '' |
| | |
| | | { type: 'radio' } |
| | | , { field: 'HSNO', title: 'åºå·', width: 60 } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HAuxQty', title: 'è¾
婿°é', width: 80 } |
| | | , { field: 'HQtyMust', title: 'åºåæ°é', width: 80 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 90 } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 90 } |
| | |
| | | , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' } |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HAuxQty', title: 'è¾
婿°é', width: 80 } |
| | | , { field: 'HQtyMust', title: 'åºæ¶æ°é', width: 80 } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 100 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 150 } |
| | |
| | | }); |
| | | }); |
| | | |
| | | //æ´æå é¤ cmdSDelete |
| | | form.on('submit(cmdSDelete)', function () {//å é¤ |
| | | var HBarCode = $('#HBarCode').val(); |
| | | var HInterID = $('#HInterID').val(); |
| | | if (HBarCode) { |
| | | layer.msg("æ¡ç ä¸è½ä¸ºç©º", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | $.ajax( |
| | | { |
| | | type: "Get", |
| | | url: GetWEBURL() + "/POStockInBillList/SellOutBillSDeleCode", |
| | | async: true, |
| | | data: { "HBarCode": HBarCode, "HInterID": HInterID }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäº |
| | | layer.msg(data.Message, { icon: 1, btn: ['确认'], time: 100000, title: "温馨æç¤º" }); |
| | | } |
| | | else { |
| | | layer.msg(data.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.msg("é误" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //æäº¤ |
| | | form.on('submit(Saver)', function (data) {//æäº¤ |
| | |
| | | } |
| | | }); |
| | | } |
| | | else if (HScanStyle =="æ´æå é¤") { |
| | | var HBarCode = $('#HBarCode').val(); |
| | | var HInterID = $('#HInterID').val(); |
| | | if (HBarCode=="") { |
| | | layer.msg("æ´æå 餿¡ç ä¸è½ä¸ºç©º", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | $.ajax( |
| | | { |
| | | type: "Get", |
| | | url: GetWEBURL() + "/POStockInBillList/SellOutBillSDeleCode", |
| | | async: true, |
| | | data: { "HBarCode": HBarCode, "HInterID": HInterID }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäº |
| | | layer.msg(data.Message, { icon: 1, btn: ['确认'], time: 100000, title: "温馨æç¤º" }); |
| | | table.render({ |
| | | elem: '#wl-table' |
| | | , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json' |
| | | , cellMinWidth: 80 |
| | | , toolbar: '#toolbarDemo' |
| | | , defaultToolbar: [] |
| | | , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' } |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HAuxQty', title: 'è¾
婿°é', width: 80 } |
| | | , { field: 'HQtyMust', title: 'åºæ¶æ°é', width: 80 } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 100 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 150 } |
| | | , { field: 'HMaterModel', title: 'è§æ ¼åå·', width: 100 } |
| | | , { field: 'HSourceInterID', title: 'æºå主å
ç ', width: 100 } |
| | | , { field: 'HSourceEntryID', title: 'æºååå
ç ', width: 100 } |
| | | , { field: 'HSourceBillNo', title: 'æºååå·', width: 100 } |
| | | , { field: 'HBatchNo', title: 'æ¹æ¬¡', width: 100 } |
| | | , { field: 'HAuxPropID', title: 'è¾
å©å±æ§', width: 100 } |
| | | , { field: 'HMTONo', title: '计åè·è¸ªå·', width: 100 } |
| | | , { field: 'HWHID', title: 'ck', width: 100 } |
| | | ]] |
| | | //, height: 500 |
| | | }) |
| | | } |
| | | else { |
| | | layer.msg(data.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.msg("é误" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | var sBarCode = $('#HBarCode').val() |
| | | if (sBarCode == '') { |
| | |
| | | { type: 'radio' } |
| | | , { field: 'HSNO', title: 'åºå·', width: 60 } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HAuxQty', title: 'è¾
婿°é', width: 80 } |
| | | , { field: 'HQtyMust', title: 'åºåæ°é', width: 80 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 90 } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 90 } |
| | |
| | | { type: 'radio' } |
| | | , { field: 'HSNO', title: 'åºå·', width: 60 } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HAuxQty', title: 'è¾
婿°é', width: 80 } |
| | | , { field: 'HQtyMust', title: 'åºåæ°é', width: 80 } |
| | | , { field: 'HMaterName', title: 'ç©æåç§°', width: 90 } |
| | | , { field: 'HMaterNumber', title: 'ç©æä»£ç ', width: 90 } |