|
|
@ -16,20 +16,32 @@
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
input-align="left"
|
|
|
|
input-align="left"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<van-field
|
|
|
|
<!-- <van-field
|
|
|
|
v-model="queryForm.contractName"
|
|
|
|
v-model="queryForm.contractName"
|
|
|
|
placeholder="请输入"
|
|
|
|
placeholder="请输入"
|
|
|
|
label="合同名称"
|
|
|
|
label="合同名称"
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
input-align="left"
|
|
|
|
input-align="left"
|
|
|
|
|
|
|
|
/> -->
|
|
|
|
|
|
|
|
<RePick
|
|
|
|
|
|
|
|
v-model="queryForm.supplierId"
|
|
|
|
|
|
|
|
titleKey="companyName"
|
|
|
|
|
|
|
|
idKey="id"
|
|
|
|
|
|
|
|
title="客户名称"
|
|
|
|
|
|
|
|
:name="`supplierId`"
|
|
|
|
|
|
|
|
label="客户名称"
|
|
|
|
|
|
|
|
:list="cpList"
|
|
|
|
|
|
|
|
isCell
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
input-align="left"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<van-field
|
|
|
|
<!-- <van-field
|
|
|
|
v-model="queryForm.customerCompanyName"
|
|
|
|
v-model="queryForm.customerCompanyName"
|
|
|
|
placeholder="请输入"
|
|
|
|
placeholder="请输入"
|
|
|
|
label="客户名称"
|
|
|
|
label="客户名称"
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
input-align="left"
|
|
|
|
input-align="left"
|
|
|
|
/>
|
|
|
|
/> -->
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
style="display: flex; justify-content: space-around; margin-top: 10px"
|
|
|
|
style="display: flex; justify-content: space-around; margin-top: 10px"
|
|
|
|
>
|
|
|
|
>
|
|
|
@ -97,7 +109,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { getScrollTop } from '@/utils'
|
|
|
|
import { getScrollTop } from '@/utils'
|
|
|
|
|
|
|
|
import { getCustomerCompanyPage } from '@/api/bs/customerContract'
|
|
|
|
import { getPaymentPlanPage } from '@/api/bs/myGetPlan'
|
|
|
|
import { getPaymentPlanPage } from '@/api/bs/myGetPlan'
|
|
|
|
import { getDictDatas } from '@/utils/dict'
|
|
|
|
import { getDictDatas } from '@/utils/dict'
|
|
|
|
import { mapState } from 'vuex'
|
|
|
|
import { mapState } from 'vuex'
|
|
|
@ -120,6 +132,7 @@ export default {
|
|
|
|
finished: false,
|
|
|
|
finished: false,
|
|
|
|
tableList: [],
|
|
|
|
tableList: [],
|
|
|
|
spList: [],
|
|
|
|
spList: [],
|
|
|
|
|
|
|
|
cpList: [],
|
|
|
|
listQuery: {
|
|
|
|
listQuery: {
|
|
|
|
pageNo: 1,
|
|
|
|
pageNo: 1,
|
|
|
|
pageSize: 10,
|
|
|
|
pageSize: 10,
|
|
|
@ -129,7 +142,7 @@ export default {
|
|
|
|
queryForm: {
|
|
|
|
queryForm: {
|
|
|
|
contractNumber: null,
|
|
|
|
contractNumber: null,
|
|
|
|
contractName: null,
|
|
|
|
contractName: null,
|
|
|
|
customerCompanyName: null
|
|
|
|
supplierId: null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -147,6 +160,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.handleInit()
|
|
|
|
this.handleInit()
|
|
|
|
|
|
|
|
this.handleInitSpList()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
// 搜索
|
|
|
|
// 搜索
|
|
|
@ -176,7 +190,7 @@ export default {
|
|
|
|
this.queryForm = {
|
|
|
|
this.queryForm = {
|
|
|
|
contractNumber: null,
|
|
|
|
contractNumber: null,
|
|
|
|
contractName: null,
|
|
|
|
contractName: null,
|
|
|
|
companyName: null
|
|
|
|
supplierId: null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.handleInit()
|
|
|
|
this.handleInit()
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -184,13 +198,19 @@ export default {
|
|
|
|
history.back()
|
|
|
|
history.back()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleInitSpList() {
|
|
|
|
handleInitSpList() {
|
|
|
|
let queryParams = {
|
|
|
|
/* let queryParams = {
|
|
|
|
pageNo: 1,
|
|
|
|
pageNo: 1,
|
|
|
|
pageSize: this.singlePageSize,
|
|
|
|
pageSize: this.singlePageSize,
|
|
|
|
paymentType: 1
|
|
|
|
paymentType: 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
getPaymentPlanPage(queryParams).then((res) => {
|
|
|
|
getPaymentPlanPage(queryParams).then((res) => {
|
|
|
|
this.spList = res.data.list || []
|
|
|
|
this.spList = res.data.list || []
|
|
|
|
|
|
|
|
}), */
|
|
|
|
|
|
|
|
getCustomerCompanyPage({
|
|
|
|
|
|
|
|
pageNo: 1,
|
|
|
|
|
|
|
|
pageSize: 999
|
|
|
|
|
|
|
|
}).then((response) => {
|
|
|
|
|
|
|
|
this.cpList = response.data.list
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleSetSingle(id) {
|
|
|
|
handleSetSingle(id) {
|
|
|
|