From bfe240d8a95035c6a7172ea87e38c7c91d986418 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: Thu, 10 Sep 2020 23:45:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../property/addFeeFormula/addFeeFormula.html | 11 +++++++++--
.../property/addFeeFormula/addFeeFormula.js | 15 ++++++++++++++-
.../property/editFeeFormula/editFeeFormula.html | 11 +++++++++--
.../property/editFeeFormula/editFeeFormula.js | 16 ++++++++++++++--
.../feeFormulaManage/feeFormulaManage.html | 2 ++
5 files changed, 48 insertions(+), 7 deletions(-)
diff --git a/public/components/property/addFeeFormula/addFeeFormula.html b/public/components/property/addFeeFormula/addFeeFormula.html
index 044da6e6d..d2a6a88c5 100644
--- a/public/components/property/addFeeFormula/addFeeFormula.html
+++ b/public/components/property/addFeeFormula/addFeeFormula.html
@@ -14,6 +14,13 @@
v-model="addFeeFormulaInfo.formulaValue">
+
diff --git a/public/components/property/addFeeFormula/addFeeFormula.js b/public/components/property/addFeeFormula/addFeeFormula.js
index 1562ff318..22041d8e8 100644
--- a/public/components/property/addFeeFormula/addFeeFormula.js
+++ b/public/components/property/addFeeFormula/addFeeFormula.js
@@ -10,6 +10,7 @@
formulaId: '',
formulaValue: '',
formulaDesc: '',
+ price:''
}
},
@@ -38,6 +39,18 @@
errInfo: "公式太复杂"
},
],
+ 'addFeeFormulaInfo.price': [
+ {
+ limit: "required",
+ param: "",
+ errInfo: "单价不能为空"
+ },
+ {
+ limit: "money",
+ param: "",
+ errInfo: "单价填写有误,如1.50"
+ },
+ ],
'addFeeFormulaInfo.formulaDesc': [
{
limit: "maxLength",
@@ -97,7 +110,7 @@
vc.component.addFeeFormulaInfo = {
formulaValue: '',
formulaDesc: '',
-
+ price:''
};
}
}
diff --git a/public/components/property/editFeeFormula/editFeeFormula.html b/public/components/property/editFeeFormula/editFeeFormula.html
index 39c1f28e4..ca8403bb6 100644
--- a/public/components/property/editFeeFormula/editFeeFormula.html
+++ b/public/components/property/editFeeFormula/editFeeFormula.html
@@ -14,6 +14,13 @@
class="form-control">
+
diff --git a/public/components/property/editFeeFormula/editFeeFormula.js b/public/components/property/editFeeFormula/editFeeFormula.js
index b79449514..2537cccf8 100644
--- a/public/components/property/editFeeFormula/editFeeFormula.js
+++ b/public/components/property/editFeeFormula/editFeeFormula.js
@@ -6,7 +6,7 @@
formulaId: '',
formulaValue: '',
formulaDesc: '',
-
+ price:''
}
},
_initMethod: function () {
@@ -37,6 +37,18 @@
errInfo: "公式太复杂"
},
],
+ 'editFeeFormulaInfo.price': [
+ {
+ limit: "required",
+ param: "",
+ errInfo: "单价不能为空"
+ },
+ {
+ limit: "money",
+ param: "",
+ errInfo: "单价填写有误,如1.50"
+ },
+ ],
'editFeeFormulaInfo.formulaDesc': [
{
limit: "maxLength",
@@ -87,7 +99,7 @@
formulaId: '',
formulaValue: '',
formulaDesc: '',
-
+ price:''
}
}
}
diff --git a/public/pages/property/feeFormulaManage/feeFormulaManage.html b/public/pages/property/feeFormulaManage/feeFormulaManage.html
index 5700db14f..39d16aed8 100644
--- a/public/pages/property/feeFormulaManage/feeFormulaManage.html
+++ b/public/pages/property/feeFormulaManage/feeFormulaManage.html
@@ -18,6 +18,7 @@
| 公式ID |
公式 |
+ 单价 |
描述 |
操作 |
@@ -26,6 +27,7 @@
| {{feeFormula.formulaId}} |
{{feeFormula.formulaValue}} |
+ {{feeFormula.price}} |
{{feeFormula.formulaDesc}} |
|