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