Browse Source

修复开单录单bug

dev
qb 2 weeks ago
parent
commit
cd93ea7fc9
  1. 6
      src/views/distribution/inventory/CreateOrder.vue
  2. 7
      src/views/waybill/CreateZeroOrder.vue

6
src/views/distribution/inventory/CreateOrder.vue

@ -2185,8 +2185,10 @@ const onLoad = async (idsArr = []) => {
details.query.shipperId = data.shipperClientId || '';
details.query.consigneeId = data.consigneeClientId || '';
details.query.destination = data.destinationArray || [];
details.query.departure = data.departureArray || [];
details.query.destination =
getObjType(data.destinationArray) === 'array' ? data.destinationArray : [];
details.query.departure =
getObjType(data.departureArray) === 'array' ? data.departureArray : [];
details.query.queryDestinationWarehouseName = data.destinationWarehouseName || '';
//
details.query.isPickUp = details.query.isPickUp ? details.query.isPickUp : 0;

7
src/views/waybill/CreateZeroOrder.vue

@ -1981,8 +1981,11 @@ const onLoad = async () => {
details.query.shipperId = data.shipperClientId || '';
details.query.consigneeId = data.consigneeClientId || '';
details.query.destination = data.destinationArray || [];
details.query.departure = data.departureArray || [];
details.query.destination =
getObjType(data.destinationArray) === 'array' ? data.destinationArray : [];
details.query.departure =
getObjType(data.departureArray) === 'array' ? data.departureArray : [];
details.query.queryDestinationWarehouseName = data.destinationWarehouseName || '';
//
details.query.isPickUp = details.query.isPickUp ? details.query.isPickUp : 0;

Loading…
Cancel
Save