|
|
@ -14,19 +14,8 @@ |
|
|
|
<el-option label="炼厂" value="2" /> |
|
|
|
<el-option label="炼厂" value="2" /> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
|
|
|
|
<el-select |
|
|
|
<autocomplete class="mr20" :params="page.params" :config="configAutocomplete" /> |
|
|
|
v-model="page.params.settlementId" |
|
|
|
|
|
|
|
remote |
|
|
|
|
|
|
|
filterable |
|
|
|
|
|
|
|
:remote-method="companyOrginQuery" |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
placeholder="客户名称" |
|
|
|
|
|
|
|
@keyup.enter.native="getByPage" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<el-option v-for="item in queryCompanyList" :key="item.id" :label="item.name" :value="item.id" /> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="page.params.auditState" clearable placeholder="审核状态"> |
|
|
|
<el-select v-model="page.params.auditState" clearable placeholder="审核状态"> |
|
|
@ -133,14 +122,24 @@ |
|
|
|
import oilFinalStatementListInfo from './oilFinalStatementListInfo' |
|
|
|
import oilFinalStatementListInfo from './oilFinalStatementListInfo' |
|
|
|
import internalCompanyApi from '@/api/user/internalCompany' |
|
|
|
import internalCompanyApi from '@/api/user/internalCompany' |
|
|
|
import sysCustomerInfoApi from '@/api/user/sysCustomerInfo' |
|
|
|
import sysCustomerInfoApi from '@/api/user/sysCustomerInfo' |
|
|
|
|
|
|
|
import autocomplete from 'components/autocomplete/index.vue' |
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
oilFinalStatementListInfo |
|
|
|
oilFinalStatementListInfo, |
|
|
|
|
|
|
|
autocomplete |
|
|
|
}, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
|
|
|
|
|
configAutocomplete: { |
|
|
|
|
|
|
|
serveTarget: internalCompanyApi.getLikeByCompanyType, |
|
|
|
|
|
|
|
autocompleteKey: 'name', |
|
|
|
|
|
|
|
labelKey: 'name', |
|
|
|
|
|
|
|
valueKey: 'id', |
|
|
|
|
|
|
|
placeholder: '客户名称', |
|
|
|
|
|
|
|
querykey: 'settlementId' |
|
|
|
|
|
|
|
}, |
|
|
|
detailDrawer: false, |
|
|
|
detailDrawer: false, |
|
|
|
thisloding: true, |
|
|
|
thisloding: true, |
|
|
|
page: { |
|
|
|
page: { |
|
|
@ -151,7 +150,6 @@ export default { |
|
|
|
columns: [] |
|
|
|
columns: [] |
|
|
|
}, |
|
|
|
}, |
|
|
|
userList: '', |
|
|
|
userList: '', |
|
|
|
queryCompanyList: [], |
|
|
|
|
|
|
|
tableHeight: document.documentElement.clientHeight - 300 - 50, |
|
|
|
tableHeight: document.documentElement.clientHeight - 300 - 50, |
|
|
|
filters: this.$options.filters, |
|
|
|
filters: this.$options.filters, |
|
|
|
dataPage: [], |
|
|
|
dataPage: [], |
|
|
@ -314,14 +312,6 @@ export default { |
|
|
|
this.page.params = {} |
|
|
|
this.page.params = {} |
|
|
|
this.getByPage() |
|
|
|
this.getByPage() |
|
|
|
}, |
|
|
|
}, |
|
|
|
companyOrginQuery(value) { |
|
|
|
|
|
|
|
// 远程搜索 |
|
|
|
|
|
|
|
if (value) { |
|
|
|
|
|
|
|
internalCompanyApi.getLikeByCompanyType({ name: value }).then(res => { |
|
|
|
|
|
|
|
this.queryCompanyList = res.data |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
getByPage() { |
|
|
|
getByPage() { |
|
|
|
// 分页查询 |
|
|
|
// 分页查询 |
|
|
|
|
|
|
|
|
|
|
|