|
|
@@ -240,12 +240,12 @@
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">使用性质</span>
|
|
|
<span class="value">{{ dictChange(optionObj['car_nature_code'], detailData?.carInfoVo?.carNatureCode)
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">车辆用途</span>
|
|
|
<span class="value">{{ dictChange(optionObj['vehicle_use_code'], detailData?.carInfoVo?.vehicleUseCode)
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">车辆种类</span>
|
|
|
@@ -255,12 +255,12 @@
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">车辆类型</span>
|
|
|
<span class="value">{{ dictChange(optionObj['car_type_code'], detailData?.carInfoVo?.carTypeCode)
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">能源种类</span>
|
|
|
<span class="value">{{ dictChange(optionObj['energy_type_code'], detailData?.carInfoVo?.energyTypeCode)
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">注册日期</span>
|
|
|
@@ -443,7 +443,7 @@
|
|
|
<div class="taxList">
|
|
|
<span class="taxItem" :class="{ 'active': item.bool }" v-for="(item, index) in tbList" :key="index">{{
|
|
|
item.name
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-row :gutter="20" v-if="!tbList[0].bool">
|
|
|
@@ -507,7 +507,7 @@
|
|
|
<div class="taxList">
|
|
|
<span class="taxItem" :class="{ 'active': item.bool }" v-for="(item, index) in bbList" :key="index">{{
|
|
|
item.name
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-row :gutter="20" v-if="!bbList[0].bool && !bbList[1].bool">
|
|
|
@@ -1036,7 +1036,7 @@ import image from "@/assets/images/image.png";
|
|
|
import pdf from "@/assets/images/pdf.png";
|
|
|
import word from "@/assets/images/word.png";
|
|
|
import VueOfficeDocx from "@vue-office/docx";
|
|
|
-import { ElMessage, ElLoading, valueEquals } from "element-plus";
|
|
|
+import { ElMessage, ElLoading, valueEquals, ElMessageBox } from "element-plus";
|
|
|
const myRoute = useRoute()
|
|
|
const myRouter = useRouter()
|
|
|
const activeindex = ref(myRoute.query.activeindex)
|
|
|
@@ -1420,24 +1420,63 @@ const handleUpdateToQuestionOrder = () => {
|
|
|
// 不通过理由
|
|
|
let refuse = ref('')
|
|
|
const handleAudit = (type) => {
|
|
|
- api.financeApi.verifyOrder({
|
|
|
- orderNo: myRoute.query.id,
|
|
|
- auditStatus: type == 1 ? 1 : type == 2 ? 2 : null,
|
|
|
- refuse: type == 2 ? refuse.value : ''
|
|
|
- }).then((res: any) => {
|
|
|
- if (res.code == 200) {
|
|
|
- ElMessage({
|
|
|
- message: res.msg,
|
|
|
- type: 'success'
|
|
|
+ if (type == 1) {
|
|
|
+ ElMessageBox.confirm(
|
|
|
+ '确定审核通过吗?',
|
|
|
+ '审核通过',
|
|
|
+ {
|
|
|
+ confirmButtonText: '确定通过',
|
|
|
+ type: 'warning',
|
|
|
+ center: true,
|
|
|
+ confirmButtonClass: 'el-button--primary',
|
|
|
+ }
|
|
|
+ )
|
|
|
+ .then(() => {
|
|
|
+ api.financeApi.verifyOrder({
|
|
|
+ orderNo: myRoute.query.id,
|
|
|
+ auditStatus: type,
|
|
|
+ }).then((res: any) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ ElMessage({
|
|
|
+ message: res.msg,
|
|
|
+ type: 'success'
|
|
|
+ })
|
|
|
+ setTimeout(() => {
|
|
|
+ myRouter.push({
|
|
|
+ path: previousRoute.value,
|
|
|
+ query: {
|
|
|
+ activeindex: activeindex.value
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }, 1000)
|
|
|
+ }
|
|
|
+ })
|
|
|
})
|
|
|
- myRouter.push({
|
|
|
- path: previousRoute.value,
|
|
|
- query: {
|
|
|
- activeindex: activeindex.value
|
|
|
- }
|
|
|
+ .catch(() => {
|
|
|
})
|
|
|
- }
|
|
|
- })
|
|
|
+ } else {
|
|
|
+ api.financeApi.verifyOrder({
|
|
|
+ orderNo: myRoute.query.id,
|
|
|
+ auditStatus: type,
|
|
|
+ refuse:refuse.value
|
|
|
+ }).then((res: any) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ ElMessage({
|
|
|
+ message: res.msg,
|
|
|
+ type: 'success'
|
|
|
+ })
|
|
|
+ setTimeout(() => {
|
|
|
+ myRouter.push({
|
|
|
+ path: previousRoute.value,
|
|
|
+ query: {
|
|
|
+ activeindex: activeindex.value
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }, 1000)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|