Commit b8089d4c authored by 张海景's avatar 张海景

update:修改日期组件

parent 0ef7673d
......@@ -115,7 +115,7 @@
<!-- <u-input v-model="qcForm.inspector"></u-input>-->
<!-- <zxz-uni-data-select v-model="qcForm.inspector" filterable multiple dataKey="label" dataValue="value" :localdata="qcUserList" @change="change"></zxz-uni-data-select> -->
<u-input disabled v-model="qcForm.inspectorNickName"></u-input>
<u-button @tap="userTempVisible = true" type="success" size="mini">选择人员</u-button>
<u-button v-if="btnType !== 'firstView'" @tap="userTempVisible = true" type="success" size="mini">选择人员</u-button>
</u-form-item>
</u-col>
</u-row>
......
......@@ -70,6 +70,7 @@
style="padding: 0 80px;">
<view class="uni-date-changed--time-date">{{tempSingleDate ? tempSingleDate : selectDateText}}</view>
<time-picker type="time" :start="timepickerStartTime" :end="timepickerEndTime" v-model="time"
@submit="confirm"
:disabled="!tempSingleDate" :border="false" :hide-second="hideSecond" class="time-picker-style">
</time-picker>
</view>
......@@ -93,9 +94,9 @@
</view>
</view>
<view v-if="!insert" class="uni-date-changed uni-date-btn--ok">
<!-- <view v-if="!insert" class="uni-date-changed uni-date-btn--ok">
<view class="uni-datetime-picker--btn" @click="confirm">{{confirmText}}</view>
</view>
</view> -->
</view>
</view>
</template>
......@@ -594,6 +595,7 @@
this.tempRange.after = this.cale.multipleStatus.after
}
this.change()
this.confirm()
},
changeMonth(type) {
let newDate
......
......@@ -761,6 +761,7 @@
setTime() {
this.initTime()
this.tiggerTimePicker()
this.$emit('submit')
}
}
}
......
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