diff --git a/src/views/distribution/artery/AddVehicleStowage.vue b/src/views/distribution/artery/AddVehicleStowage.vue index 9eb6aa70..620308b9 100644 --- a/src/views/distribution/artery/AddVehicleStowage.vue +++ b/src/views/distribution/artery/AddVehicleStowage.vue @@ -947,7 +947,7 @@ onLoad(); /** 查询仓库 */ const remoteMethod = async val => { - if (!val) return; + // if (!val) return; const res = await postFindWarehouseListByName({ warehouseName: val }); const { code, data } = res.data; if (code !== 200) return; @@ -955,6 +955,8 @@ const remoteMethod = async val => { console.log('res :>> ', res); }; +remoteMethod(''); + /** 目的仓选择时给目的仓名称赋值 */ const destinationWarehouseNameChange = (val, index) => { const _value = details.options.find(value => value.warehouseId === val); @@ -1287,7 +1289,7 @@ const remoteMethodCar = async val => { if (code !== 200) return; details.carListByName = data; }; -remoteMethodCar('') +remoteMethodCar(''); /** 修改计划数 */ const handleEditplanNum = ({ row }, item) => {