Browse Source

修复车辆配载查询

dev-xx
qb 4 months ago
parent
commit
c6ba357964
  1. 6
      src/views/distribution/artery/AddVehicleStowage.vue

6
src/views/distribution/artery/AddVehicleStowage.vue

@ -1332,9 +1332,11 @@ const onLoad = async () => {
const _item = this.selectQuery[key];
//
if (getObjType(_item) === 'string') {
if (getObjType(_item) === 'string' && _item) {
console.log('222 :>> ', 222);
if (_item !== value[key]) _flag = false;
} else if (getObjType(_item) === 'array') {
} else if (getObjType(_item) === 'array' && _item.length > 0) {
console.log('123 :>> ', 123);
if (!_item.includes(value[key])) _flag = false;
}

Loading…
Cancel
Save