Commit acce09b7 by yancanhua

fix: 车辆检测自测问题修改

1 parent 438c26d2
......@@ -163,7 +163,7 @@ export default class DetectionOrderPage extends PaginationComponent<Vehicle> {
},
{ title: '工单单号', dataIndex: 'woId', key: 'woId', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '车源号', dataIndex: ['vehicle', 'baseInfo', "sourceNo"], key: 'sourceNo', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '车型名称', dataIndex: ['vehicle', 'baseInfo', "carTypeName"], key: 'carTypeName', align: 'center', width: 286, resizable: true, ellipsis: true },
{ title: '车型名称', dataIndex: ['vehicle', 'baseInfo', "carTypeName"], key: 'carTypeName', align: 'left', width: 286, resizable: true, ellipsis: true },
{ title: '车牌号', dataIndex: ['vehicle', 'baseInfo', "licensePlate"], key: 'licensePlate', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '所属门店', dataIndex: ['vehicle', 'venue', 'venueName'], key: 'venueName', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '车辆所在地址', dataIndex: ['vehicle', 'custodianInfo', "handoverAddress"], key: 'handoverAddress', width: 240, resizable: true, ellipsis: true },
......
......@@ -195,7 +195,7 @@ export default class OrderAddForm extends EnhanceFormComponent<User> {
DetectionController.inspectOrderUpdate(this.axios, formData).then(response => {
if (response?.data?.code === '1001006') {
this.$refs.promptDialogRef.showVisible();
} else if (response?.data?.code === '000000') {
} else if (response?.data?.code === '200') {
message.success("更新成功");
this.$emit("emitOk");
this.dialogVisible = false;
......@@ -207,7 +207,7 @@ export default class OrderAddForm extends EnhanceFormComponent<User> {
DetectionController.inspectOrderAdd(this.axios, formData).then(response => {
if (response?.data?.code === '1001006') {
this.$refs.promptDialogRef.showVisible();
} else if (response?.data?.code === '000000') {
} else if (response?.data?.code === '200') {
message.success("创建成功");
this.$emit("emitOk");
this.dialogVisible = false;
......
......@@ -142,7 +142,7 @@ export default class DetectionReportPage extends PaginationComponent<Vehicle> {
{ title: '生成时间', dataIndex: 'createTime', key: 'createTime', align: 'center', width: 170, resizable: true, ellipsis: true, sorter: true },
{ title: '工单单号', dataIndex: "woId", key: 'woId', align: 'center', width: 150, resizable: true, ellipsis: true },
{ title: '车源号', dataIndex: ['vehicle', 'baseInfo', "sourceNo"], key: 'sourceNo', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '车型名称', dataIndex: ['vehicle', 'baseInfo', "carTypeName"], key: 'carTypeName', align: 'center', width: 240, resizable: true, ellipsis: true },
{ title: '车型名称', dataIndex: ['vehicle', 'baseInfo', "carTypeName"], key: 'carTypeName', align: 'left', width: 240, resizable: true, ellipsis: true },
{ title: '车牌号', dataIndex: ['vehicle', 'baseInfo', "licensePlate"], key: 'licensePlate', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '车辆状态', dataIndex: ['vehicle', "vehicleState"], key: 'vehicleState', align: 'center', width: 170, resizable: true, ellipsis: true },
{ title: '评分', dataIndex: 'scoreLevel', key: 'scoreLevel', align: 'center', width: 170, resizable: true, ellipsis: true, sorter: true },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!