@@ -233,7 +232,7 @@
-
+
diff --git a/fuintAdmin/src/views/userGrade/index.vue b/fuintAdmin/src/views/userGrade/index.vue
index 2ee08bdac..053b09cbf 100644
--- a/fuintAdmin/src/views/userGrade/index.vue
+++ b/fuintAdmin/src/views/userGrade/index.vue
@@ -1243,8 +1243,15 @@ export default {
{required: true, message: "请选择节假日是否通用", trigger: "blur"},
],
suitDateType: [
- {required: true, message: "请选择适用日期", trigger: "blur"},
- ],
+ {validator: (rule, value, callback) => {
+ if (this.form2.suitDateType == '1'){
+ if (this.form2.suitDateFront == undefined){
+ callback(new Error("请选择开始日期"))
+ }else if (this.form2.suitDateAfter == undefined){
+ callback(new Error("请选择结束日期"))
+ }
+ }
+ }},],
suitTimeSlotType: [
{required: true, message: "请选择适用时间段", trigger: "blur"},
],
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/entity/OilNumber.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/entity/OilNumber.java
index 409eca382..a4f087a92 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/entity/OilNumber.java
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/petrolStationManagement/entity/OilNumber.java
@@ -23,6 +23,7 @@ public class OilNumber extends BaseEntity {
@TableId(value = "number_id", type = IdType.AUTO)
public Integer numberId; //id(主键)
private String oilType; // 油品类型
+ @TableField(exist = false)
private Integer oilId; // 油品id
private String oilName; //油品名称
private Double oilPrice; //油品单价