@@ -107,6 +107,8 @@ Page({ | |||||
orderTypeOptions:res.data | orderTypeOptions:res.data | ||||
}); | }); | ||||
let param = { | let param = { | ||||
'orderType':that.data.value1, | |||||
'orderStatus':that.data.value2, | |||||
'billPayUnit' : this.data.value, | 'billPayUnit' : this.data.value, | ||||
pageNum:this.data.pageNums, | pageNum:this.data.pageNums, | ||||
pageSize:10, | pageSize:10, | ||||
@@ -130,25 +132,6 @@ Page({ | |||||
} | } | ||||
}) | }) | ||||
}, | }, | ||||
// delete(e){ | |||||
// var that = this; | |||||
// UTIL.httpRequest(API.URL_GET_MONEYORDERDELETE + e.currentTarget.dataset.id, {method:'GET'},{ | |||||
// success: (res) => { | |||||
// if (res.code == API.SUCCESS_CODE) { | |||||
// let list = that.data.moneyorderList | |||||
// list.splice(e.currentTarget.dataset.index, 1); | |||||
// wx.showToast({ | |||||
// title: '删除成功!', | |||||
// icon: 'success', | |||||
// duration: 2000 | |||||
// }) | |||||
// that.setData({ | |||||
// moneyorderList : list, | |||||
// }) | |||||
// } | |||||
// } | |||||
// }) | |||||
// }, | |||||
delete(e){ | delete(e){ | ||||
this.setData({ | this.setData({ | ||||
'itemId':e.currentTarget.dataset.id, | 'itemId':e.currentTarget.dataset.id, | ||||
@@ -251,7 +251,7 @@ | |||||
<view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>招标日期</view> | <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>招标日期</view> | ||||
<picker mode="date" value="{{form.biddingDate}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmBiddingDate"> | <picker mode="date" value="{{form.biddingDate}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmBiddingDate"> | ||||
<view class="picker"> | <view class="picker"> | ||||
{{form.biddingDate}} | |||||
{{form.biddingDate?form.biddingDate:'招标日期'}} | |||||
</view> | </view> | ||||
</picker> | </picker> | ||||
</view> | </view> | ||||
@@ -292,12 +292,12 @@ | |||||
<view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>审核时间</view> | <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>审核时间</view> | ||||
<picker mode="date" value="{{form.reviewTime}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmReviewTime"> | <picker mode="date" value="{{form.reviewTime}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmReviewTime"> | ||||
<view class="picker"> | <view class="picker"> | ||||
{{form.reviewTime}} | |||||
{{form.reviewTime?form.reviewTime:'审核时间'}} | |||||
</view> | </view> | ||||
</picker> | </picker> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="bottom"> | <view class="bottom"> | ||||
<view class="btn2" bindtap="goSubmit">保存</view> | |||||
<view class="btn2" bindtap="goSubmit" wx:if="{{form.contractionStatus==1}}">保存</view> | |||||
</view> | </view> |
@@ -24,6 +24,7 @@ | |||||
<view style="flex:1;"> | <view style="flex:1;"> | ||||
<text wx:if="{{item.contractionStatus=='1'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 154, 4,0.2);color:rgb(235, 154, 4);width:50px;line-height: 20px;">正常</text> | <text wx:if="{{item.contractionStatus=='1'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 154, 4,0.2);color:rgb(235, 154, 4);width:50px;line-height: 20px;">正常</text> | ||||
<text wx:if="{{item.contractionStatus=='2'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 4, 4,0.2);color:rgb(235, 4, 4);width:50px;line-height: 20px;">撤销</text> | <text wx:if="{{item.contractionStatus=='2'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 4, 4,0.2);color:rgb(235, 4, 4);width:50px;line-height: 20px;">撤销</text> | ||||
<text wx:if="{{item.contractionStatus=='3'}}" style="text-align: center;float:right;font-size:12px;background:rgb(235, 4, 4,0.2);color:rgb(235, 4, 4);width:50px;line-height: 20px;">终止</text> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view> | <view> | ||||
@@ -53,7 +54,7 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view slot="right" class="deleteBox"> | <view slot="right" class="deleteBox"> | ||||
<view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(255,0,0,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"> | |||||
<view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(255,0,0,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete" wx-if="{{item.contractionStatus=='1'}}"> | |||||
<view> | <view> | ||||
<image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image> | <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image> | ||||
</view> | </view> | ||||