Commit 3b84df5a authored by xiangzj's avatar xiangzj

pad时间获取显示

parent e2fb3cb5
......@@ -170,10 +170,10 @@
:title-style="{'background-color':'#1E3770','color': '#FFFFFF' ,'line-height': '60px','padding-top': '0px'}"
v-model="aopen" width="1300rpx">
<u-form label-width="90px" :rules="rules">
<!-- <u-form-item label="异常时间" prop="abnormalTime">
<u-input :border="true" v-model="ExceptionForms.abnormalTime"></u-input>
<uni-datetime-picker class="times" type="date" :clear-icon="false" v-model="ExceptionForms.abnormalTime" />
</u-form-item> -->
<u-form-item label="异常时间" prop="abnormalTime">
<u-input disabled="true" :border="true" v-model="ExceptionForms.abnormalTime"></u-input>
<!-- <uni-datetime-picker class="times" type="date" :clear-icon="false" v-model="ExceptionForms.abnormalTime" /> -->
</u-form-item>
<u-row>
<u-col span="6">
......@@ -385,6 +385,7 @@
<script>
import SearchInput from "@/components/ScanInput/index.vue";
import dModelList from './components/dModelList.vue'
import timeFormat from '@/uview-ui/libs/function/timeFormat.js'
export default {
name: "ProdReport",
components: {
......@@ -605,7 +606,9 @@ export default {
dModelData: [],
tableSelectData: [],
feedbackForms: [],
ExceptionForms: {},
ExceptionForms: {
abnormalTime: timeFormat(new Date(), 'yyyy-mm-dd')
},
reasonList: [],
materialUsageRecordList: [],
materialusagerecordLoading: false,
......@@ -1043,7 +1046,7 @@ export default {
workstationName: this.vuex_workunit.workunitName,
abnormalType: '',
abnormalReason: '',
abnormalTime: ''
abnormalTime: timeFormat(new Date(), 'yyyy-mm-dd')
})
this.aopen = true;
},
......
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