|
@@ -514,7 +514,11 @@
|
|
|
}
|
|
|
const viewContract = (row) =>{
|
|
|
const id = row.contractId || ids.value;
|
|
|
- proxy.$refs.contractRef.open(id);
|
|
|
+ if(id === "0"){
|
|
|
+ proxy.$modal.msgError("此工单为非合同工单");
|
|
|
+ }else{
|
|
|
+ proxy.$refs.contractRef.open(id);
|
|
|
+ }
|
|
|
}
|
|
|
const textFormat = (text)=>{
|
|
|
if(text){
|