添加开发者发货功能
This commit is contained in:
@@ -11,7 +11,7 @@ Page({
|
||||
needDays: '',
|
||||
remark: '',
|
||||
actualAccount: 0,
|
||||
activeValues: [0, 1, 2, 3],
|
||||
activeValues: [0, 1, 2, 3, 4],
|
||||
demandInfo: null
|
||||
},
|
||||
|
||||
@@ -103,6 +103,24 @@ Page({
|
||||
urls: images
|
||||
});
|
||||
},
|
||||
//交付凭证截图预览
|
||||
onDeliveryImagePreview(e) {
|
||||
const { images, index } = e.currentTarget.dataset;
|
||||
const urls = (images || []).map(item => item.url);
|
||||
if (!urls.length) {
|
||||
return;
|
||||
}
|
||||
wx.previewImage({
|
||||
current: urls[index],
|
||||
urls
|
||||
});
|
||||
},
|
||||
//去发货(交付开发成果)
|
||||
deliverGoods() {
|
||||
wx.navigateTo({
|
||||
url: `/pages/demand/deliver/index?demandId=${this.data.id}`,
|
||||
});
|
||||
},
|
||||
//参与竞标
|
||||
submitBidding() {
|
||||
const { id, quotedPrice, needDays, remark } = this.data;
|
||||
|
||||
Reference in New Issue
Block a user