|
@@ -1172,7 +1172,7 @@ export default {
|
|
datas = this.form.ruleList.map((item) => {
|
|
datas = this.form.ruleList.map((item) => {
|
|
return {
|
|
return {
|
|
...item,
|
|
...item,
|
|
- operationThreshold:item.operationThreshold,
|
|
|
|
|
|
+ operationThreshold:item.operationValue=='price'?item.operationThreshold:item.operationThreshold/100,
|
|
ruleDetail: item.ruleDetail.map((end) => {
|
|
ruleDetail: item.ruleDetail.map((end) => {
|
|
if (isArray(item.ruleDetail[0])) {
|
|
if (isArray(item.ruleDetail[0])) {
|
|
var data = end.map((c) => {
|
|
var data = end.map((c) => {
|
|
@@ -1337,7 +1337,7 @@ export default {
|
|
var data = this.form.ruleList.map((item) => {
|
|
var data = this.form.ruleList.map((item) => {
|
|
return {
|
|
return {
|
|
...item,
|
|
...item,
|
|
- operationThreshold:item.operationThreshold,
|
|
|
|
|
|
+ operationThreshold:!!item.operationThreshold?item.operationValue=='price'?item.operationThreshold:item.operationThreshold*100:undefined,
|
|
ruleDetail: item.ruleDetail.map((end) => {
|
|
ruleDetail: item.ruleDetail.map((end) => {
|
|
if (isArray(end)) {
|
|
if (isArray(end)) {
|
|
var data = end.map((c) => {
|
|
var data = end.map((c) => {
|