@@ -333,15 +332,15 @@
- + }}
- +{{ oilCompanyMatch[0].companyDockType == 0 ? "对接客户" : "平台客户" @@ -354,7 +353,7 @@
-+
{{ auditMarkEnum.find( (item) => item.value == oilCompanyMatch[0].auditMark @@ -381,14 +380,14 @@
- {{ oilCompanyMatch[2].defaultShare === 1 ? "共享" : "不共享" }} + {{ oilCompanyMatch[2].defaultShare == 1 ? "共享" : "不共享" }}
{{ companyTypeEnum.find( - (item) => item.value === oilCompanyMatch[3].accountState + (item) => item.value == oilCompanyMatch[3].accountState ).label }}
diff --git a/src/views/financialCenter/accountManagement/index.vue b/src/views/financialCenter/accountManagement/index.vue index 378fd9c..67e7cb6 100644 --- a/src/views/financialCenter/accountManagement/index.vue +++ b/src/views/financialCenter/accountManagement/index.vue @@ -72,13 +72,13 @@ effect="dark" :type=" accountStateEnum.find( - (item) => item.value === row.accountState + (item) => item.value == row.accountState ).type " > {{ accountStateEnum.find( - (item) => item.value === row.accountState + (item) => item.value == row.accountState ).label }} @@ -90,7 +90,7 @@{{ companyNatureEnum.find( - (item) => item.value === oilCompanyMatch[0].companyNature + (item) => item.value == oilCompanyMatch[0].companyNature ).label }}
@@ -195,7 +195,7 @@{{ accountStatusEnum.find( - (item) => item.value === oilCompanyMatch[1].accountState + (item) => item.value == oilCompanyMatch[1].accountState ).label }}
diff --git a/src/views/financialCenter/billDetails/index.vue b/src/views/financialCenter/billDetails/index.vue index f9a5dea..33e6f66 100644 --- a/src/views/financialCenter/billDetails/index.vue +++ b/src/views/financialCenter/billDetails/index.vue @@ -47,7 +47,7 @@{{ - rechargeTypeEnum.find((item) => item.value === row.billType) + rechargeTypeEnum.find((item) => item.value == row.billType) .label }}
@@ -143,7 +143,7 @@{{ rechargeTypeEnum.find( - (item) => item.value === oilCompanyMatch[0].billType + (item) => item.value == oilCompanyMatch[0].billType ).label }}
@@ -204,9 +204,8 @@{{ - rechargeTypeEnum.find( - (item) => item.value === row.billTypes - ).label + rechargeTypeEnum.find((item) => item.value == row.billTypes) + .label }}
diff --git a/src/views/financialCenter/enterpriseRecharge/components/add.vue b/src/views/financialCenter/enterpriseRecharge/components/add.vue
index 03ea5f4..8c23456 100644
--- a/src/views/financialCenter/enterpriseRecharge/components/add.vue
+++ b/src/views/financialCenter/enterpriseRecharge/components/add.vue
@@ -274,12 +274,7 @@ export default {
echoName: this.form.refineryName || "",
isDisabled: !!id,
};
- // ? { echoId: id || '', echoName: this.form.refineryName || '', isDisabled: !!id }
- // : {
- // echoId: "",
- // echoName: "",
- // isDisabled: false,
- // };
+
Object.assign(this.configAutocomplete, configUpdata);
},
// 公司change
diff --git a/src/views/financialCenter/enterpriseRecharge/components/addTurn.vue b/src/views/financialCenter/enterpriseRecharge/components/addTurn.vue
index ae0cf41..1e10d77 100644
--- a/src/views/financialCenter/enterpriseRecharge/components/addTurn.vue
+++ b/src/views/financialCenter/enterpriseRecharge/components/addTurn.vue
@@ -44,16 +44,14 @@
{{
- correspondTypeEnum.find(
- (item) => item.value === form.turnType
- ).label
+ correspondTypeEnum.find((item) => item.value == form.turnType)
+ .label
}}
{{
companyInfo[
- correspondTypeEnum.find(
- (item) => item.value === form.turnType
- ).valueKey
+ correspondTypeEnum.find((item) => item.value == form.turnType)
+ .valueKey
]
}}
@@ -110,7 +108,7 @@ export default {
// };
let validatortransactionAmount = (rule, value, callback) => {
let typeTarget = this.correspondTypeEnum.find(
- (item) => item.value === this.form.turnType
+ (item) => item.value == this.form.turnType
);
let superiorLimit = this.companyInfo[typeTarget.valueKey];
if (value == "") callback("请输入圈回金额");
diff --git a/src/views/financialCenter/enterpriseRecharge/components/examine.vue b/src/views/financialCenter/enterpriseRecharge/components/examine.vue
index e46483d..67cd6e9 100644
--- a/src/views/financialCenter/enterpriseRecharge/components/examine.vue
+++ b/src/views/financialCenter/enterpriseRecharge/components/examine.vue
@@ -1,16 +1,6 @@
-
- {{ - rechargeStatusEnum.find( - (item) => item.value === row.transactionState - ).label - }} + {{ rechargeStatusEnum.find(item => item.value == row.transactionState).label }}
收款公司账户:{{ row.internalCompanyName }}
收款开户行:{{ row.bankDeposit }}
@@ -168,64 +90,40 @@{{ - oilCompanyMatch.transactionType === "TURN" - ? LoopBackTypeEnum.find( - (item) => item.value === oilCompanyMatch[0].turnType - ).label - : rechargeTypeEnum.find( - (item) => item.value === oilCompanyMatch[0].transactionType - ).label + oilCompanyMatch.transactionType === 'TURN' + ? LoopBackTypeEnum.find(item => item.value == oilCompanyMatch[0].turnType).label + : rechargeTypeEnum.find(item => item.value == oilCompanyMatch[0].transactionType).label }}
- {{ - rechargeStatusEnum.find( - (item) => item.value === oilCompanyMatch[0].transactionState - ).label - }} + {{ rechargeStatusEnum.find(item => item.value == oilCompanyMatch[0].transactionState).label }}
- {{ - auditMarkEnum.find( - (item) => item.value === oilCompanyMatch[0].auditMark - ).label - }} + {{ auditMarkEnum.find(item => item.value == oilCompanyMatch[0].auditMark).label }}
- {{ - accountStatusEnum.find( - (item) => item.value === oilCompanyMatch[1].accountState - ).label - }} + {{ accountStatusEnum.find(item => item.value == oilCompanyMatch[1].accountState).label }}
- {{ oilCompanyMatch[1].accountType === "0" ? "基础账户" : "" }} + {{ oilCompanyMatch[1].accountType === '0' ? '基础账户' : '' }}
@@ -312,28 +187,22 @@+ {{ refineryAccountTypeEnum.find(item => item.value == row.accountType).label }} +
+ ++ {{ refineryTypeEnum.find(item => item.value == oilCompanyMatch[0].accountType).label }} +
+ + ++ {{ oilCompanyMatch[0].accountStatus === 'ENABLE' ? '启用' : '禁用' }} +
+ +- {{ - refineryAccountTypeEnum.find( - (item) => item.value === row.accountType - ).label - }} -
- -- {{ - refineryTypeEnum.find( - (item) => item.value === oilCompanyMatch[0].accountType - ).label - }} -
- - -- {{ - oilCompanyMatch[0].accountStatus === "ENABLE" ? "启用" : "禁用" - }} -
- -+ {{ auditMarkEnum.find(item => item.value == oilCompanyMatch[0].auditMark).label }} +
+ + ++ {{ oilCompanyMatch[0].transactionType === 'RECHARGE' ? '充值' : '圈回' }} +
+ +{{ - refineryTypeEnum.find((item) => item.value === row.refineryType) + refineryTypeEnum.find((item) => item.value == row.refineryType) .label }}
@@ -154,7 +154,7 @@{{ refineryTypeEnum.find( - (item) => item.value === oilCompanyMatch[0].refineryType + (item) => item.value == oilCompanyMatch[0].refineryType ).label }}
diff --git a/vue.config.js b/vue.config.js index 042482e..bebb8a1 100644 --- a/vue.config.js +++ b/vue.config.js @@ -8,8 +8,6 @@ function resolve(dir) { const name = defaultSettings.title || "vue Admin Template"; -const port = process.env.port || process.env.npm_config_port || 9530; - module.exports = { publicPath: "/refinery", outputDir: "dist", @@ -17,7 +15,7 @@ module.exports = { productionSourceMap: false, devServer: { inline: true, - port: port, + port: 9530, open: false, overlay: { warnings: false, @@ -29,7 +27,7 @@ module.exports = { [process.env.VUE_APP_BASE_API]: { // target: `https://3816t6291y.oicp.vip`, // target: 'https://6l438d1757.zicp.fun', - target: "http://192.168.0.23:38080", + target: "http://192.168.1.85:38080", // target: "http://uat.xingoil.com/adminapi", changeOrigin: true, pathRewrite: {