- {return []},
required: false
- }
+ },
},
data() {
return {
@@ -397,6 +397,12 @@ export default {
},
getRepairName(data) {
return data.map(item => item.userName).join(',')
+ },
+ getClass(row){
+ if (row.repairIds && row.saleId){
+ return 'error'
+ }
+ return ''
}
}
}
@@ -439,4 +445,8 @@ export default {
::v-deep .noPadding {
padding: 0;
}
+
+::v-deep .el-table .error td{
+ color: #ff0000 !important; /* 红色背景 */
+}
diff --git a/src/views/repair/tickets/Components/TicketItemShow.vue b/src/views/repair/tickets/Components/TicketItemShow.vue
index feac4e0..b0238d9 100644
--- a/src/views/repair/tickets/Components/TicketItemShow.vue
+++ b/src/views/repair/tickets/Components/TicketItemShow.vue
@@ -38,13 +38,74 @@
+
+
+
+ 删除
+
+
+ 修改
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/repair/tickets/form/EditTickets.vue b/src/views/repair/tickets/form/EditTickets.vue
index 32fd63b..1e5dab2 100644
--- a/src/views/repair/tickets/form/EditTickets.vue
+++ b/src/views/repair/tickets/form/EditTickets.vue
@@ -1,28 +1,350 @@