Browse Source

采购上架任务主子合并,删掉注释

hella_vue3
zhang_li 7 months ago
parent
commit
e092299817
  1. 10
      src/api/request2.js
  2. 16
      src/pages/purchaseReturn/coms/comReturnJobCard.vue
  3. 8
      src/pages/purchaseReturn/coms/comReturnRequestCard.vue
  4. 7
      src/pages/putaway/coms/comPutawayRequestCard.vue
  5. 14
      src/pages/putaway/request/putawayRequest.vue

10
src/api/request2.js

@ -1166,14 +1166,20 @@ export function putawayJobSubmit(params) {
* 获取日期任务列表
* @param {*}
*/
// export function getPutawayRequestList(params) {
// return request({
// url: baseApi + "/wms/putaway-request-main/senior",
// method: "post",
// data: params,
// });
// }
export function getPutawayRequestList(params) {
return request({
url: baseApi + "/wms/putaway-request-main/senior",
url: baseApi + "/wms/putaway-request-detail/senior",
method: "post",
data: params,
});
}
/**
* 采购上架申请 获取任务明细
* @param {*} id 任务id

16
src/pages/purchaseReturn/coms/comReturnJobCard.vue

@ -1,22 +1,6 @@
<template>
<job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<!-- <view class="task_item">
<view class="task_item">
<view class="task_text">
<view class="">
申请单号 : {{dataContent.requestNumber}}
</view>
</view>
</view>
<view class="task_item">
<view class="task_text">
<view class="">
供应商 : {{dataContent.supplierCode}}
</view>
</view>
</view>
</view> -->
</job-com-main-card>
</template>

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

@ -1,14 +1,6 @@
<template>
<request-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<!-- <view class="task_item">
<view class="task_text">
收货单号 : {{dataContent.purchaseReceiptRecordNumber}}
</view>
<view class="task_text">
供应商代码 : {{dataContent.supplierCode}}
</view>
</view> -->
</request-com-main-card>
</template>

7
src/pages/putaway/coms/comPutawayRequestCard.vue

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

14
src/pages/putaway/request/putawayRequest.vue

@ -120,7 +120,7 @@
openRequestDetail(item) {
uni.navigateTo({
url: './putawayRequestDetail?id=' + item.id
url: './putawayRequestDetail?id=' + item.masterId
});
},
openRequestInfoPopup(item) {
@ -215,27 +215,27 @@
this.openRequestInfoPopup(dataContent);
} else if (text == "处理") {
this.showQuestionMessage("确定要处理当前申请吗?", res => {
this.putawayRequestHandle(dataContent.id)
this.putawayRequestHandle(dataContent.masterId)
})
} else if (text == "提交审批") {
this.showQuestionMessage("确定要审批当前申请吗?", res => {
this.putawayRequestApprove(dataContent.id)
this.putawayRequestApprove(dataContent.masterId)
})
} else if (text == "审批通过") {
this.showQuestionMessage("确定要审批通过当前申请吗?", res => {
this.putawayRequestApproveAgree(dataContent.id)
this.putawayRequestApproveAgree(dataContent.masterId)
})
} else if (text == "审批驳回") {
this.showQuestionMessage("确定要审批驳回当前申请吗?", res => {
this.putawayRequestApproveRefused(dataContent.id)
this.putawayRequestApproveRefused(dataContent.masterId)
})
} else if (text == "关闭") {
this.showQuestionMessage("确定要关闭当前申请吗?", res => {
this.putawayRequestClose(dataContent.id)
this.putawayRequestClose(dataContent.masterId)
})
} else if (text == "重新添加") {
this.showQuestionMessage("确定要重新添加当前申请吗?", res => {
this.putawayRequestAddAgain(dataContent.id)
this.putawayRequestAddAgain(dataContent.masterId)
})
}
},

Loading…
Cancel
Save