Commit c4d0d487 authored by 张海景's avatar 张海景

update:修改生产排产传参

parent eddea253
......@@ -548,13 +548,14 @@ export default {
});
},
handleSumbitScheduleList() {
if (this.$refs.orderListRef.ids&&this.$refs.orderListRef.ids.length > 0) {
let formData = this.$refs.orderListRef.selectedRows.forEach(item => {
if (this.$refs.orderListRef.selectedRows&&this.$refs.orderListRef.selectedRows.length > 0) {
let formData = this.$refs.orderListRef.selectedRows.map(item => {
return {
workorderId: item.workorderId,
arrangeCode: item.arrangeCode
}
});
console.log(formData, 'formData')
makeSchedule(formData).then(response => {
this.$modal.msgSuccess("排程成功");
this.scheduleVisible = 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