|  |  | 
 |  |  |     }) : "object" == typeof module && module.exports ? module.exports = http : n.http = http | 
 |  |  | }(this); | 
 |  |  |  | 
 |  |  | function requireTip(el) { | 
 |  |  |     let oldBorderByCss = el.css("border"); | 
 |  |  |     el.css("border", "1px solid #FF5722"); | 
 |  |  |     setTimeout(function () { | 
 |  |  |         el.css("border", oldBorderByCss); | 
 |  |  |     }, 2000) | 
 |  |  | } | 
 |  |  |  | 
 |  |  | function arrRemove(arr, key, val) { | 
 |  |  |     for(var i=arr.length-1; i>=0; i--){ | 
 |  |  | 
 |  |  |     } | 
 |  |  | } | 
 |  |  |  | 
 |  |  | var matCols = [ | 
 |  |  |     {field: 'matnr', align: 'center',title: '商品编号', width: 180} | 
 |  |  |     ,{field: 'maktx', align: 'center',title: '商品名称', width: 200} | 
 |  |  |     ,{field: 'name', align: 'center',title: '名称', hide: true} | 
 |  |  |     ,{field: 'specs', align: 'center',title: '规格'} | 
 |  |  |     ,{field: 'model', align: 'center',title: '型号', hide: true} | 
 |  |  |     ,{field: 'unit', align: 'center',title: '单位', hide: true} | 
 |  |  |     ,{field: 'barcode', align: 'center',title: 'SKC',hide: true} | 
 |  |  |     // ,{field: 'docId', align: 'center',title: '单据类型', hide: true} | 
 |  |  |     // ,{field: 'docNum', align: 'center',title: '单据编号', hide: true} | 
 |  |  |     ,{field: 'custName', align: 'center',title: '客户名称', hide: true} | 
 |  |  |     ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} | 
 |  |  |     ,{field: 'count', align: 'center',title: '数量', hide: true} | 
 |  |  |     ,{field: 'price', align: 'center',title: '单价'} | 
 |  |  |     ,{field: 'weight', align: 'center',title: '重量', hide: true} | 
 |  |  |     // ,{field: 'status', align: 'center',title: '状态'} | 
 |  |  |     // ,{field: 'createBy$', align: 'center',title: '添加人员'} | 
 |  |  |     // ,{field: 'createTime$', align: 'center',title: '添加时间'} | 
 |  |  |     // ,{field: 'updateBy$', align: 'center',title: '修改人员'} | 
 |  |  |     // ,{field: 'updateTime$', align: 'center',title: '修改时间'} | 
 |  |  |     ,{field: 'memo', align: 'center',title: '备注', hide: true} | 
 |  |  | ] | 
 |  |  |  | 
 |  |  | var detlCols = [ | 
 |  |  |     {field: 'matnr', align: 'center',title: '商品编号', width: 180} | 
 |  |  |     ,{field: 'maktx', align: 'center',title: '商品名称', width: 200} | 
 |  |  |     ,{field: 'anfme', align: 'center',title: '库存数量', style: 'font-weight: bold'} | 
 |  |  |     ,{field: 'name', align: 'center',title: '名称', hide: true} | 
 |  |  |     ,{field: 'specs', align: 'center',title: '规格'} | 
 |  |  |     ,{field: 'model', align: 'center',title: '型号', hide: true} | 
 |  |  |     ,{field: 'batch', align: 'center',title: '批号'} | 
 |  |  |     ,{field: 'unit', align: 'center',title: '单位', hide: true} | 
 |  |  |     ,{field: 'barcode', align: 'center',title: 'SKC',hide: true} | 
 |  |  |     ,{field: 'docId', align: 'center',title: '单据类型', hide: true} | 
 |  |  |     ,{field: 'docNum', align: 'center',title: '单据编号', hide: true} | 
 |  |  |     ,{field: 'custName', align: 'center',title: '客户名称', hide: true} | 
 |  |  |     ,{field: 'itemNum', align: 'center',title: '品项数', hide: true} | 
 |  |  |     ,{field: 'count', align: 'center',title: '数量', hide: true} | 
 |  |  |     ,{field: 'price', align: 'center',title: '单价', hide: true} | 
 |  |  |     ,{field: 'weight', align: 'center',title: '重量', hide: true} | 
 |  |  |     ,{field: 'zpallet', align: 'center',title: '托盘码'} | 
 |  |  |     // ,{field: 'createBy$', align: 'center',title: '添加人员'} | 
 |  |  |     // ,{field: 'createTime$', align: 'center',title: '添加时间'} | 
 |  |  |     // ,{field: 'updateBy$', align: 'center',title: '修改人员'} | 
 |  |  |     // ,{field: 'updateTime$', align: 'center',title: '修改时间'} | 
 |  |  |     ,{field: 'memo', align: 'center',title: '备注', hide: true} | 
 |  |  | ] | 
 |  |  |  | 
 |  |  |  | 
 |  |  | var popupRight; | 
 |  |  | var cstmrByMore; | 
 |  |  | var orderByMore; | 
 |  |  | var planByMore; | 
 |  |  | var priQuoteByMore; | 
 |  |  | var reimburseOnlineByMore; | 
 |  |  |  | 
 |  |  | function getQueryVariable(variable) | 
 |  |  | { | 
 |  |  |     var query = window.location.search.substring(1); | 
 |  |  |     var vars = query.split("&"); | 
 |  |  |     for (var i=0;i<vars.length;i++) { | 
 |  |  |         var pair = vars[i].split("="); | 
 |  |  |         if(pair[0] == variable){return pair[1];} | 
 |  |  |     } | 
 |  |  |     return(false); | 
 |  |  | } | 
 |  |  | var businessTripByMore; | 
 |  |  | var priOnlineByMore; | 
 |  |  | var priSalesByMore; | 
 |  |  | var priQuoteBudgetByMore; | 
 |  |  | var contractByMore; |