优化
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 factoryCalendar from '@/api/wms/pdm/factoryCalendar'
|
||||
import producetask from '@/api/wms/pdm/producetask'
|
||||
import Date from '@/utils/datetime'
|
||||
|
||||
const defaultForm = {
|
||||
factorycalendar_id: null,
|
||||
@@ -511,10 +512,10 @@ export default {
|
||||
})
|
||||
},
|
||||
updateCalendar() {
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const today = (new Date()).strftime('%F', 'zh')
|
||||
this.update_calendar = true
|
||||
const _selectData = this.$refs.table.selection
|
||||
const row = _selectData[0]
|
||||
this.value = row.factorycale_startdate
|
||||
this.value = today.substring(0, 10)
|
||||
this.getDayList()
|
||||
},
|
||||
pickStartDay(val) {
|
||||
|
||||
Reference in New Issue
Block a user