lilei 2 years ago
parent
commit
197485cb85

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1690513618750
+  "version": 1690523713608
 }

+ 2 - 2
src/views/purchasingManagement/purchaseReturnApplyForm/chooseImportModal.vue

@@ -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 || '--' } })