Commit 6c88352e authored by zhuli's avatar zhuli

Merge branch 'dev' of http://git.local.topsunit.com/mes/mes-ui into dev

parents 5b4ffb39 1bc7bdb0
......@@ -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