|
@@ -99,7 +99,7 @@ export default {
|
|
|
{ title: '单位', dataIndex: 'product.unit', align: 'center', width: '10%', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '申请退货数量', dataIndex: 'exprotQty', width: '14%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
]
|
|
|
- if(this.paramsData.goodFlag != 1){
|
|
|
+ if(this.paramsData&&this.paramsData.goodFlag != 1){
|
|
|
arr.push({ title: '退货原因', dataIndex: 'returnReason', width: '14%', align: 'center', customRender: function (text) { return text || '--' } })
|
|
|
}
|
|
|
arr.push({ title: '备注', dataIndex: 'returnReasonRemarks', width: '15%', align: 'center', customRender: function (text) { return text || '--' } })
|
|
@@ -113,7 +113,7 @@ export default {
|
|
|
{ title: '单位', dataIndex: 'product.unit', align: 'center', width: '8%', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '申请退货数量', dataIndex: 'exprotQty', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
]
|
|
|
- if(this.paramsData.goodFlag != 1){
|
|
|
+ if(this.paramsData&&this.paramsData.goodFlag != 1){
|
|
|
arr.push({ title: '退货原因', dataIndex: 'returnReason', width: '10%', align: 'center', customRender: function (text) { return text || '--' } })
|
|
|
}
|
|
|
arr.push({ title: '备注', dataIndex: 'returnReasonRemarks', width: '15%', align: 'center', customRender: function (text) { return text || '--' } })
|