|
@@ -158,7 +158,7 @@
|
|
|
<el-button size="mini" type="text" v-if="(item.orderstatus == '1' ||
|
|
<el-button size="mini" type="text" v-if="(item.orderstatus == '1' ||
|
|
|
item.orderstatus == '2' ||
|
|
item.orderstatus == '2' ||
|
|
|
item.orderstatus == '4') &&
|
|
item.orderstatus == '4') &&
|
|
|
- ['紫金财险', '诚泰财险'].includes(item.inscompany)
|
|
|
|
|
|
|
+ ['紫金财险', '诚泰财险','阳光财险'].includes(item.inscompany)
|
|
|
" @click="cancelorder(item)" class="red_color">撤单</el-button>
|
|
" @click="cancelorder(item)" class="red_color">撤单</el-button>
|
|
|
<el-button size="mini" type="text" v-if="item.orderstatus == '2'" @click="carcode(item)"
|
|
<el-button size="mini" type="text" v-if="item.orderstatus == '2'" @click="carcode(item)"
|
|
|
class="red_color">二维码</el-button>
|
|
class="red_color">二维码</el-button>
|
|
@@ -469,7 +469,7 @@
|
|
|
<el-button size="mini" type="text" v-if="(scope.row.orderstatus == '1' ||
|
|
<el-button size="mini" type="text" v-if="(scope.row.orderstatus == '1' ||
|
|
|
scope.row.orderstatus == '2' ||
|
|
scope.row.orderstatus == '2' ||
|
|
|
scope.row.orderstatus == '4') &&
|
|
scope.row.orderstatus == '4') &&
|
|
|
- ['紫金财险', '诚泰财险'].includes(scope.row.inscompany)
|
|
|
|
|
|
|
+ ['紫金财险', '诚泰财险','阳光财险'].includes(scope.row.inscompany)
|
|
|
" @click="cancelorder(scope.row)">撤单</el-button>
|
|
" @click="cancelorder(scope.row)">撤单</el-button>
|
|
|
<el-button type="text" size="mini" style="color: #2d4d89"
|
|
<el-button type="text" size="mini" style="color: #2d4d89"
|
|
|
v-if="scope.row.orderstatus == '2' && scope.row.inscompany !== '平安财险'"
|
|
v-if="scope.row.orderstatus == '2' && scope.row.inscompany !== '平安财险'"
|
|
@@ -1814,6 +1814,16 @@ export default {
|
|
|
this.findPage();
|
|
this.findPage();
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
+ }else if (item.inscompany == '阳光财险') {
|
|
|
|
|
+ this.$api.letter.yangGuangautoWriteOff({ companyId: item.id }).then((res) => {
|
|
|
|
|
+ if (res.code == 200) {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ message: res.msg,
|
|
|
|
|
+ type: "success",
|
|
|
|
|
+ });
|
|
|
|
|
+ this.findPage();
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
},
|
|
},
|