Commit f5429f1f authored by “lixuyan”'s avatar “lixuyan”

修改materialId

parent 1ff3a0d0
......@@ -73,6 +73,7 @@ export default {
},
adjustCardCreate(e, type) {
let arr = []
let materialId = null
if (e.el.selectedData.length === 0) {
arr = [
{
......@@ -81,6 +82,7 @@ export default {
targetIdType: 'extSupportingItem'
}
]
materialId = null
} else {
e.el.selectedData.forEach(element => {
arr.push({
......@@ -89,12 +91,14 @@ export default {
targetIdType: 'extSupportingItem'
})
})
materialId = e.el.selectedData[0].extMaterialId
}
const params = {
dxClassName: 'com.yonde.tf.mom.common.vo.schedule.AssignCardVO',
subTypeName: type,
operator: 'ADD',
assignCardDetails: arr
assignCardDetails: arr,
materialId: materialId
}
post(
'/AssignCard/recursion',
......
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