lilei il y a 1 an
Parent
commit
64cc16f26c

+ 3 - 3
src/api/sparePartsReturn.js

@@ -114,7 +114,7 @@ export const sparePartsReturnDetailDelete = (params) => {
     data: params,
     method: 'post',
     headers:{
-      'module': encodeURIComponent('删除明细')
+      'module': encodeURIComponent('删除')
     }
   })
 }
@@ -126,7 +126,7 @@ export const sparePartsReturnDetailSave = (params) => {
     data: params,
     method: 'post',
     headers:{
-      'module': encodeURIComponent('添加/编辑')
+      'module': encodeURIComponent(params.sparePartsReturnDetailSn ? '编辑申请退货数量':'添加')
     }
   })
 }
@@ -139,7 +139,7 @@ export const sparePartsReturnExportDetail = (params) => {
     method: 'post',
     responseType: 'blob',
     headers:{
-      'module': encodeURIComponent('导出')
+      'module': encodeURIComponent('导出明细')
     }
   })
 }

+ 2 - 1
src/views/purchasingManagement/purchaseReturn/queryPart.vue

@@ -49,7 +49,8 @@
       class="sTable"
       ref="chooseTable"
       size="small"
-      :rowKey="(record) => record.id"
+      :rowKey="(record) => record.no"
+      rowKeyName="no"
       :row-selection="{ columnWidth: 40,getCheckboxProps: record => ({ props: { disabled: record.currentStockQty == 0 || record.isCheckedFlag} }) }"
       @rowSelection="rowSelectionFun"
       :columns="columns"