Browse Source

虚拟订单 车辆台账、车型管理、车型配置管理这三个列表的每页几条改为默认为5条/页

master
Zhao Qiqi 3 years ago
parent
commit
50f61bd626
  1. 4
      anrui-buscenter/anrui-buscenter-ui/src/router/index.js
  2. 12
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/dingdanguanli/dingdanxinxi/dingdanxinxiAdd.vue
  3. 46
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/kehudengjidan/kehudengjidanAdd.vue
  4. 12
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/com/xuanzecheliang.vue
  5. 23
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/com/xuanzekehuAdd.vue
  6. 12
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/com/yudingcheliang.vue
  7. 67
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/xunidingdanAdd.vue
  8. 93
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/xunidingdanguanli.vue
  9. 9
      anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/xunidingjinAdd.vue
  10. 4
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue
  11. 4
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue
  12. 2
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhi.vue

4
anrui-buscenter/anrui-buscenter-ui/src/router/index.js

@ -238,14 +238,14 @@ export const constantRoutes = [
title: '销售管理'
},
children: [
// 虚拟订车单
// 简易订单(原虚拟订车单)
{
path: '/xiaoshouguanli/xunidingdanguanli',
component: () =>
import('@/views/xiaoshouguanli/xunidingdan/xunidingdanguanli.vue'),
name: 'xunidingdanguanli',
meta: {
title: '虚拟订车单'
title: '简易订单'
}
},
{

12
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/dingdanguanli/dingdanxinxi/dingdanxinxiAdd.vue

@ -1098,12 +1098,12 @@
},
//
getZhongJieCompany() {
getZhongJieCompanyType().then((response) => {
if (response.code === '200') {
this.getZhongJieCompanyList = response.data
this.getManufacturerList()
}
})
// getZhongJieCompanyType().then((response) => {
// if (response.code === '200') {
// this.getZhongJieCompanyList = response.data
// this.getManufacturerList()
// }
// })
},
//
zhongJieCompanyChange(value) {

46
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/kehudengjidan/kehudengjidanAdd.vue

@ -565,11 +565,7 @@ export default {
},
methods: {
init() {
this.getShuJUZiDian()
this.getZhongJie()
this.getGuaKao()
this.getChangShang()
this.postHuoquyonghu()
},
// ------------------
handleReturn(isreload) {
@ -588,6 +584,11 @@ export default {
})
this.dialogStatus = 'add'
this.viewTitle = '【新增】客户登记单'
this.getShuJUZiDian()
this.getZhongJie()
this.getGuaKao()
this.getChangShang()
this.postHuoquyonghu()
},
showEdit(consid) {
this.stateId = consid
@ -610,6 +611,11 @@ export default {
this.Financial = response.data.data.crmVehicleFinanceVo
this.loan_principal = response.data.data.crmVehicleFinanceVo.loan_principal_type_key.split(',')
this.typeOptionBox = response.data.data.crmVehicleFinanceVo.packaging_project_key.split(',')
this.getShuJUZiDian()
this.getZhongJie()
this.getGuaKao()
this.getChangShang()
this.postHuoquyonghu()
}
})
},
@ -737,11 +743,11 @@ export default {
},
//
getGuaKao() {
namesDown({name: this.temp.affiliatedOrgSid}).then((response) => {
if (response.code === '200') {
this.edOrgSid = response.data
}
})
// namesDown({name: this.temp.affiliatedOrgSid}).then((response) => {
// if (response.code === '200') {
// this.edOrgSid = response.data
// }
// })
},
//
getZhengJian(value) {
@ -922,11 +928,11 @@ export default {
},
//
getZhongJie() {
getPcDistributorList().then((response) => {
if (response.code === '200') {
this.ncySid = response.data
}
})
// getPcDistributorList().then((response) => {
// if (response.code === '200') {
// this.ncySid = response.data
// }
// })
},
//
getZongjieDanwei(value) {
@ -957,11 +963,11 @@ export default {
},
//
getChangShang() {
getNamesDown({name: this.temp.vendorSid}).then((response) => {
if (response.code === '200') {
this.vendor = response.data
}
})
// getNamesDown({name: this.temp.vendorSid}).then((response) => {
// if (response.code === '200') {
// this.vendor = response.data
// }
// })
},
//
querySearchAsync(queryString, cb) {

12
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/com/xuanzecheliang.vue

@ -218,12 +218,12 @@
},
//
getcarbrand() {
selectBrand().then((res) => {
if (res.code === '200') {
this.carbrand_list = res.data
console.log('下拉框请求品牌', res.data)
}
})
// selectBrand().then((res) => {
// if (res.code === '200') {
// this.carbrand_list = res.data
// console.log('', res.data)
// }
// })
},
changeCarbrand(value) {
let bb = {}

23
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/com/xuanzekehuAdd.vue

@ -512,7 +512,6 @@ import {mapGetters} from 'vuex'
Customeryou: '',
checkin: '', //
kehusid: '',
customerType: '',
YongHuid: [],
visible: false,
stateId: 0,
@ -771,11 +770,11 @@ import {mapGetters} from 'vuex'
// },
//
getGuaKao() {
namesDown({name: this.temp.affiliatedOrgSid}).then((response) => {
if (response.code === '200') {
this.edOrgSid = response.data
}
})
// namesDown({name: this.temp.affiliatedOrgSid}).then((response) => {
// if (response.code === '200') {
// this.edOrgSid = response.data
// }
// })
},
// --------------------------------------------------
huoquSheng() {
@ -972,7 +971,7 @@ import {mapGetters} from 'vuex'
this.activeNames=['1']
this.list1=[]
this.$emit('handleReturn')
}else if('511'===response.code || '513'===response.code){
this.FormLoading = false
this.dialogFormVisible = true
@ -1054,11 +1053,11 @@ import {mapGetters} from 'vuex'
// ---------------------------------------------------------------------------------
//
getZhongJie() {
getPcDistributorList().then((response) => {
if (response.code === '200') {
this.ncySid = response.data
}
})
// getPcDistributorList().then((response) => {
// if (response.code === '200') {
// this.ncySid = response.data
// }
// })
},
//
getZongjieDanwei(value) {

12
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/com/yudingcheliang.vue

@ -294,12 +294,12 @@ export default {
// ---------------------------------------------------------------------------------
//
getChangShang() {
getNamesDown({ name: this.temp.manufacturerName }).then((response) => {
console.log('8888', response)
if (response.code === '200') {
this.vendor = response.data
}
})
// getNamesDown({ name: this.temp.manufacturerName }).then((response) => {
// console.log('8888', response)
// if (response.code === '200') {
// this.vendor = response.data
// }
// })
},
//
querySearchAsync(queryString, cb) {

67
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/xunidingdanAdd.vue

@ -16,53 +16,52 @@
<div class="tit">
销售虚拟订车单
<div class="times">
<div><span>单据编号</span><span>{{ temp.billNo }}</span></div>
<div><span>制单日期</span><span>{{ temp.createDate }}</span></div>
<div><span>分公司</span><span>{{ temp.billNo }}</span></div>
<div><span>申请人</span><span>{{ temp.createName }}</span></div>
<div><span>申请日期</span><span>{{ temp.createDate }}</span></div>
<div><span>金额单位</span><span>{{ temp.price }}</span></div>
</div>
</div>
<!-- <el-row class="bordertopline">-->
<!-- <el-col :span="4" class="tleftb">-->
<!-- <el-form-item><span slot="label">部门名称</span></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="8" class="trightb">-->
<!-- <el-form-item>-->
<!-- {{ temp.orgName }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="tleftb">-->
<!-- <el-form-item><span slot="label">销售专员</span></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="8" class="trightb">-->
<!-- <el-form-item>-->
<!-- {{ temp.staffName }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<el-row class="bordertopline">
<el-col :span="4" class="tleftb">
<el-form-item><span slot="label">部门名称</span></el-form-item>
<el-col :span="2" class="tleftb">
<el-form-item>订单类型</el-form-item>
</el-col>
<el-col :span="8" class="trightb">
<el-form-item>
{{ temp.orgName }}
</el-form-item>
</el-col>
<el-col :span="4" class="tleftb">
<el-form-item><span slot="label">销售专员</span></el-form-item>
</el-col>
<el-col :span="8" class="trightb">
<el-form-item>
{{ temp.staffName }}
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="tleftb">
<el-form-item><span slot="label">虚拟订单类型</span></el-form-item>
</el-col>
<el-col :span="8" class="trightb">
<el-col :span="6" class="trightb">
<el-form-item>
<span>{{temp.depositBillType}}</span>
</el-form-item>
</el-col>
<el-col :span="12" class="tleftb"/>
</el-row>
<el-row class="bordertopline">
<el-col :span="4" class="tleftb">
<el-form-item><span slot="label">客户名称</span></el-form-item>
<el-col :span="2" class="tleftb">
<el-form-item>客户名称</el-form-item>
</el-col>
<el-col :span="8" class="trightb">
<el-col :span="6" class="trightb">
<el-form-item>
{{ temp.customerName }}
<span class="bluezi changeIt" @click="handleCustomer()">选择客户/新增客户</span>
</el-form-item>
</el-col>
<el-col :span="4" class="tleftb">
<el-form-item><span slot="label">联系电话</span></el-form-item>
<el-col :span="2" class="tleftb">
<el-form-item>联系电话</el-form-item>
</el-col>
<el-col :span="8" class="trightb">
<el-col :span="6" class="trightb">
<el-form-item>
{{ temp.mobile }}
</el-form-item>
@ -261,7 +260,7 @@
this.initList.depositBillTypeKey = depositBillTypeKey
console.log('112233', this.initList)
this.dialogStatus = 'add';
this.viewTitle = '【新增】销售虚拟订单';
this.viewTitle = '【新增】销售简易订单';
this.getDingdan(this.initList)
},
showEdit(sid, nodeState) {
@ -271,7 +270,7 @@
this.stateId = '1'
this.temp.sid = sid
this.dialogStatus = 'edit';
this.viewTitle = '【编辑】销售虚拟订单';
this.viewTitle = '【编辑】销售简易订单';
if (nodeState == '' || nodeState == '发起订单') {
this.disabled = false
} else {

93
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/xunidingdanguanli.vue

@ -2,7 +2,7 @@
<div class="app-container">
<div v-show="viewState == 1">
<div class="tab-header webtop">
<div>销售虚拟订单管理</div>
<div>销售简易订单管理</div>
<div>
<!-- <el-button type="primary" size="small" @click="handleGenerate()">生成销售订单</el-button>-->
<el-button type="primary" size="small" @click="handleCreate()">新增</el-button>
@ -12,7 +12,7 @@
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div>
<el-dialog
title="请选择虚拟订单类型"
title="请选择订单类型"
:visible.sync="dialogVisible"
width="22%">
<div class="diaCenter">
@ -30,7 +30,7 @@
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" label-width="130px" class="tab-header">
<el-form-item label="虚拟订单类型">
<el-form-item label="订单类型">
<el-select v-model="listQuery.params.billType" placeholder="请选择" @change="depositTypeChange">
<el-option
v-for="item in depositType"
@ -43,7 +43,7 @@
<el-form-item label="客户(付款人)">
<el-input v-model="listQuery.params.customerName" placeholder="请输入" clearable class="filter-item"/>
</el-form-item>
<el-form-item label="创建日期">
<el-form-item label="申请日期">
<div class="block">
<el-date-picker
v-model="listQuery.params.startTime"
@ -64,15 +64,15 @@
</el-date-picker>
</div>
</el-form-item>
<div class="searchbtns">
<el-button type="primary" @click="handleFilter">查询</el-button>
<el-button type="primary" @click="handleReset">重置</el-button>
</div>
</el-form>
<div class="btn" style="text-align: center;">
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button>
<el-button type="primary" icon="el-icon-refresh" size="small" @click="handleReset">重置</el-button>
</div>
</div>
</div>
<div class="listtop">
<div class="tit">销售虚拟订车单列表</div>
<div class="tit">销售简易订单列表</div>
<pageye v-show="total > 0" :total="total" :page.sync="listQuery.current" :limit.sync="listQuery.size" class="pagination" @pagination="getList"/>
</div>
<div class="">
@ -98,22 +98,27 @@
<span>{{ scope.row.depositBillType }}</span>
</template>
</el-table-column>
<el-table-column label="单据编号" align="center">
<el-table-column label="分公司" align="center"><!--原单据编号-->
<template slot-scope="scope">
<span>{{ scope.row.billNo }}</span>
</template>
</el-table-column>
<el-table-column label="创建日期" align="center">
<el-table-column label="申请人" align="center">
<template slot-scope="scope">
<span>{{ scope.row.createDate }}</span>
<span>{{ scope.row.staffName }}</span>
</template>
</el-table-column>
<el-table-column label="销售专员" align="center">
<el-table-column label="申请日期" align="center"><!-- 原创建日期 -->
<template slot-scope="scope">
<span>{{ scope.row.staffName }}</span>
<span>{{ scope.row.createDate }}</span>
</template>
</el-table-column>
<el-table-column label="客户(付款人)" align="center">
<!-- <el-table-column label="销售专员" align="center">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ scope.row.staffName }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="客户(付款人)" width="145px" align="center">
<template slot-scope="scope">
<span>{{ scope.row.name }}</span>
</template>
@ -128,7 +133,7 @@
<span>{{ scope.row.deposit }}</span>
</template>
</el-table-column>
<el-table-column label="已使用订金(元)" align="center">
<el-table-column label="已使用订金(元)" width="155px" align="center">
<template slot-scope="scope">
<span>{{ scope.row.usedDeposit }}</span>
</template>
@ -161,29 +166,29 @@
</template>
<script>
import {mapGetters} from 'vuex'
import {listPage, deleteBySids, typeValues} from '@/api/jichuxinxi/busdeposit'
// import {submitApprove, updateState} from '@/api/portal/workFlow'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import divAdd from './xunidingdanAdd.vue'
import divInfo from './xunidingdaninfo.vue'
import xunidingjinAdd from './xunidingjinAdd'
import xunidingjininfo from './xunidingjininfo'
import hetongdanganguanliInfo from '@/views/hetongguanli/hetongdanganguanli/hetongdanganguanliInfo.vue'
import {mapGetters} from 'vuex'
import {deleteBySids, listPage, typeValues} from '@/api/jichuxinxi/busdeposit'
// import {submitApprove, updateState} from '@/api/portal/workFlow'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import divAdd from './xunidingdanAdd.vue'
import divInfo from './xunidingdaninfo.vue'
import xunidingjinAdd from './xunidingjinAdd'
import xunidingjininfo from './xunidingjininfo'
import hetongdanganguanliInfo from '@/views/hetongguanli/hetongdanganguanli/hetongdanganguanliInfo.vue'
export default {
name: 'Xunidingdanguanli',
components: {
Pagination,
pageye,
divAdd,
divInfo,
xunidingjinAdd,
xunidingjininfo,
hetongdanganguanliInfo
},
export default {
name: 'Xunidingdanguanli',
components: {
Pagination,
pageye,
divAdd,
divInfo,
xunidingjinAdd,
xunidingjininfo,
hetongdanganguanliInfo
},
data() {
return {
disabled: false, //
@ -399,19 +404,7 @@
//
getList() {
this.listLoading = true
listPage({
current: this.listQuery.current,
size: this.listQuery.size,
params: {
// orgName: this.listQuery.orgName,
// staffName: this.listQuery.staffName,
customerName: this.listQuery.customerName,
startTime: this.listQuery.startTime,
endTime: this.listQuery.endTime,
userSid: window.sessionStorage.getItem('userSid'),
staffSid: window.sessionStorage.getItem('staffSid')
},
}).then((response) => {
listPage(this.listQuery).then((response) => {
this.listLoading = false
if (
response.code === '200' &&

9
anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xunidingdan/xunidingjinAdd.vue

@ -303,9 +303,6 @@
},
created() {
//
this.init()
this.getPaymentType()
this.getProBank()
},
methods: {
// ----------------------------
@ -333,6 +330,9 @@
this.getDingdan(this.initList)
this.dialogStatus = 'add'
this.viewTitle = '【新增】销售虚拟订单'
this.init()
this.getPaymentType()
this.getProBank()
},
//
showEdit(sid, nodeState) {
@ -364,6 +364,9 @@
this.$refs['uploadImg'].showImg(this.list1)
}
this.temp.paymentProofList = []
this.init()
this.getPaymentType()
this.getProBank()
}
})
},

4
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhang.vue

@ -230,7 +230,7 @@ export default {
createOrgSid:''
},
current: 1,
size: 20
size: 5
},
sids: [],
selectDate: undefined,
@ -414,7 +414,7 @@ export default {
createOrgSid:''
},
current: 1,
size: 20
size: 5
}
this.getPathSid()
},

4
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue

@ -303,7 +303,7 @@ export default {
specifications: '',
},
current: 1,
size: 10,
size: 5,
total: 0
},
sids: [],
@ -541,7 +541,7 @@ export default {
specifications: '',
},
current: 1,
size: 10,
size: 5,
total: 0
}
this.getPathSid()

2
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhi.vue

@ -406,7 +406,7 @@ export default {
},
current: 1,
total: 0,
size: 10
size: 5
},
selectDate: undefined,
temp: {}, //

Loading…
Cancel
Save