Commit f72a76b8 authored by jingnan's avatar jingnan 👀

返厂出库,三期出库,报废出库创建传参字段缺失修改

parent 86706d76
......@@ -117,7 +117,8 @@ export default {
// 'taxPrice': r.jobResponse.jobOrder.taxPrice,
// 'stockUnitPrice': r.jobResponse.jobOrder.stockUnitPrice,
// 'purchaseOrderNo': r.jobResponse.jobOrder.purchaseOrderNo,
'operator': 'ADD'
'operator': 'ADD',
id: null
// 'remark': r.jobResponse.jobOrder.remark,
// 'isRoot': r.jobResponse.jobOrder.isRoot
......
......@@ -94,6 +94,7 @@ export default {
if (selection.find(row => !row.jobResponse || !row.jobResponse.jobOrder || !row.jobResponse.jobOrder.extMaterial)) return this.$utils.showMessageWarning('所选数据信息不全,请重新选择!')
const data = selection.map(r => {
return {
...r.jobResponse.jobOrder,
'subTypeName': 'OutStorageExpireItem',
'reqStatus': 'Apply',
'outStorageId': r.jobResponseId,
......@@ -125,6 +126,7 @@ export default {
'stockUnitPrice': r.jobResponse.jobOrder.stockUnitPrice,
'purchaseOrderNo': r.jobResponse.jobOrder.purchaseOrderNo,
'operator': 'ADD',
id: null,
remark: r.jobResponse.jobOrder.remark,
'isRoot': r.jobResponse.jobOrder.isRoot
......
......@@ -79,6 +79,7 @@ export default {
if (selection.length) {
const data = selection.map(r => {
return {
...r.jobResponse.jobOrder,
'subTypeName': 'OutStorageScrapItem',
'reqStatus': 'Apply',
'outStorageId': r.jobResponseId,
......@@ -110,6 +111,7 @@ export default {
'stockUnitPrice': r.jobResponse.jobOrder.stockUnitPrice,
'purchaseOrderNo': r.jobResponse.jobOrder.purchaseOrderNo,
'operator': 'ADD',
id: null,
remark: r.jobResponse.jobOrder.remark,
'isRoot': r.jobResponse.jobOrder.isRoot
}
......
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