Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -104,7 +104,10 @@ Page({ | @@ -104,7 +104,10 @@ Page({ | ||
| 104 | let tx=await bcm.getTimeSpaceIndexData(this.bookInfo.rdate); | 104 | let tx=await bcm.getTimeSpaceIndexData(this.bookInfo.rdate); |
| 105 | console.log(tx); | 105 | console.log(tx); |
| 106 | smsData = { | 106 | smsData = { |
| 107 | - reserve_date: util.unixtoTime(this.bookInfo.rdate,'MM月DD日')+' '+txa[tx.timeIndex], | 107 | + reserve_date: util.unixtoTime(this.bookInfo.rdate,'MM月DD日') |
| 108 | + .replace(/0(\d)/g,function($0,$1){ | ||
| 109 | + return $1; | ||
| 110 | + })+' '+txa[tx.timeIndex], | ||
| 108 | seller_name_addr_room: this.getTableNameShort(this.bookInfo.tables).substr(0, 20), | 111 | seller_name_addr_room: this.getTableNameShort(this.bookInfo.tables).substr(0, 20), |
| 109 | cusman: (this.bookInfo.cusman || this.bookInfo.seller.sellername).substr(0, 20), | 112 | cusman: (this.bookInfo.cusman || this.bookInfo.seller.sellername).substr(0, 20), |
| 110 | } | 113 | } |
-
Please register or login to post a comment