(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"26c0":function(e,t,i){"use strict";var a=i("83e4"),n=i.n(a);n.a},"4be0":function(e,t,i){"use strict";i("4160"),i("c975"),i("ac1f"),i("1276"),i("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={data:function(){return{title:"Hello",forwardArray:[],receiveArray:[],nameArray:[],typeArray:[],forwardIndex:0,receiveIndex:0,nameIndex:0,typeIndex:0,addForm:{licensePlate:"",specifications:"",reserve:"",forwardingUnit:"",receivingUnit:"",goodsName:"",weighingType:""},projectSn:"",baseUrl:"",typeList:{"采购过磅":1,"销售过磅":2,"内部过磅":3,"其他过磅":4}}},onLoad:function(){},onShow:function(){var e=this.getRequestParams(),t=e["projectSn"];this.projectSn=t;var i=e["baseUrl"],a=i.substring(0,i.length-1),n=a.substring(0,a.length-1);this.baseUrl=n,this.getSelectItem()},methods:{getSelectItem:function(){var e=this;uni.request({url:"".concat(e.baseUrl,"/xmgl/weight/receivingForwardingUnit/list"),data:{type:1,projectSn:e.projectSn},header:{"Content-Type":"application/json;charset=UTF-8"},method:"GET",success:function(t){var i=t.data.result.records,a=[];i.forEach((function(e,t,i){a.push(e.unitName)})),e.forwardArray=a}}),uni.request({url:"".concat(e.baseUrl,"/xmgl/weight/receivingForwardingUnit/list"),data:{type:2,projectSn:e.projectSn},header:{"Content-Type":"application/json;charset=UTF-8"},method:"GET",success:function(t){var i=t.data.result.records,a=[];i.forEach((function(e,t,i){a.push(e.unitName)})),e.receiveArray=a}}),uni.request({url:"".concat(e.baseUrl,"/xmgl/weight/goodsName/list"),data:{projectSn:e.projectSn},header:{"Content-Type":"application/json;charset=UTF-8"},method:"GET",success:function(t){var i=t.data.result.records,a=[];i.forEach((function(e,t,i){a.push(e.goodsName)})),e.nameArray=a}}),uni.request({url:"".concat(e.baseUrl,"/xmgl/weight/weighBookVehicleInfo/weighingType"),data:{projectSn:e.projectSn},header:{"Content-Type":"application/json;charset=UTF-8"},method:"GET",success:function(t){var i=t.data.result,a=[];i.forEach((function(e,t,i){a.push(e.name)})),e.typeArray=a}})},getRequestParams:function(){var e=location.href,t={};if(-1!==e.indexOf("?"))for(var i=e.substr(e.indexOf("?")+1),a=i.split("&"),n=0;n