Merge pull request 'it_s' (#1) from it_s into master

Reviewed-on: #1
pull/2/head^2^2
gitea_admin 2 years ago
commit ddb64bf6fd
  1. 2
      src/views/finance/oilCompanyMatch/OilCompanyMatchAdd.vue
  2. 2
      src/views/finance/oilCompanyMatch/OilCompanyMatchList.vue
  3. 2
      src/views/finance/oilCompanyMatchRecord/OilCompanyMatchRecordList.vue
  4. 2
      src/views/finance/oilCompanyOrderMatchTask/OilCompanyOrderMatchTaskList.vue
  5. 54
      src/views/finance/order/OrderTfInfoList.vue

@ -162,7 +162,7 @@ export default {
methods: { methods: {
parentCompanyOrginQuery(value) { // parentCompanyOrginQuery(value) { //
if (value) { if (value) {
oilCompanyInfoApi.getLikeByName({ 'name': value }).then(res => { oilCompanyInfoApi.getLikeByNameSuccess({ 'name': value }).then(res => {
this.companyList = res.data this.companyList = res.data
}) })
} }

@ -619,7 +619,7 @@ export default {
companyRemoteMethod(value) { companyRemoteMethod(value) {
// //
if (value) { if (value) {
oilCompanyInfoApi.getLike(value).then((res) => { oilCompanyInfoApi.getLikeByNameSuccess({ 'name': value }).then((res) => {
this.queryCompanyList = res.data; this.queryCompanyList = res.data;
}); });
} }

@ -506,7 +506,7 @@ export default {
companyRemoteMethod(value) { companyRemoteMethod(value) {
// //
if (value) { if (value) {
oilCompanyInfoApi.getLike(value).then((res) => { oilCompanyInfoApi.getLikeByNameSuccess({ 'name': value }).then((res) => {
this.queryCompanyList = res.data; this.queryCompanyList = res.data;
}); });
} }

@ -603,7 +603,7 @@ export default {
companyRemoteMethod(value) { companyRemoteMethod(value) {
// //
if (value) { if (value) {
oilCompanyInfoApi.getLike(value).then((res) => { oilCompanyInfoApi.getLikeByNameSuccess({ 'name': value }).then((res) => {
this.queryCompanyList = res.data; this.queryCompanyList = res.data;
}); });
} }

@ -14,17 +14,15 @@
class="search-form" class="search-form"
:size="$store.getters.size" :size="$store.getters.size"
> >
<el-form-item> <el-form-item>
<el-input <el-select v-model="page.params.companyId" clearable filterable remote reserve-keyword placeholder="企业名称"
v-model="page.params.companyName" :remote-method="companyRemoteMethod" @keyup.enter.native="getByPage">
placeholder="请输入公司名称/ID检索" <el-option v-for="item in queryCompanyList" :key="item.id" :label="item.name" :value="item.id" />
clearable </el-select>
@keyup.enter.native="getByPage" </el-form-item>
/>
</el-form-item>
<el-form-item> <el-form-item>
<el-select <el-select
v-model="page.params.eq_customerId" v-model="page.params.customerId"
filterable filterable
remote remote
reserve-keyword reserve-keyword
@ -50,7 +48,7 @@
@keyup.enter.native="getByPage" @keyup.enter.native="getByPage"
/> />
<!-- <el-select <!-- <el-select
v-model="page.params.eq_siteId" v-model="page.params.siteId"
style="width:100%" style="width:100%"
filterable filterable
remote remote
@ -69,7 +67,7 @@
</el-select> --> </el-select> -->
</el-form-item> </el-form-item>
<!-- <el-form-item> <!-- <el-form-item>
<el-select v-model="page.params.eq_payChannel" placeholder="支付渠道" clearable> <el-select v-model="page.params.payChannel" placeholder="支付渠道" clearable>
<el-option value="BALANCE_PAYMENT" label="余额支付" /> <el-option value="BALANCE_PAYMENT" label="余额支付" />
<el-option value="WECHAT_MINIAPPS_PAYMENT" label="微信小程序支付" /> <el-option value="WECHAT_MINIAPPS_PAYMENT" label="微信小程序支付" />
<el-option value="WECHAT_OFFICIAL_ACCOUNT_PAYMENT" label="微信公众号支付" /> <el-option value="WECHAT_OFFICIAL_ACCOUNT_PAYMENT" label="微信公众号支付" />
@ -84,21 +82,21 @@
</el-form-item> --> </el-form-item> -->
<el-form-item> <el-form-item>
<el-select <el-select
v-model="page.params.eq_orderStatus" v-model="page.params.orderStatus"
placeholder="订单状态" placeholder="订单状态"
clearable clearable
> >
<el-option label="支付失败" :value="-1" /> <el-option label="支付失败" value="-1" />
<el-option label="支付中" :value="0" /> <el-option label="支付中" value="0" />
<el-option label="支付成功" :value="1" /> <el-option label="支付成功" value="1" />
<el-option label="已取消" :value="2" /> <el-option label="已取消" value="2" />
<el-option label="已退款" :value="3" /> <el-option label="已退款" value="3" />
<el-option label="退款中" :value="4" /> <el-option label="退款中" value="4" />
<el-option label="退款失败" :value="5" /> <el-option label="退款失败" value="5" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<!-- <el-form-item> <!-- <el-form-item>
<el-radio-group v-model="page.params.eq_payAccountType"> <el-radio-group v-model="page.params.payAccountType">
<el-radio-button :label="0"> <el-radio-button :label="0">
<svg-icon icon-class="iconsiji1" /> 个人账户 <svg-icon icon-class="iconsiji1" /> 个人账户
</el-radio-button> </el-radio-button>
@ -109,7 +107,7 @@
</el-form-item> --> </el-form-item> -->
<el-form-item> <el-form-item>
<el-input <el-input
v-model="page.params.eq_orderSerialNumber" v-model="page.params.orderSerialNumber"
placeholder="输入订单号准确搜索" placeholder="输入订单号准确搜索"
clearable clearable
@keyup.enter.native="getByPage" @keyup.enter.native="getByPage"
@ -578,6 +576,7 @@ import OrderInfoImport from "./OrderInfoImport";
import OrderInfoSupplement from "./OrderInfoSupplement"; import OrderInfoSupplement from "./OrderInfoSupplement";
import OrderInfoZeYiSupplement from "./OrderInfoZeYiSupplement"; import OrderInfoZeYiSupplement from "./OrderInfoZeYiSupplement";
import rippleChart from "@/views/dashboard/admin/components/RippleChart"; import rippleChart from "@/views/dashboard/admin/components/RippleChart";
import oilCompanyInfoApi from "@/api/user/oilCompanyInfo";
import { mapGetters } from "vuex"; import { mapGetters } from "vuex";
export default { export default {
components: { components: {
@ -598,6 +597,8 @@ export default {
endPage: 1, // endPage: 1, //
pageSize: 10, // pageSize: 10, //
}, },
oilCompanyOrderMatchTask: {},
queryCompanyList: [], //
siteList: [], siteList: [],
multipleSelection: [], // multipleSelection: [], //
importDialog: false, // importDialog: false, //
@ -684,6 +685,7 @@ export default {
? row.phone ? row.phone
: "暂无"} : "暂无"}
</div> </div>
<div v-show={row.companyName} class='column-info-content-item'>{row.companyName ? row.companyName : '暂无'}</div>
<div <div
v-show={row.payAccountType === 1} v-show={row.payAccountType === 1}
class="column-info-content-item" class="column-info-content-item"
@ -979,6 +981,14 @@ export default {
}); });
} }
}, },
companyRemoteMethod(value) {
//
if (value) {
oilCompanyInfoApi.getLikeByNameSuccess({ 'name': value }).then((res) => {
this.queryCompanyList = res.data;
});
}
},
// //
getSimpleOilSiteInfo(siteName) { getSimpleOilSiteInfo(siteName) {
if (siteName) { if (siteName) {
@ -1275,7 +1285,7 @@ export default {
getByPage() { getByPage() {
// //
this.addDialog = false; this.addDialog = false;
this.page.params.eq_convertCompanyCode = 1; this.page.params.convertCompanyCode = 1;
orderInfoApi.getByPage(this.page).then((res) => { orderInfoApi.getByPage(this.page).then((res) => {
this.dataPage = res.data; this.dataPage = res.data;
this.page.totalCount = this.dataPage.totalCount; this.page.totalCount = this.dataPage.totalCount;

Loading…
Cancel
Save