|
@@ -175,17 +175,17 @@
|
|
|
<div class="link" @click="dowmFile(1)"> {{repairId}}维修工单.xlsx</div>
|
|
|
</DescriptionsItem>
|
|
|
</Descriptions>
|
|
|
- <Descriptions title="客户评价" :column="3" v-if="detailData.RepairComment">
|
|
|
+ <Descriptions title="客户评价" :column="3" v-if="detailData.repairComment">
|
|
|
<DescriptionsItem label="评价内容">
|
|
|
- {{ detailData.RepairComment.comment }}
|
|
|
+ <div class="htmlText" :title="detailData.repairComment.comment">{{ detailData.repairComment.comment }}</div>
|
|
|
</DescriptionsItem>
|
|
|
<DescriptionsItem label="评分">
|
|
|
- {{ detailData.RepairComment.starRank }}
|
|
|
+ {{ detailData.repairComment.starRank }}
|
|
|
</DescriptionsItem>
|
|
|
</Descriptions>
|
|
|
<Descriptions title="备注" :column="3">
|
|
|
<DescriptionsItem label="备注内容">
|
|
|
- {{ detailData.repairerVo?.remark }}
|
|
|
+ <div class="htmlText" :title="detailData.repairerVo?.remark">{{ detailData.repairerVo?.remark }}</div>
|
|
|
</DescriptionsItem>
|
|
|
</Descriptions>
|
|
|
</div>
|
|
@@ -332,7 +332,7 @@ export default defineComponent({
|
|
|
repairRegisterVo: {},
|
|
|
orderReceivingVo: {},
|
|
|
repairPay: {},
|
|
|
- RepairComment: {},
|
|
|
+ repairComment: {},
|
|
|
priceList: [],
|
|
|
lastRepairId: '',
|
|
|
});
|
|
@@ -369,29 +369,33 @@ export default defineComponent({
|
|
|
const stepRes = await process({ repairId: repairId.value });
|
|
|
let butTypeList = {
|
|
|
0: ['接单'],
|
|
|
- 1: ['检测登记'],
|
|
|
- 2: ['报价'],
|
|
|
- 3: ['修改报价'],
|
|
|
- 4: ['付款登记'],
|
|
|
- 5: ['备件出库'],
|
|
|
- 6: ['添加备件', '完成维修'],
|
|
|
- 7: ['备件回收'],
|
|
|
- 8: ['测试登记'],
|
|
|
- 9: ['付款登记'],
|
|
|
- 10: ['发货登记'],
|
|
|
+ 10: ['检测登记'],
|
|
|
+ 20: ['报价'],
|
|
|
+ 30: ['修改报价'],
|
|
|
+ 40: ['付款登记'],
|
|
|
+ 50: ['备件出库'],
|
|
|
+ 60: ['添加备件', '完成维修'],
|
|
|
+
|
|
|
+ 70: ['测试登记'],
|
|
|
+ 80: ['付款登记'],
|
|
|
+ 90: ['备件回收'],
|
|
|
+ // 70: ['备件回收'],
|
|
|
+ // 80: ['测试登记'],
|
|
|
+ // 90: ['付款登记'],
|
|
|
+ 100: ['发货登记'],
|
|
|
};
|
|
|
let butTypeShow = {
|
|
|
0: ['work_orderTakers'],
|
|
|
- 1: ['maintenance_testing'],
|
|
|
- 2: ['work_quotedPrice'],
|
|
|
- 3: ['work_setPrice'],
|
|
|
- 4: ['work_payments'],
|
|
|
- 5: ['repairspares_out'],
|
|
|
- 6: ['maintenance_add', 'maintenance_finish'],
|
|
|
- 7: ['repairspares_in'],
|
|
|
- 8: ['repair_test'],
|
|
|
- 9: ['work_payments'],
|
|
|
- 10: ['work_dispatched'],
|
|
|
+ 10: ['maintenance_testing'],
|
|
|
+ 20: ['work_quotedPrice'],
|
|
|
+ 30: ['work_setPrice'],
|
|
|
+ 40: ['work_payments'],
|
|
|
+ 50: ['repairspares_out'],
|
|
|
+ 60: ['maintenance_add', 'maintenance_finish'],
|
|
|
+ 90: ['repairspares_in'],
|
|
|
+ 70: ['repair_test'],
|
|
|
+ 80: ['work_payments'],
|
|
|
+ 100: ['work_dispatched'],
|
|
|
}
|
|
|
stepList.value = stepRes;
|
|
|
let res = await detail({ repairId: repairId.value });
|