|
|
@ -242,10 +242,12 @@ Page({ |
|
|
} else { |
|
|
} else { |
|
|
var that = this |
|
|
var that = this |
|
|
// this.biddingDialog.showBidding(this.data.orderInfo)
|
|
|
// this.biddingDialog.showBidding(this.data.orderInfo)
|
|
|
|
|
|
var price = this.data.offered || that.data.orderInfo.unitPrice |
|
|
this.wuxDialog.prompt({ |
|
|
this.wuxDialog.prompt({ |
|
|
offer: true, |
|
|
offer: true, |
|
|
title: '商品报价', |
|
|
title: '商品报价', |
|
|
value: that.formatePrice(that.data.orderInfo.unitPrice, app.globalData.kg), |
|
|
|
|
|
|
|
|
min: that.formatePrice(that.data.orderInfo.unitPrice, app.globalData.kg), |
|
|
|
|
|
value: that.formatePrice(price, app.globalData.kg), |
|
|
step: that.formatePrice(that.data.orderInfo.biddingRange, app.globalData.kg), |
|
|
step: that.formatePrice(that.data.orderInfo.biddingRange, app.globalData.kg), |
|
|
content: '请输入您的报价(元/' + (app.globalData.kg ? 'KG' : '吨') + ')', |
|
|
content: '请输入您的报价(元/' + (app.globalData.kg ? 'KG' : '吨') + ')', |
|
|
fieldtype: app.globalData.kg ? 'digit' : 'numger', |
|
|
fieldtype: app.globalData.kg ? 'digit' : 'numger', |
|
|
|