Browse Source

采购退货申请主子合并

hella_vue3
zhang_li 7 months ago
parent
commit
3945e8c62c
  1. 11
      src/api/request2.js
  2. 7
      src/pages/purchaseReturn/coms/comReturnRequestCard.vue

11
src/api/request2.js

@ -867,14 +867,21 @@ export function purchaseReturnJobsubmit(params) {
* 获取日期任务列表 * 获取日期任务列表
* @param {*} * @param {*}
*/ */
// export function getPurchaseReturnRequestList(params) {
// return request({
// url: baseApi + "/wms/purchasereturn-request-main/senior",
// method: "post",
// data: params,
// });
// }
export function getPurchaseReturnRequestList(params) { export function getPurchaseReturnRequestList(params) {
return request({ return request({
url: baseApi + "/wms/purchasereturn-request-main/senior", url: baseApi + "/wms/purchasereturn-request-detail/senior",
method: "post", method: "post",
data: params, data: params,
}); });
} }
/** /**
* 采购退货 获取申请任务明细 * 采购退货 获取申请任务明细
* @param {*} id 任务id * @param {*} id 任务id

7
src/pages/purchaseReturn/coms/comReturnRequestCard.vue

@ -1,21 +1,24 @@
<template> <template>
<request-com-main-card :dataContent="dataContent"> <request-com-main-card :dataContent="dataContent">
<view class="task_item"> <jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<!-- <view class="task_item">
<view class="task_text"> <view class="task_text">
收货单号 : {{dataContent.purchaseReceiptRecordNumber}} 收货单号 : {{dataContent.purchaseReceiptRecordNumber}}
</view> </view>
<view class="task_text"> <view class="task_text">
供应商代码 : {{dataContent.supplierCode}} 供应商代码 : {{dataContent.supplierCode}}
</view> </view>
</view> </view> -->
</request-com-main-card> </request-com-main-card>
</template> </template>
<script> <script>
import requestComMainCard from '@/mycomponents/request/requestComMainCard.vue' import requestComMainCard from '@/mycomponents/request/requestComMainCard.vue'
import jobComMainDetailCard from '@/mycomponents/job/jobComMainDetailCard.vue'
export default { export default {
components: { components: {
requestComMainCard, requestComMainCard,
jobComMainDetailCard
}, },
data() { data() {
return {}; return {};

Loading…
Cancel
Save