优化
This commit is contained in:
@@ -322,6 +322,7 @@ import { getDepts, getDeptSuperior } from '@/api/system/dept'
|
|||||||
import ladrawer from '@/views/wms/pdm/base/factoryCalendar/AddDialog'
|
import ladrawer from '@/views/wms/pdm/base/factoryCalendar/AddDialog'
|
||||||
import factoryCalendar from '@/api/wms/pdm/factoryCalendar'
|
import factoryCalendar from '@/api/wms/pdm/factoryCalendar'
|
||||||
import producetask from '@/api/wms/pdm/producetask'
|
import producetask from '@/api/wms/pdm/producetask'
|
||||||
|
import Date from '@/utils/datetime'
|
||||||
|
|
||||||
const defaultForm = {
|
const defaultForm = {
|
||||||
factorycalendar_id: null,
|
factorycalendar_id: null,
|
||||||
@@ -511,10 +512,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
updateCalendar() {
|
updateCalendar() {
|
||||||
|
// eslint-disable-next-line no-unused-vars
|
||||||
|
const today = (new Date()).strftime('%F', 'zh')
|
||||||
this.update_calendar = true
|
this.update_calendar = true
|
||||||
const _selectData = this.$refs.table.selection
|
this.value = today.substring(0, 10)
|
||||||
const row = _selectData[0]
|
|
||||||
this.value = row.factorycale_startdate
|
|
||||||
this.getDayList()
|
this.getDayList()
|
||||||
},
|
},
|
||||||
pickStartDay(val) {
|
pickStartDay(val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user