摘要:
formatSeconds: function(value) { let that = this; var chetheTime = parseInt(value); // value是时间戳 var timestamp = (new Date()).getTime(); var date3 = chetheTime - timestamp; //计算出相差天数 var days = Math.f 阅读全文
摘要:
/** * 保存或者修改商品信息 * @returns */ function saveOrUpdateBaseGoodInfo(){ var json={}; var goodName=$.trim($("#goodName").val()); if(!goodName){ Feng.info("商品名称不能为空!"); return; } json["name"]=goodName; var 阅读全文