|
@@ -44,7 +44,7 @@
|
|
|
prop="fee"
|
|
|
label="etc卡月费"
|
|
|
show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
prop="bussinessType"
|
|
|
label="业务类型"
|
|
@@ -87,7 +87,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- </template>
|
|
|
+ </template>
|
|
|
<!-- 分页 -->
|
|
|
<div class="block">
|
|
|
<el-pagination
|
|
@@ -115,7 +115,7 @@
|
|
|
<el-form-item label="客戶名称" prop="customerName">
|
|
|
<el-input v-model="customer.customerName" auto-complete="off" placeholder="请输入用户名"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="客户主体" prop="customerCompany">
|
|
|
+ <el-form-item label="客户主体" prop="customerCompany">
|
|
|
<el-input v-model="customer.company" auto-complete="off" placeholder="请输入主体名称"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="业务类型" prop="bussinessType">
|
|
@@ -173,7 +173,7 @@
|
|
|
style="font-size: 0px;">
|
|
|
<div class="tou">客户--备案列表 <el-button type="success" size="small" style="margin-left: 1%;" @click="showAddCustomerRec">添加</el-button></div>
|
|
|
<div class="line"></div>
|
|
|
-
|
|
|
+
|
|
|
<!-- 表格部分 -->
|
|
|
<template>
|
|
|
<el-table
|
|
@@ -270,7 +270,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- </template>
|
|
|
+ </template>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
|
@close="custRecClose"
|
|
@@ -282,7 +282,7 @@
|
|
|
label-position="right"
|
|
|
label-width="80px"
|
|
|
:model="formUserList">
|
|
|
-
|
|
|
+
|
|
|
<el-row :span="24">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label-width=120px label="协议类型" prop="serviceType">
|
|
@@ -329,7 +329,7 @@
|
|
|
<el-date-picker v-model="customerRec.serviceEndTime" type="date" value-format="yyyy-MM-dd HH:mm:SS" placeholder="服务结束时间"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
+ </el-row>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="contractDownload" v-show="customerRec.lowerFileName" type="primary">下游文件下载</el-button>
|
|
@@ -603,12 +603,12 @@
|
|
|
<el-date-picker v-model="customerRec.serviceEndTime" type="date" value-format="yyyy-MM-dd HH:mm:SS" placeholder="服务结束时间"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
+ </el-row>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button @click="customerRecquerry" type="primary">查询</el-button>
|
|
|
<el-button @click="customerRecAdd" type="primary">保存</el-button>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
@@ -661,8 +661,8 @@ import XLSX from "xlsx";
|
|
|
{id:4,name:"普通货运"},
|
|
|
{id:5,name:"专线运输"},
|
|
|
{id:6,name:"其他"}],
|
|
|
- serviceTypeList:[{id:1,name:"一级产品"},{id:2,name:"二级产品"},{id:3,name:"三级产品"}],
|
|
|
- custAddrules: {
|
|
|
+ serviceTypeList:[{id:1,name:"一级产品"},{id:2,name:"二级产品"},{id:3,name:"三级产品"}],
|
|
|
+ custAddrules: {
|
|
|
customerName: [
|
|
|
{ required: true, message: '请输入', trigger: 'blur' },
|
|
|
{ min: 3, max: 100, message: '长度在 3 到 100个字符', trigger: 'blur' }
|
|
@@ -674,8 +674,8 @@ import XLSX from "xlsx";
|
|
|
bussinessType: [
|
|
|
{ required: true, message: '请输入', trigger: 'blur' },
|
|
|
]
|
|
|
- },
|
|
|
- custRecAddrules: {
|
|
|
+ },
|
|
|
+ custRecAddrules: {
|
|
|
customerName: [
|
|
|
{ required: true, message: '请输入', trigger: 'blur' },
|
|
|
],
|
|
@@ -903,12 +903,12 @@ import XLSX from "xlsx";
|
|
|
const response = await this.$http.post(`lowerService/customeRecQuery`, {"customerName":recoder.customerName,"companyName":recoder.companyName});
|
|
|
if (response.data.code === 0) {
|
|
|
this.customerRec = response.data.data;
|
|
|
-
|
|
|
+
|
|
|
this.disable = !((this.customerRec.interType ==1) && (this.customerRec.recStatus ==2 || this.customerRec.recStatus ==0));
|
|
|
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
async concatInfo(recoder){
|
|
|
//this.recVis = true;
|
|
|
this.concatVis = true;
|
|
@@ -939,8 +939,8 @@ import XLSX from "xlsx";
|
|
|
}
|
|
|
}).catch(() => {
|
|
|
//几点取消的提示
|
|
|
- });
|
|
|
-
|
|
|
+ });
|
|
|
+
|
|
|
},
|
|
|
async recInfoList(recoder){
|
|
|
this.customer.customerName =recoder.customerName;
|
|
@@ -948,7 +948,7 @@ import XLSX from "xlsx";
|
|
|
if (response.data.code === 0) {
|
|
|
this.customeRecQueryListTable = response.data.data;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.recVisList = true;
|
|
|
},
|
|
|
async carInfo(recoder){
|
|
@@ -956,7 +956,7 @@ import XLSX from "xlsx";
|
|
|
if (response.data.code === 0) {
|
|
|
this.coustomerCarTable = response.data.data;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this.carRecclose = true;
|
|
|
},
|
|
|
// 清空表单数据
|
|
@@ -1000,7 +1000,7 @@ import XLSX from "xlsx";
|
|
|
if(valid){
|
|
|
const response = await this.$http.post(`customer/customerRecAdd`, this.customerRec);
|
|
|
if(response.data.code === 0) {
|
|
|
-
|
|
|
+
|
|
|
const response = await this.$http.post(`lowerService/customeRecQueryList`, {"customerName":this.customer.customerName});
|
|
|
if (response.data.code === 0) {
|
|
|
this.customeRecQueryListTable = response.data.data;
|
|
@@ -1018,7 +1018,7 @@ import XLSX from "xlsx";
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
generateWord(){
|
|
|
const token = sessionStorage.getItem('token');
|
|
@@ -1100,11 +1100,18 @@ import XLSX from "xlsx";
|
|
|
// console.log(`当前页: ${val}`);
|
|
|
},
|
|
|
async exportExcel() {
|
|
|
+ const loading = this.$loading({
|
|
|
+ lock: true,
|
|
|
+ text: '系统正在努力接收中,过程大概需要几分钟的时间,请您耐心等待...',
|
|
|
+ spinner: 'el-icon-loading',
|
|
|
+ background: 'rgba(0, 0, 0, 0.7)'
|
|
|
+ });
|
|
|
let customer = this.formCondition.customerName;
|
|
|
window.location.href = hostUrl+"customer/findCustomerRecListExport?customerName="+customer+"&&companyName="+this.formCondition.subCompany+"&&companyBelongName="+this.formCondition.company;
|
|
|
+ loading.close();
|
|
|
// let curr = this.current;
|
|
|
// let pagesize1 = this.pagesize;
|
|
|
- // this.current = 1;
|
|
|
+ // this.current = 1;
|
|
|
// this.pagesize = this.total;
|
|
|
// await this.loadData();
|
|
|
// // 设置当前日期
|
|
@@ -1133,7 +1140,7 @@ import XLSX from "xlsx";
|
|
|
// } catch (e) {
|
|
|
// if (typeof console !== "undefined") console.log(e, wbout);
|
|
|
// }
|
|
|
- // this.current = curr;
|
|
|
+ // this.current = curr;
|
|
|
// this.pagesize = pagesize1;
|
|
|
// this.loadData();
|
|
|
// return wbout;
|
|
@@ -1195,4 +1202,4 @@ import XLSX from "xlsx";
|
|
|
margin: 15px auto;
|
|
|
font-size: 18px;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|