Browse Source

fis页面问题修改

branch_ccpg_220107
yu.wu 3 years ago
parent
commit
28ee38d59c
  1. 7
      vue/src/views/pg-fis/basedate/assemblyCfg/index.vue
  2. 4
      vue/src/views/pg-fis/basedate/customerPartCfg/index.vue
  3. 13
      vue/src/views/pg-fis/basedate/logRemind/index.vue
  4. 15
      vue/src/views/pg-fis/basedate/m100BIll/index.vue
  5. 284
      vue/src/views/pg-fis/basedate/m100Online/index.vue
  6. 6
      vue/src/views/pg-fis/basedate/productLine/index.vue
  7. 18
      vue/src/views/pg-fis/basedate/r100Online/index.vue
  8. 15
      vue/src/views/pg-fis/basedate/repeatR100/index.vue
  9. 67
      vue/src/views/pg-fis/basedate/unknownAssembly/index.vue

7
vue/src/views/pg-fis/basedate/assemblyCfg/index.vue

@ -10,7 +10,7 @@
:inline="true" :inline="true"
> >
<el-form-item label="总成编码" prop="ErpAssemblyCode " class="forimitem"> <el-form-item label="总成编码" prop="ErpAssemblyCode" class="forimitem">
<el-input <el-input
v-model="listQuery.ErpAssemblyCode" v-model="listQuery.ErpAssemblyCode"
placeholder="请输入总成编码" placeholder="请输入总成编码"
@ -21,7 +21,7 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="总成名称" prop="ErpAssemblyName " class="forimitem"> <el-form-item label="总成名称" prop="ErpAssemblyName" class="forimitem">
<el-input <el-input
v-model="listQuery.ErpAssemblyName" v-model="listQuery.ErpAssemblyName"
placeholder="请输入总成名称" placeholder="请输入总成名称"
@ -674,9 +674,6 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery(refName) { resetQuery(refName) {
this.$refs[refName].resetFields(); this.$refs[refName].resetFields();
this.listQuery.ErpAssemblyName = undefined;
this.listQuery.ErpAssemblyCode = undefined;
// this.listQuery.vehicleModelCode = "";
this.getvehicleModel(); this.getvehicleModel();
this.handleQuery(); this.handleQuery();

4
vue/src/views/pg-fis/basedate/customerPartCfg/index.vue

@ -682,10 +682,6 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery(refName) { resetQuery(refName) {
this.listQuery.partCode = undefined;
this.listQuery.partName = undefined;
this.listQuery.partType = undefined;
this.listQuery.partType2 = undefined;
this.$refs[refName].resetFields(); this.$refs[refName].resetFields();
this.getPartType() this.getPartType()
this.handleFilter(); this.handleFilter();

13
vue/src/views/pg-fis/basedate/logRemind/index.vue

@ -26,9 +26,9 @@
placeholder="请选择" placeholder="请选择"
style="width: 200px" style="width: 200px"
> >
<el-option label="报文传输异常" :value="1"></el-option> <el-option label=" " :value="0"></el-option>
<el-option label="报文转换异常" :value="2"></el-option> <el-option label="R100" :value="1"></el-option>
<el-option label="报文解析、校验异常" :value="3"></el-option> <el-option label="M100" :value="2"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
@ -329,9 +329,9 @@ export default {
} }
if (column.property === "logType") { if (column.property === "logType") {
return { return {
1: "报文传输异常", 0: "",
2: "报文转换异常", 1: "R100",
3: "报文解析、校验异常", 2: "M100",
}[row[column.property]]; }[row[column.property]];
} }
if (column.property == "creationTime") { if (column.property == "creationTime") {
@ -349,6 +349,7 @@ export default {
getList() { getList() {
this.listLoading = true; this.listLoading = true;
this.listQuery.SkipCount = (this.page - 1) * 10; this.listQuery.SkipCount = (this.page - 1) * 10;
this.listQuery.LogStatus = 0;//
//this.listQuery.LogType = 1;//1: R100 2: M100 //this.listQuery.LogType = 1;//1: R100 2: M100
this.$axios this.$axios
.gets("/api/newjit/log-remind/list", this.listQuery) .gets("/api/newjit/log-remind/list", this.listQuery)

15
vue/src/views/pg-fis/basedate/m100BIll/index.vue

@ -108,7 +108,7 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="-" prop="VINEnd "> <el-form-item label="-" prop="VINEnd">
<el-input <el-input
v-model="listQuery.VINEnd" v-model="listQuery.VINEnd"
placeholder="" placeholder=""
@ -1106,21 +1106,8 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery(refName) { resetQuery(refName) {
this.$refs[refName].resetFields(); this.$refs[refName].resetFields();
this.listQuery.billType = undefined;
this.listQuery.productLine = undefined;
this.listQuery.version = undefined;
this.listQuery.HostSNBegin = undefined;
this.listQuery.HostSNEnd = undefined;
this.listQuery.KNRBegin = undefined;
this.listQuery.KNREnd = undefined;
this.listQuery.VINBegin = undefined;
this.listQuery.VINEnd = undefined;
this.listQuery.OnlineTimeValue = []; this.listQuery.OnlineTimeValue = [];
this.listQuery.OnlineTimeBegin = undefined;
this.listQuery.OnlineTimeEnd = undefined;
this.listQuery.ReceiveTimeValue = []; this.listQuery.ReceiveTimeValue = [];
this.listQuery.ReceiveTimeBegin = undefined;
this.listQuery.ReceiveTimeEnd = undefined;
this.handleQuery(); this.handleQuery();
this.getProductLine(); this.getProductLine();
}, },

284
vue/src/views/pg-fis/basedate/m100Online/index.vue

@ -128,7 +128,7 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="-" prop="VINEnd "> <el-form-item label="-" prop="VINEnd">
<el-input <el-input
v-model="listQuery.VINEnd" v-model="listQuery.VINEnd"
placeholder="" placeholder=""
@ -694,26 +694,10 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery(refName) { resetQuery(refName) {
//this.$refs[refName].resetFields(); this.$refs[refName].resetFields();
this.listQuery.billType = undefined;
this.listQuery.productLine = undefined;
this.listQuery.Version = undefined;
this.listQuery.serialNumBegin = undefined;
this.listQuery.serialNumEnd = undefined;
this.listQuery.HostSNBegin = undefined;
this.listQuery.HostSNEnd = undefined;
this.listQuery.KNRBegin = undefined;
this.listQuery.KNREnd = undefined;
this.listQuery.VINBegin = undefined;
this.listQuery.VINEnd = undefined;
this.listQuery.OnlineTimeValue = []; this.listQuery.OnlineTimeValue = [];
this.listQuery.OnlineTimeBegin = undefined;
this.listQuery.OnlineTimeEnd = undefined;
this.listQuery.ReceiveTimeValue = []; this.listQuery.ReceiveTimeValue = [];
this.listQuery.ReceiveTimeBegin = undefined;
this.listQuery.ReceiveTimeEnd = undefined;
this.listQuery.state = []; this.listQuery.state = [];
this.listQuery.billStatus = undefined;
this.handleQuery(); this.handleQuery();
this.getProductLine(); this.getProductLine();
}, },
@ -1060,6 +1044,7 @@ export default {
} }
} }
/**打印时传递大众顺序号范围,接口1获取大众顺序号,接口2验证是否断号,接口3获取打印数据,接口4获得grid++模板的base64编码 */
if(this.formTitle === "打印") if(this.formTitle === "打印")
{ {
this.hostPrintQuery.beginHostSN = parseInt(this.form.beginHostSN ); this.hostPrintQuery.beginHostSN = parseInt(this.form.beginHostSN );
@ -1105,105 +1090,6 @@ export default {
//grid++jsonbase64 //grid++jsonbase64
//this.fileQuery.report = "menban"; //this.fileQuery.report = "menban";
this.fileQuery.dataname = JSON.stringify(response.item); this.fileQuery.dataname = JSON.stringify(response.item);
this.fileQuery.dataname = `[{
"masters": [{
"id": "1",
"billNum": " 10000000009",
"billSerialNum": "04",
"billLocation": "左",
"providerCode": "0709FAW-VW7XH",
"partType": "C8 DP",
"capacity": "12",
"printDate": "2021-11-27 10:12:04",
"printType": 0,
"productLine": "01",
"beginVin": "LFV2A24K2M3303677",
"endVin": "LFV2A24K2M3303792"
},
{
"id": "2",
"billNum": " 10000000010",
"billSerialNum": "04",
"billLocation": "右",
"providerCode": "0709FAW-VW7XH",
"partType": "C8 DP",
"capacity": "12",
"printDate": "2021-11-27 10:12:04",
"printType": 0,
"productLine": "01",
"beginVin": "LFV2A24K2M3303677",
"endVin": "LFV2A24K2M3303792"
}
]
"details": [{
"id": "1",
"billNum": " 10000000009",
"knr": " 21321501481001",
"vin": "LFV2A24K2M3303677",
"hostSN": 85,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "01",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
},
{
"id": "1",
"billNum": " 10000000009",
"knr": " 21321501481001",
"vin": "LFV2A24K2M3303680",
"hostSN": 86,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "02",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
},
{
"id": "1",
"billNum": " 10000000009",
"knr": " 21321501481001",
"vin": "LFV2A24K2M3303694",
"hostSN": 87,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "03",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
},
{
"id": "2",
"billNum": " 10000000010",
"knr": " 21321501481001",
"vin": "LFV2A24K2M3303713",
"hostSN": 88,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "04",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
},
{
"id": "2",
"billNum": " 10000000010",
"knr": " 21321502851001",
"vin": "LFV2A24K2M3303727",
"hostSN": 89,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "05",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
}
]
}]`
//this.fileQuery.dataname = ""; //this.fileQuery.dataname = "";
console.log("打印json"); console.log("打印json");
console.log(this.fileQuery.dataname); console.log(this.fileQuery.dataname);
@ -1239,8 +1125,20 @@ export default {
} }
else else
{ {
//grid++jsonpdfstream //grid++jsonbase64
this.printpdf(pdfstream);// //this.fileQuery.report = "menban";
this.fileQuery.dataname = JSON.stringify(response.item);
//this.fileQuery.dataname = "";
console.log("打印json");
console.log(this.fileQuery.dataname);
this.$axios
.posts(
"/Handlers/Handler1.ashx?report=zhuhuban",qs.stringify(this.fileQuery))
.then((response) => {
console.log("获取文件base64编码");
console.log(response);
this.printpdf(response);//
})
} }
}) })
} }
@ -1274,105 +1172,6 @@ export default {
//grid++jsonbase64 //grid++jsonbase64
//this.fileQuery.report = "menban"; //this.fileQuery.report = "menban";
this.fileQuery.dataname = JSON.stringify(response.item); this.fileQuery.dataname = JSON.stringify(response.item);
this.fileQuery.dataname = `[{
"masters": [{
"id": "1",
"billNum": " 10000000009",
"billSerialNum": "04",
"billLocation": "左",
"providerCode": "0709FAW-VW7XH",
"partType": "C8 DP",
"capacity": "12",
"printDate": "2021-11-27 10:12:04",
"printType": 0,
"productLine": "01",
"beginVin": "LFV2A24K2M3303677",
"endVin": "LFV2A24K2M3303792"
},
{
"id": "2",
"billNum": " 10000000010",
"billSerialNum": "04",
"billLocation": "右",
"providerCode": "0709FAW-VW7XH",
"partType": "C8 DP",
"capacity": "12",
"printDate": "2021-11-27 10:12:04",
"printType": 0,
"productLine": "01",
"beginVin": "LFV2A24K2M3303677",
"endVin": "LFV2A24K2M3303792"
}
]
"details": [{
"id": "1",
"billNum": " 10000000009",
"knr": " 21321501481001",
"vin": "LFV2A24K2M3303677",
"hostSN": 85,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "01",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
},
{
"id": "1",
"billNum": " 10000000009",
"knr": " 21321501481001",
"vin": "LFV2A24K2M3303680",
"hostSN": 86,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "02",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
},
{
"id": "1",
"billNum": " 10000000009",
"knr": " 21321501481001",
"vin": "LFV2A24K2M3303694",
"hostSN": 87,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "03",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
},
{
"id": "2",
"billNum": " 10000000010",
"knr": " 21321501481001",
"vin": "LFV2A24K2M3303713",
"hostSN": 88,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "04",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
},
{
"id": "2",
"billNum": " 10000000010",
"knr": " 21321502851001",
"vin": "LFV2A24K2M3303727",
"hostSN": 89,
"vehicleModel_DoorPlankCode": "PHEFZ_N5W_7HB_7Y0_3Y0 9VD GS0 0K3 3L5 QQ2 3FU4V020",
"topBoxPositionNum": "05",
"topSAPMaterialNum": "30052525",
"topMaterialDescription": "C8-PHEV.黑4024-左后 FZ(黑PVC多孔低扬无电镀)",
"belowSAPMaterialNum": "30052524",
"belowMaterialDescription": "C8-PHEV.黑4024-右前 FZ(黑PVC多孔低扬无电镀)"
}
]
}]`
//this.fileQuery.dataname = ""; //this.fileQuery.dataname = "";
console.log("打印json"); console.log("打印json");
console.log(this.fileQuery.dataname); console.log(this.fileQuery.dataname);
@ -1410,8 +1209,20 @@ export default {
} }
else else
{ {
//grid++jsonpdfstream //grid++jsonbase64
this.printpdf(pdfstream);// //this.fileQuery.report = "menban";
this.fileQuery.dataname = JSON.stringify(response.item);
//this.fileQuery.dataname = "";
console.log("打印json");
console.log(this.fileQuery.dataname);
this.$axios
.posts(
"/Handlers/Handler1.ashx?report=zhuhuban",qs.stringify(this.fileQuery))
.then((response) => {
console.log("获取文件base64编码");
console.log(response);
this.printpdf(response);//
})
} }
}) })
.catch(() => { .catch(() => {
@ -1422,6 +1233,7 @@ export default {
}) })
} }
/**接口1获取打印数据,接口2获得grid++模板的base64编码 */
else else
{ {
this.hostPrintQuery.beginVin = this.form.beginVin; this.hostPrintQuery.beginVin = this.form.beginVin;
@ -1447,8 +1259,20 @@ export default {
} }
else else
{ {
//grid++jsonpdfstream //grid++jsonbase64
this.printpdf(pdfstream);// //this.fileQuery.report = "menban";
this.fileQuery.dataname = JSON.stringify(response.item);
//this.fileQuery.dataname = "";
console.log("打印json");
console.log(this.fileQuery.dataname);
this.$axios
.posts(
"/Handlers/Handler1.ashx?report=menban",qs.stringify(this.fileQuery))
.then((response) => {
console.log("获取文件base64编码");
console.log(response);
this.printpdf(response);//
})
} }
}) })
@ -1475,8 +1299,20 @@ export default {
} }
else else
{ {
//grid++jsonpdfstream //grid++jsonbase64
this.printpdf(pdfstream);// //this.fileQuery.report = "menban";
this.fileQuery.dataname = JSON.stringify(response.item);
//this.fileQuery.dataname = "";
console.log("打印json");
console.log(this.fileQuery.dataname);
this.$axios
.posts(
"/Handlers/Handler1.ashx?report=zhuhuban",qs.stringify(this.fileQuery))
.then((response) => {
console.log("获取文件base64编码");
console.log(response);
this.printpdf(response);//
})
} }
}) })
.catch(() => { .catch(() => {

6
vue/src/views/pg-fis/basedate/productLine/index.vue

@ -788,11 +788,7 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery(refName) { resetQuery(refName) {
this.listQuery.userName = ""; this.$refs[refName].resetFields();
this.listQuery.name = "";
this.listQuery.dep = "";
this.listQuery.productLineCode = "";
//this.$refs[refName].resetFields();
this.handleFilter(); this.handleFilter();
this.getProductLine(); this.getProductLine();
}, },

18
vue/src/views/pg-fis/basedate/r100Online/index.vue

@ -108,7 +108,7 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="-" prop="VINEnd "> <el-form-item label="-" prop="VINEnd">
<el-input <el-input
v-model="listQuery.VINEnd" v-model="listQuery.VINEnd"
placeholder="" placeholder=""
@ -536,24 +536,10 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery(refName) { resetQuery(refName) {
//this.$refs[refName].resetFields(); this.$refs[refName].resetFields();
this.listQuery.billType = undefined;
this.listQuery.productLine = undefined;
this.listQuery.Version = undefined;
this.listQuery.HostSNBegin = undefined;
this.listQuery.HostSNEnd = undefined;
this.listQuery.KNRBegin = undefined;
this.listQuery.KNREnd = undefined;
this.listQuery.VINBegin = undefined;
this.listQuery.VINEnd = undefined;
this.listQuery.OnlineTimeValue = []; this.listQuery.OnlineTimeValue = [];
this.listQuery.OnlineTimeBegin = undefined;
this.listQuery.OnlineTimeEnd = undefined;
this.listQuery.ReceiveTimeValue = []; this.listQuery.ReceiveTimeValue = [];
this.listQuery.ReceiveTimeBegin = undefined;
this.listQuery.ReceiveTimeEnd = undefined;
this.listQuery.state = []; this.listQuery.state = [];
this.listQuery.billStatus = undefined;
this.handleQuery(); this.handleQuery();
this.getProductLine(); this.getProductLine();
}, },

15
vue/src/views/pg-fis/basedate/repeatR100/index.vue

@ -465,21 +465,6 @@ export default {
resetQuery(refName) { resetQuery(refName) {
this.OnlineTimeValue = []; this.OnlineTimeValue = [];
this.ReceiveTimeValue = []; this.ReceiveTimeValue = [];
//this.listQuery.billType = "";
this.listQuery.productLine = undefined;
this.listQuery.Version = undefined;
this.listQuery.HostSNBegin = undefined;
this.listQuery.HostSNEnd = undefined;
this.listQuery.KNRBegin = undefined;
this.listQuery.KNREnd = undefined;
this.listQuery.VINBegin = undefined;
this.listQuery.VINEnd = undefined;
this.listQuery.OnlineTimeBegin = undefined;
this.listQuery.OnlineTimeEnd = undefined;
this.listQuery.ReceiveTimeBegin = undefined;
this.listQuery.ReceiveTimeEnd = undefined;
//this.listQuery.billStatus = "";
this.listQuery.VehicleModelCode = undefined;
this.$refs[refName].resetFields(); this.$refs[refName].resetFields();
this.handleQuery(); this.handleQuery();
}, },

67
vue/src/views/pg-fis/basedate/unknownAssembly/index.vue

@ -8,20 +8,20 @@
v-show="showSearch" v-show="showSearch"
:inline="true" :inline="true"
> >
<el-form-item label="KNR" prop="KNR"> <el-form-item label="KNR:" prop="KNRBegin">
<el-input <el-input
v-model="listQuery.KNR" v-model="listQuery.KNRBegin"
placeholder="请输入KNR号" placeholder=""
clearable clearable
size="small" size="small"
style="width: 240px" style="width: 240px"
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="底盘号" prop="VIN"> <el-form-item label="-" prop="KNREnd">
<el-input <el-input
v-model="listQuery.VIN" v-model="listQuery.KNREnd"
placeholder="请输入底盘号" placeholder=""
clearable clearable
size="small" size="small"
style="width: 240px" style="width: 240px"
@ -29,6 +29,28 @@
/> />
</el-form-item> </el-form-item>
<el-form-item label="底盘号:" prop="VINBegin">
<el-input
v-model="listQuery.VINBegin"
placeholder=""
clearable
size="small"
style="width: 240px"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="-" prop="VINEnd">
<el-input
v-model="listQuery.VINEnd"
placeholder=""
clearable
size="small"
style="width: 240px"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="车型代码" prop="VehicleModelCode"> <el-form-item label="车型代码" prop="VehicleModelCode">
<el-select <el-select
v-model="listQuery.vehicleModelCode" v-model="listQuery.vehicleModelCode"
@ -59,7 +81,7 @@
<el-form-item label="上线日期"> <el-form-item label="上线日期">
<el-date-picker <el-date-picker
v-model="OnlineTimeVale" v-model="OnlineTimeValue"
size="small" size="small"
style="width: 380px" style="width: 380px"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"
@ -93,14 +115,18 @@
</el-form-item> </el-form-item>
<el-form-item label="扫描点" prop="ScanPoint"> <el-form-item label="扫描点" prop="ScanPoint">
<el-input <el-select
v-model="listQuery.ScanPoint" v-model="listQuery.ScanPoint"
placeholder="请输入扫描点" placeholder="请选择"
style="width: 200px"
clearable clearable
size="small" >
style="width: 240px" <el-option
@keyup.enter.native="handleQuery" v-for="item in ScanPointList"
/> :key="item.id"
:label="item.label"
:value="item.id"/>
</el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
@ -421,7 +447,7 @@ export default {
], ],
}, },
valueSelect: "", valueSelect: "",
OnlineTimeVale: [],//线 OnlineTimeValue: [],//线
customerInfos: [], customerInfos: [],
dialogOptions: [], dialogOptions: [],
versionValue: "", versionValue: "",
@ -528,6 +554,7 @@ export default {
dicTypeName:"派格车型", dicTypeName:"派格车型",
}, },
vehicleModelList:[],//list vehicleModelList:[],//list
ScanPointList:[{id:"0",label:" "},{id:"R100",label:"R100"},{id:"M100",label:"M100"}]
}; };
}, },
mounted() { mounted() {
@ -723,7 +750,7 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery(refName) { resetQuery(refName) {
this.OnlineTimeVale = []; this.OnlineTimeValue = [];
this.$refs[refName].resetFields(); this.$refs[refName].resetFields();
this.handleQuery(); this.handleQuery();
}, },
@ -794,12 +821,12 @@ export default {
getList() { getList() {
this.listLoading = true; this.listLoading = true;
this.listQuery.SkipCount = (this.page - 1) * 10; this.listQuery.SkipCount = (this.page - 1) * 10;
if (this.OnlineTimeVale != []) { if (this.OnlineTimeValue != []) {
this.listQuery.OnlineTimeBegin = this.OnlineTimeVale[0]//this.OnlineTimeVale this.listQuery.OnlineTimeBegin = this.OnlineTimeValue[0]//this.OnlineTimeValue
// ? this.OnlineTimeVale[0] || "" // ? this.OnlineTimeValue[0] || ""
// : ""; // : "";
this.listQuery.OnlineTimeEnd = this.OnlineTimeVale[1]//this.OnlineTimeVale this.listQuery.OnlineTimeEnd = this.OnlineTimeValue[1]//this.OnlineTimeValue
// ? this.OnlineTimeVale[1] || "" // ? this.OnlineTimeValue[1] || ""
// : ""; // : "";
} }
this.$axios this.$axios

Loading…
Cancel
Save