Browse Source

新增初始化查询

master
qb 10 months ago
parent
commit
f82627b16e
  1. 6
      src/views/distribution/artery/AddVehicleStowage.vue

6
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) => {

Loading…
Cancel
Save