Commit f72a76b8 authored by jingnan's avatar jingnan 👀

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

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