Commit 1bc7bdb0 authored by 沈翠玲's avatar 沈翠玲

打样工单时间不可以选

parent 97ceb336
......@@ -122,15 +122,14 @@ export default {
/** 查询物料编码列表 */
getList() {
this.loading = true;
console.log(this.$attrs.workorderId, 'attrs')
getProWorkOrderProcessList({
workorderId: this.$attrs.workorderId
}).then((response) => {
this.tableForm.tableData = response.rows.map(item => {
return {
...item,
scheduleStartTime: this.$attrs.currentData.requestDate + ' 00:00:00',
scheduleEndTime: this.$attrs.currentData.requestDate + ' 00:00:00'
scheduleStartTime: this.$attrs.currentData.requestDate ? this.$attrs.currentData.requestDate + ' 00:00:00' : null,
scheduleEndTime: this.$attrs.currentData.requestDate ? this.$attrs.currentData.requestDate + ' 00:00:00' : null
}
})
this.loading = false;
......
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