story#6932,年月选择样式优化,禁止弹出键盘
This commit is contained in:
@ -36,17 +36,9 @@
|
||||
@focus="showDatetime = true"
|
||||
class="radioWrap"
|
||||
readonly
|
||||
v-model="form.scrapTime"
|
||||
:value="form.scrapTime?.substring(0,10)"
|
||||
input-align="right"
|
||||
> </van-field>
|
||||
<!-- <el-date-picker
|
||||
:disabled="type !== 'revise'"
|
||||
v-model="form.scrapTime"
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
format="yyyy-MM-dd">
|
||||
</el-date-picker>-->
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
@ -85,7 +77,7 @@
|
||||
@focus="showDatetime = true"
|
||||
class="radioWrap"
|
||||
readonly
|
||||
v-model="form.tradeTime"
|
||||
:value="form.tradeTime?.substring(0,10)"
|
||||
input-align="right"
|
||||
> </van-field>
|
||||
</div>
|
||||
@ -182,7 +174,6 @@ export default {
|
||||
}else if(this.form.salesChannel==3){
|
||||
this.form.scrapTime = timeFormat(new Date(data))
|
||||
}
|
||||
console.log("time",this.time)
|
||||
this.showDatetime = false;
|
||||
},
|
||||
// 审核操作
|
||||
|
Reference in New Issue
Block a user