From 2e55066c7294de2edf61f26e6077d20bdd0eebda Mon Sep 17 00:00:00 2001
From: wangh <9483>
Date: Tue, 5 Mar 2024 16:42:59 +0800
Subject: [PATCH] no message
---
fuintAdmin_zt/src/views/Site/index.vue | 58 ++++++++++++++-----
.../com/fuint/system/dept/entity/SysDept.java | 2 +
2 files changed, 46 insertions(+), 14 deletions(-)
diff --git a/fuintAdmin_zt/src/views/Site/index.vue b/fuintAdmin_zt/src/views/Site/index.vue
index 9e3b281f6..29c337674 100644
--- a/fuintAdmin_zt/src/views/Site/index.vue
+++ b/fuintAdmin_zt/src/views/Site/index.vue
@@ -196,7 +196,7 @@
预付费
后付费
年付费
- 可创建油站站点数量
+
@@ -314,18 +314,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -501,6 +522,7 @@ export default {
dicts: ['node_type'],
data() {
return {
+ storeNum: false,
isEditDept:true,
isTopDept:true,
@@ -866,6 +888,9 @@ export default {
this.ruleForm.turnoverStartTime = this.timeFrame[0]
this.ruleForm.turnoverEndTime = this.timeFrame[1]
}
+ if (!this.storeNum) {
+ this.ruleForm.storeNum = null
+ }
deptadd(this.ruleForm).then(res=>{
if(res.code == 200){
this.$message({
@@ -887,7 +912,9 @@ export default {
this.$refs[ruleForm].validate((valid) => {
if (valid) {
-
+ if (!this.storeNum) {
+ this.ruleForm.storeNum = null
+ }
if (this.timeFrame){
this.ruleForm.turnoverStartTime = this.timeFrame[0]
this.ruleForm.turnoverEndTime = this.timeFrame[1]
@@ -1000,6 +1027,9 @@ export default {
const date = new Date(this.ruleForm.turnoverEndTime);
this.timeFrame[1] = date.toString();
}
+ if (this.ruleForm.storeNum) {
+ this.storeNum = true
+ }
if(res.data.status == 'qy'){
this.value10 = true
}else {
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/system/dept/entity/SysDept.java b/fuintBackend/fuint-application/src/main/java/com/fuint/system/dept/entity/SysDept.java
index 6d441ec29..08feb7915 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/system/dept/entity/SysDept.java
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/system/dept/entity/SysDept.java
@@ -1,5 +1,6 @@
package com.fuint.system.dept.entity;
+import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
@@ -74,6 +75,7 @@ public class SysDept extends BaseEntity
// @JsonFormat(pattern = "yyyy-MM-dd")
private Date turnoverEndTime;
private BigDecimal rates;
+ @TableField(strategy = FieldStrategy.IGNORED)
private Integer storeNum;
private BigDecimal prepaidAmount;