|
|
|
|
@ -404,7 +404,7 @@ function getTableDatas(){
|
|
|
|
|
let _subComNo=_this.$props.subComNo;
|
|
|
|
|
let _roadId=_this.$props.roadId;
|
|
|
|
|
let _vehcleType=_this.$props.vehcleType;
|
|
|
|
|
if(_this.SVEHICLEID.length>0 || _this.SPlateColor.toString().length > 0){
|
|
|
|
|
if(_this.SVEHICLEID.length>0 || (_this.SPlateColor !==undefined && _this.SPlateColor.toString().length > 0)){
|
|
|
|
|
if(_this.SVEHICLEID.length <1){
|
|
|
|
|
ElMessage({
|
|
|
|
|
type:"warning",
|
|
|
|
|
@ -412,7 +412,7 @@ function getTableDatas(){
|
|
|
|
|
duration:2000
|
|
|
|
|
})
|
|
|
|
|
return false;
|
|
|
|
|
}else if(_this.SPlateColor.toString() ==""){
|
|
|
|
|
}else if((_this.SPlateColor ===undefined || _this.SPlateColor.toString().length <= 0)){
|
|
|
|
|
ElMessage({
|
|
|
|
|
type:"warning",
|
|
|
|
|
message:"请选择车牌颜色",
|
|
|
|
|
@ -539,7 +539,7 @@ function searchTableDatas(){
|
|
|
|
|
|
|
|
|
|
console.log("明细数据的类型===="+_detailType);
|
|
|
|
|
//需要校验车牌和车牌颜色,二者必须同时存在才可以查询
|
|
|
|
|
if(_this.SVEHICLEID.length>0 || _this.SPlateColor.toString().length > 0){
|
|
|
|
|
if(_this.SVEHICLEID.length>0 || (_this.SPlateColor !==undefined && _this.SPlateColor.toString().length > 0)){
|
|
|
|
|
if(_this.SVEHICLEID.length <1){
|
|
|
|
|
ElMessage({
|
|
|
|
|
type:"warning",
|
|
|
|
|
@ -547,7 +547,7 @@ function searchTableDatas(){
|
|
|
|
|
duration:2000
|
|
|
|
|
})
|
|
|
|
|
return false;
|
|
|
|
|
}else if(_this.SPlateColor.toString() ==""){
|
|
|
|
|
}else if((_this.SPlateColor ===undefined || _this.SPlateColor.toString().length <= 0)){
|
|
|
|
|
ElMessage({
|
|
|
|
|
type:"warning",
|
|
|
|
|
message:"请选择车牌颜色",
|
|
|
|
|
@ -638,7 +638,7 @@ function searchTableDatas(){
|
|
|
|
|
|
|
|
|
|
function exportData(){
|
|
|
|
|
let paramDatas=_this.$props.params;
|
|
|
|
|
if(_this.SVEHICLEID.length>0 || _this.SPlateColor.toString().length > 0){
|
|
|
|
|
if(_this.SVEHICLEID.length>0 || (_this.SPlateColor !==undefined && _this.SPlateColor.toString().length > 0)){
|
|
|
|
|
console.log(_this.SVEHICLEID +"=======>"+ _this.SPlateColor )
|
|
|
|
|
if(_this.SVEHICLEID.length <1){
|
|
|
|
|
console.log("11111");
|
|
|
|
|
@ -648,7 +648,7 @@ function exportData(){
|
|
|
|
|
duration:2000
|
|
|
|
|
})
|
|
|
|
|
return false;
|
|
|
|
|
}else if(_this.SPlateColor.toString() ==""){
|
|
|
|
|
}else if((_this.SPlateColor ===undefined || _this.SPlateColor.toString().length <= 0)){
|
|
|
|
|
ElMessage({
|
|
|
|
|
type:"warning",
|
|
|
|
|
message:"请选择车牌颜色",
|
|
|
|
|
|