Commit c4e1a309 authored by 黄媛媛's avatar 黄媛媛

1

parent 3372192e
......@@ -124,11 +124,11 @@
},
change(index){
if(index==1){
if(index==0){
this.msg.SelectBillState = -1;
}else if(index ==2){
}else if(index ==1){
this.msg.SelectBillState = 1;
}else if(index ==3){
}else if(index ==2){
this.msg.SelectBillState = 2;
}
this.SelectBillState = index;
......
......@@ -92,15 +92,15 @@
<view class="popup_item">
<input class="uni-input inputM" v-model="msg.GoodsName" />
</view>
<text class="popupbox_text" style="margin-top: 15px;">下单时间</text>
<text class="popupbox_text" style="margin-top: 15px;">下单时间</text>
<view style="width: 96%;display: flex;flex-direction: row;align-items: center;justify-content: space-between;margin-left: 2%;height: 40px;">
<view class="popup_item_t" @click="godate(1)">
<text>{{msg.StartTime}}</text>
<text :style="{color:msg.StartTime==''?'#A5A4AC':'#111111'}">{{msg.StartTime==''?'开始时间':msg.StartTime}}</text>
</view>
<view>-</view>
<view class="popup_item_t" @click="godate(2)">
<text>{{msg.EndTime}}</text>
<text :style="{color:msg.EndTime==''?'#A5A4AC':'#111111'}">{{msg.EndTime==''?'结束时间':msg.EndTime}}</text>
</view>
</view>
......@@ -117,17 +117,13 @@
</u-popup>
<u-picker mode="selector" v-model="showmodel" :range="array" range-key="Name" @confirm= 'choosesupplier'></u-picker>
<u-picker v-model="showpicker" mode="time" @confirm='dateconfirm'></u-picker>
<u-picker v-model="showpicker" mode="time" @confirm='dateconfirm' :default-time='datetype==1?msg.StartTime:msg.EndTime'></u-picker>
</view>
</template>
<script>
import wPicker from "../foot/w-picker/w-picker.vue"
export default {
components:{
wPicker
},
data() {
return {
pageTitle: "供应商订单",
......@@ -167,7 +163,8 @@
nomore: "没有更多了",
},
cHeight:0,
array:[]
array:[],
datetype:1,
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment