|
@@ -396,7 +396,7 @@ export default defineComponent({
|
|
|
let res = await detail({ repairId: repairId.value });
|
|
|
detailData.value = res;
|
|
|
let butListjh = [];
|
|
|
- if(stepRes[0] && res.repairerVo.status != undefined){
|
|
|
+ if(stepRes[0] && stepRes[0].haveButton == 1 && res.repairerVo.status != undefined){
|
|
|
butTypeList[res.repairerVo.status] && butTypeList[res.repairerVo.status].map((ele, index) =>{
|
|
|
let butKey = butTypeShow[res.repairerVo.status][index]
|
|
|
if(getCheckPerm(butKey)){
|
|
@@ -426,7 +426,7 @@ export default defineComponent({
|
|
|
});
|
|
|
priceTotal.value = countItem.total?.toFixed(2)
|
|
|
countItem.total = priceTotal.value
|
|
|
- if (countItem.total) {
|
|
|
+ if (countItem.total && res.priceList.length) {
|
|
|
setTableData(cloneDeep([...dataSource, countItem]));
|
|
|
}
|
|
|
}
|