Browse Source

验厂申请

devlop
mo-bai 4 years ago
parent
commit
c478eeab11
2 changed files with 6 additions and 2 deletions
  1. 3
      pages/apply-inspection/index.vue
  2. 5
      pages/device-production-detail/index.vue

3
pages/apply-inspection/index.vue

@ -120,6 +120,9 @@ export default {
timer: 0
}
},
onLoad(options) {
this.factoryId = options.factoryId
},
methods: {
back,
//

5
pages/device-production-detail/index.vue

@ -6,7 +6,7 @@
<view class="justify-between group_6">
<text class="text_5">生产数据</text>
<view class="flex-row group_7">
<qn-datetime-picker :border="false" type="daterange" @change="dateRangeChange">
<qn-datetime-picker :end="maxTimestamp" :border="false" type="daterange" @change="dateRangeChange">
<text>{{ (dateRange ? `${dateRange[0]}${dateRange[1]}` : '全部') | formatDate }}</text>
</qn-datetime-picker>
<image v-show="!dateRange" src="/static/imgs/digital-workshops/down-arrow-icon.png" class="image-icon" />
@ -48,7 +48,8 @@ export default {
return {
id: null,
dateRange: null,
curDevice: {}
curDevice: {},
maxTimestamp: new Date().getTime()
}
},
onLoad(options) {

Loading…
Cancel
Save