修改工单三个主要状态的表格数据展示
This commit is contained in:
parent
784f706932
commit
feb09d681f
@ -59,46 +59,48 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="订单编号" align="center" prop="ticketNo" width="200"/>
|
<el-table-column label="订单编号" align="center" prop="ticketNo" width="200"/>
|
||||||
<el-table-column label="维修类别" align="center" prop="repairType" width="180">
|
<el-table-column label="维修类别" align="center" prop="repairType" width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag :type="DICT_TYPE.REPAIR_TYPE" v-model="scope.row.repairType"/>
|
<dict-tag :type="DICT_TYPE.REPAIR_TYPE" v-model="scope.row.repairType"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="状态" align="center" prop="ticketsWorkStatus" width="180">
|
<el-table-column label="状态" align="center" prop="ticketsWorkStatus" width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<dict-tag :type="DICT_TYPE.REPAIR_TICKETS_WORK_STATUS" v-model="scope.row.ticketsWorkStatus"/>
|
<dict-tag :type="DICT_TYPE.REPAIR_TICKETS_WORK_STATUS" v-model="scope.row.ticketsWorkStatus"/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="客户名称" align="center" prop="userName" width="180"/>
|
<el-table-column label="客户信息" align="center">
|
||||||
<el-table-column label="车牌号" align="center" prop="carNo" width="180"/>
|
<el-table-column label="客户名称" align="center" prop="userName" width="100"/>
|
||||||
<el-table-column label="车系" align="center" prop="carBrandName" width="180"/>
|
<el-table-column label="车牌号" align="center" prop="carNo" width="100"/>
|
||||||
<el-table-column label="手机号" align="center" prop="userMobile" width="180"/>
|
<el-table-column label="车系" align="center" prop="carBrandName" width="100"/>
|
||||||
|
<el-table-column label="手机号" align="center" prop="userMobile" width="110"/>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="创建时间" align="center" prop="createTime" width="180">
|
<el-table-column label="创建时间" align="center" prop="createTime" width="180">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
|
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="预计完工" align="center" prop="outTime" width="180">
|
<!-- <el-table-column label="预计完工" align="center" prop="outTime" width="180">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
{{ parseTime(scope.row.outTime, '{y}-{m}-{d}') }}
|
<!-- {{ parseTime(scope.row.outTime, '{y}-{m}-{d}') }}-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column label="合计金额" align="center" prop="totalPrice" width="180"/>
|
<el-table-column label="合计金额" align="center" prop="totalPrice" width="80"/>
|
||||||
<el-table-column label="参考成本" align="center" prop="cost" width="180"/>
|
<el-table-column label="参考成本" align="center" prop="cost" width="80"/>
|
||||||
<el-table-column label="参考毛利" align="center" prop="profit" width="180"/>
|
<el-table-column label="参考毛利" align="center" prop="profit" width="80"/>
|
||||||
<el-table-column label="领料状态" align="center" prop="partStatus" width="180">
|
<!-- <el-table-column label="领料状态" align="center" prop="partStatus" width="80">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<dict-tag :type="DICT_TYPE.REPAIR_PART_STATUS" v-model="scope.row.partStatus"/>
|
<!-- <dict-tag :type="DICT_TYPE.REPAIR_PART_STATUS" v-model="scope.row.partStatus"/>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column label="服务顾问" align="center" prop="adviserName" width="180"/>
|
<el-table-column label="服务顾问" align="center" prop="adviserName" width="100"/>
|
||||||
<el-table-column label="备注" align="center" prop="remark" width="180"/>
|
<el-table-column label="备注" align="center" prop="remark" width="180"/>
|
||||||
<el-table-column label="所属门店" align="center" prop="corpId" width="180"/>
|
<el-table-column label="所属门店" align="center" prop="corpId" width="180"/>
|
||||||
<el-table-column label="工单状态" align="center" prop="ticketsStatus" width="180">
|
<!-- <el-table-column label="工单状态" align="center" prop="ticketsStatus" width="180">-->
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">-->
|
||||||
<dict-tag :type="DICT_TYPE.REPAIR_TICKETS_STATUS" v-model="scope.row.ticketsStatus"/>
|
<!-- <dict-tag :type="DICT_TYPE.REPAIR_TICKETS_STATUS" v-model="scope.row.ticketsStatus"/>-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
</el-table-column>
|
<!-- </el-table-column>-->
|
||||||
<el-table-column label="操作" fixed="right" align="center" width="230">
|
<el-table-column label="操作" fixed="right" align="center" width="230">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text" icon="el-icon-view" @click="handleShow(scope.row)"
|
<el-button size="mini" type="text" icon="el-icon-view" @click="handleShow(scope.row)"
|
||||||
@ -282,7 +284,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
await this.$refs['formRef'].validate()
|
await this.$refs['formRef'].validate()
|
||||||
await setTicketsPaid(this.formData)
|
await setTicketsPaid(this.formData)
|
||||||
this.$modal.msgSuccess("结算成功")
|
this.$modal.msgSuccess(this.formData.payType === '01' ? "等待客户支付" : "结算成功")
|
||||||
this.dialogVisible = false
|
this.dialogVisible = false
|
||||||
this.$emit("setVoid")
|
this.$emit("setVoid")
|
||||||
}catch{}
|
}catch{}
|
||||||
|
Loading…
Reference in New Issue
Block a user