|
|
@@ -1344,7 +1344,7 @@
|
|
|
v-show="reslistitem.quoteCode == '200' && !('editStatus' in reslistitem.result) "
|
|
|
type="text"
|
|
|
size="small"
|
|
|
- style="color:#2D4D89; "
|
|
|
+ style="color:#2D4D89;font-size:14px"
|
|
|
@click="hbsubmitdialog(reslistitem)"
|
|
|
>下单</el-button>
|
|
|
<el-button
|
|
|
@@ -2110,7 +2110,7 @@
|
|
|
<el-table-column prop="remark" label="配置" align="center"></el-table-column>
|
|
|
</el-table>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
+ <!--第一种 二维码 -->
|
|
|
<el-dialog
|
|
|
:visible.sync="codedialogVisible"
|
|
|
width="430px"
|
|
|
@@ -2181,6 +2181,38 @@
|
|
|
<el-button size="small" style="width:100px;border-color:#D42426;color:#D42426 " @click="codedialogVisible = false">关闭</el-button>
|
|
|
|
|
|
</span>
|
|
|
+ </el-dialog>
|
|
|
+ <!--第二种 二维码 -->
|
|
|
+ <el-dialog
|
|
|
+ :visible.sync="codedialogVisiblePro"
|
|
|
+ width="660px"
|
|
|
+ class="proSaomazhifucodeClass"
|
|
|
+ top="10vh"
|
|
|
+ title="扫码付款"
|
|
|
+ >
|
|
|
+ <div class="flex j-s" >
|
|
|
+ <div class="scan-code">
|
|
|
+ <div style="font-weight: bold;">总金额:<span style="color:#2D4D89 ">{{ sumpremium }}</span></div>
|
|
|
+ <div>交强险:{{ jqpremium }}</div>
|
|
|
+ <div>车船税:{{ taxamount }}</div>
|
|
|
+ <div>商业险:{{ sypremium }}</div>
|
|
|
+ <div>非车险:{{ jypremium }}</div>
|
|
|
+ </div>
|
|
|
+ <div >
|
|
|
+ <img v-if="['太平财险'].includes(inscompany)" :src="paycodeimg" alt="" style="width:100%">
|
|
|
+ <div v-else id="qrcode" ref="qrcode"></div>
|
|
|
+ </div>
|
|
|
+ <div class="scan-code">
|
|
|
+ <div>保险公司:{{ inscompany }}</div>
|
|
|
+ <div>车牌号:{{ licenseNo }}</div>
|
|
|
+ <div>投保人:{{ applyName }}</div>
|
|
|
+ <div>交强险起保日期:{{ jqstartdate }}</div>
|
|
|
+ <div>商业险起保日期:{{ systartdate }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button size="small" style="width:100px;background: #EAEDF1;border-color:#EAEDF1;color:#2D4D89 " @click="codedialogVisiblePro = false">关闭</el-button>
|
|
|
+ </span>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
|
:visible.sync="uploadcardialogVisible"
|
|
|
@@ -3049,6 +3081,7 @@
|
|
|
</el-dialog>
|
|
|
<!-- 报价单 -->
|
|
|
<quotationDialog ref="quotationDialog" :queryOrders="queryOrders"></quotationDialog>
|
|
|
+ <quotationDialogPro ref="quotationDialogPro" :queryOrders="queryOrders"></quotationDialogPro>
|
|
|
<el-image-viewer
|
|
|
v-if="showViewer"
|
|
|
:on-close="closeViewer"
|
|
|
@@ -3070,6 +3103,7 @@ import {
|
|
|
base64ToPath
|
|
|
} from '@/common/image-tools-base64.js';
|
|
|
import quotationDialog from './components/quotationDialog.vue'
|
|
|
+import quotationDialogPro from './components/quotationDialogPro.vue'
|
|
|
import detailsDialog from './components/detailsDialog.vue'
|
|
|
|
|
|
export default {
|
|
|
@@ -3111,6 +3145,8 @@ export default {
|
|
|
|
|
|
}
|
|
|
return {
|
|
|
+ qrcodeWidth:'180',
|
|
|
+ qrcodeHeight:'180',
|
|
|
activeName:'1',
|
|
|
isTaxSourceModel:'',
|
|
|
tabLiIndex:0,
|
|
|
@@ -3279,6 +3315,7 @@ export default {
|
|
|
chexingdialogVisible: false, //车型选择 显示/隐藏
|
|
|
sbdmdialogVisible: false, //车型车辆识别代码选择 显示/隐藏
|
|
|
codedialogVisible: false, //二维码 显示/隐藏
|
|
|
+ codedialogVisiblePro: false,
|
|
|
uploadcardialogVisible: false, //行驶证识别 显示/隐藏
|
|
|
uploaduserdialogVisible: false, //身份证识别 显示/隐藏
|
|
|
imageUploaddialogVisible: false, //影像上传 显示/隐藏
|
|
|
@@ -4467,6 +4504,7 @@ export default {
|
|
|
components: {
|
|
|
detailsDialog,
|
|
|
quotationDialog,
|
|
|
+ quotationDialogPro,
|
|
|
"el-image-viewer": () =>
|
|
|
import("element-ui/packages/image/src/image-viewer")
|
|
|
},
|
|
|
@@ -5637,8 +5675,8 @@ else{
|
|
|
} else {
|
|
|
this.qrcode = new QRCode("qrcode", {
|
|
|
text: text,
|
|
|
- width: 180,
|
|
|
- height: 180,
|
|
|
+ width: this.qrcodeWidth,
|
|
|
+ height: this.qrcodeHeight ,
|
|
|
colorDark: "#000000",
|
|
|
colorLight: "#ffffff",
|
|
|
correctLevel: QRCode.CorrectLevel.H
|
|
|
@@ -8197,7 +8235,12 @@ else{
|
|
|
}
|
|
|
data.logoImg = this.iconfftter(res.data.inscompany);
|
|
|
this.queryOrders = data;
|
|
|
- this.$refs.quotationDialog.setBackupVisible(true)
|
|
|
+ if(this.$store.state.user.roles.managementSource&&this.$store.state.user.roles.managementSource=='3'){
|
|
|
+ this.$refs.quotationDialogPro.setBackupVisible(true)
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.$refs.quotationDialog.setBackupVisible(true)
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
@@ -8230,7 +8273,14 @@ else{
|
|
|
this.creatQrCode(res.data.qrCodeUrl);
|
|
|
}
|
|
|
});
|
|
|
- this.codedialogVisible = true;
|
|
|
+ if(this.$store.state.user.roles.managementSource&&this.$store.state.user.roles.managementSource=='3'){
|
|
|
+ this.codedialogVisiblePro = true;
|
|
|
+ this.qrcodeWidth='154'
|
|
|
+ this.qrcodeHeight='154'
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ this.codedialogVisible = true;
|
|
|
+ }
|
|
|
} else {
|
|
|
this.$message({ message: res.msg, type: "warning" })
|
|
|
}
|
|
|
@@ -8856,8 +8906,20 @@ else{
|
|
|
border-right: 2px solid var(--themeColor);
|
|
|
color: var(--themeColor);
|
|
|
}
|
|
|
+.scan-code{
|
|
|
+ div{
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+}
|
|
|
/* 清除图片上传动画bug */
|
|
|
/deep/ {
|
|
|
+ .proSaomazhifucodeClass .el-dialog__header{
|
|
|
+ background: rgba(45,77,137,0.1);
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ .proSaomazhifucodeClass .el-dialog__footer{
|
|
|
+ border-top:1px solid #EEF1F6 ;
|
|
|
+ }
|
|
|
.el-upload-list__item {
|
|
|
transition: none !important;
|
|
|
}
|