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

打样工单时间不可以选

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