Commit 8d48244f by caoyanzhi

update: 会员标签

parent f66200f7
......@@ -1667,15 +1667,16 @@ export default {
*/
toEditDateInput(e, radio, parent) {
const codeList = ['firstCostTime', 'allChannelLastCostTime', 'allChannelFirstCostTime', 'lastCostTime'];
if (codeList.some(el => el == this.tagData.tagCode)) {
return;
}
const code = parent.templateCode;
let newNum;
newNum = Number(e.target.value) ? Math.floor(e.target.value) : 1;
if (newNum <= 0) {
newNum = 1;
}
if (codeList.some(el => el == this.tagData.tagCode)) {
parent.timeInput = newNum;
return;
}
// 天
if (code != 'tag020' && code != 'tag050' && newNum > 365 && radio == 1) {
newNum = 365;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment