| | |
| | | //var WEBURL = "http://10.0.2.11:8083/WEB-API/"; |
| | | //var WEBURL = "http://192.168.31.47:8083/WEB-API/"; |
| | | //var WEBURL = "http://localhost:8082/srmAPI/"; //章紫柔本地配置 |
| | | var WEBURL = "http://localhost:8082/SRMAPI/"; //杨露本地配置 |
| | | var WEBURL = "http://localhost:8082/srmAPI/"; //杨露本地配置 |
| | | |
| | | return WEBURL |
| | | } |
| | |
| | | <label class="layui-form-label">采购组织</label>
|
| | | <div class="layui-input-block">
|
| | | <select id="HPURCHASEORGID" name="HPURCHASEORGID" lay-filter="">
|
| | | |
| | | </select>
|
| | | </div>
|
| | | </div>
|
| | |
| | | , { field: 'HSupID', title: 'HSupID', width: 180, hide: true }
|
| | | , { field: '供应商', title: '供应商', width: 180, sort: true/*, fixed: 'left' */}
|
| | | , { field: '计划跟踪单号', title: '计划跟踪单号', sort: true, hide: true }
|
| | | , { field: 'F_xbkf_Combo', title: '自定义标识', width: 120 }
, { field: 'FSHDD', title: '送货地点', width: 120 }
|
| | | , { field: 'F_xbkf_Combo', title: '自定义标识', width: 120 } |
| | | , { field: 'FSHDD', title: '送货地点', width: 120 } |
| | | //, { field: '物料编码', title: '物料编码', width: 120, sort: true }
|
| | | , { field: '物料代码', title: '物料代码', width: 120, sort: true }
|
| | | , { field: '物料名称', title: '物料名称', width: 120, sort: true }
|
| | |
| | | if (result.count == 1) { // 说明验证成功了, |
| | | var data = result.data; |
| | | for (var i = 0; i < data.length; i++) { |
| | | if (data[i].Name == "浙江夏宝电器有限公司") |
| | | Organization += '<option style="color:blue;" selected value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | else |
| | | Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; |
| | | |
| | | } |
| | | $("#edu").append(Organization); |
| | | form.render('select'); |