adjust volume and price lable
This commit is contained in:
parent
0e3bc60dd7
commit
861ba2eee6
2
index.js
2
index.js
@ -181,7 +181,7 @@ server.post('/addmonth_vp', bodyParser.json(), function (req, res) {
|
|||||||
sql = sql.replace(new RegExp("target_price",'g'),req.body.amount);
|
sql = sql.replace(new RegExp("target_price",'g'),req.body.amount);
|
||||||
sql = sql.replace(new RegExp("target_month",'g'),req.body.month);
|
sql = sql.replace(new RegExp("target_month",'g'),req.body.month);
|
||||||
sql = sql.replace(new RegExp("replace_version",'g'),req.body.scenario.version);
|
sql = sql.replace(new RegExp("replace_version",'g'),req.body.scenario.version);
|
||||||
sql = sql.replace(new RegExp("replace_iteration",'g'),"tool volume & price");
|
sql = sql.replace(new RegExp("replace_iteration",'g'),"tool volume and price");
|
||||||
sql = sql.replace(new RegExp("replace_iterdet",'g'),"addmonth_vupd");
|
sql = sql.replace(new RegExp("replace_iterdet",'g'),"addmonth_vupd");
|
||||||
sql = sql.replace(new RegExp("replace_iterdef",'g'),JSON.stringify(req.body));
|
sql = sql.replace(new RegExp("replace_iterdef",'g'),JSON.stringify(req.body));
|
||||||
//console.log(sql);
|
//console.log(sql);
|
||||||
|
Loading…
Reference in New Issue
Block a user