Commit 4a785bd2cf3fbf9f3fafe4eedf3b440e20874ff4

Authored by wangfan
1 parent 8a54f9ac

精简短信模板

Showing 1 changed file with 4 additions and 1 deletions
... ... @@ -104,7 +104,10 @@ Page({
let tx=await bcm.getTimeSpaceIndexData(this.bookInfo.rdate);
console.log(tx);
smsData = {
reserve_date: util.unixtoTime(this.bookInfo.rdate,'MM月DD日')+' '+txa[tx.timeIndex],
reserve_date: util.unixtoTime(this.bookInfo.rdate,'MM月DD日')
.replace(/0(\d)/g,function($0,$1){
return $1;
})+' '+txa[tx.timeIndex],
seller_name_addr_room: this.getTableNameShort(this.bookInfo.tables).substr(0, 20),
cusman: (this.bookInfo.cusman || this.bookInfo.seller.sellername).substr(0, 20),
}
... ...