Browse Source

修改申请

wms3.0_pda
lijuncheng 11 months ago
parent
commit
5336a12946
  1. 15
      common/array.js
  2. 36
      common/style/new_style.css
  3. 2
      mycomponents/request/requestFilter.vue
  4. 14
      pages/customerReturn/request/customerReturnRequest.vue
  5. 12
      pages/customerReturn/request/customerReturnRequestDetail.vue
  6. 14
      pages/deliver/request/deliverRequest.vue
  7. 15
      pages/deliver/request/deliverRequestDetail.vue
  8. 14
      pages/inspect/request/inspectRequest.vue
  9. 3
      pages/issue/coms/comIssueRequestDetailCard.vue
  10. 14
      pages/issue/request/issueRequest.vue
  11. 23
      pages/issue/request/issueRequestDetail.vue
  12. 14
      pages/productPutaway/request/putawayRequest.vue
  13. 12
      pages/productPutaway/request/putawayRequestDetail.vue
  14. 14
      pages/productionReturn/coms/comReturnCommonRequest.vue
  15. 2
      pages/productionReturn/coms/comReturnRequestInfo.vue
  16. 12
      pages/productionReturn/request/requestDetail.vue
  17. 14
      pages/purchaseReturn/request/returnRequest.vue
  18. 18
      pages/purchaseReturn/request/returnRequestDetail.vue
  19. 14
      pages/putaway/request/putawayRequest.vue
  20. 11
      pages/putaway/request/putawayRequestDetail.vue
  21. 8
      pages/repleinsh/request/repleinshRequest.vue
  22. 1
      pages/scrap/request/scrapRequestCreate.vue
  23. 12
      pages/scrap/request/scrapRequestDetail.vue
  24. 14
      pages/scrap/request/scrapRrequest.vue
  25. 14
      pages/unPlanned/request/issueRequest.vue
  26. 12
      pages/unPlanned/request/issueRequestDetail.vue
  27. 12
      pages/unPlanned/request/receiptRequest.vue
  28. 18
      pages/unPlanned/request/receiptRequestDetail.vue

15
common/array.js

@ -73,14 +73,20 @@ export function getDetailAndHandleOption() {
];
return option_detail;
}
//详情、关闭
export function getDetailAndCloseOption() {
//详情、重新添加、关闭
export function getDetailAndAddAndCloseOption() {
let option_detail = [{
text: '详情',
style: {
backgroundColor: '#3C9CFF'
}
},
{
text: '重新\n添加',
style: {
backgroundColor: '#E6A23C'
}
},
{
text: '关闭',
style: {
@ -145,6 +151,11 @@ export function getRemoveOption() {
export function getAddAgainOption() {
let option_detail_remove = [{
text: '详情',
style: {
backgroundColor: '#3C9CFF'
}
}, {
text: '重新\n添加',
style: {
backgroundColor: '#E6A23C'

36
common/style/new_style.css

@ -2642,8 +2642,8 @@ button[disabled] {
*/
.request_status_new {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background: #CFF0BE;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}
@ -2653,8 +2653,8 @@ button[disabled] {
*/
.request_status_reviewing {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background: #ECEE1F;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}
@ -2664,8 +2664,8 @@ button[disabled] {
*/
.request_status_agreed {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background:#82E26E;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}
@ -2675,8 +2675,8 @@ button[disabled] {
*/
.request_status_refused {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background: #F33140;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}
@ -2686,8 +2686,8 @@ button[disabled] {
*/
.request_status_handling {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background: #3C9CFF;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}
@ -2697,8 +2697,8 @@ button[disabled] {
*/
.request_status_partial {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background: #D3FF3C;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}
@ -2708,8 +2708,8 @@ button[disabled] {
*/
.request_status_completed {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background: #D3FF3C;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}
@ -2719,8 +2719,8 @@ button[disabled] {
*/
.request_status_abort {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background: #F33140;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}
@ -2730,8 +2730,8 @@ button[disabled] {
*/
.request_status_cancelled {
font-size: 28rpx;
background: rgba(95, 203, 148, 0.2);
color: #22AF68;
background: #F33140;
color: #000000;
padding: 10rpx 20rpx 10rpx 20rpx;
border-radius: 10rpx;
}

2
mycomponents/request/requestFilter.vue

@ -96,7 +96,7 @@
this.$refs.popup.close()
},
switchChangeWait(isOn) {
let status = "";
let status = "1,2,3,4,5,6";
if (isOn) {
status = "6";
}

14
pages/customerReturn/request/customerReturnRequest.vue

@ -49,7 +49,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -67,14 +67,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
fromType: "requestType",
@ -88,7 +88,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -142,13 +142,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -194,7 +192,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if (status == "5") {
this.showOptions = this.addAgainOption;
} else {

12
pages/customerReturn/request/customerReturnRequestDetail.vue

@ -1,6 +1,14 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
客户代码 : {{requestContent.customerCode}}
</view>
<u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
@ -35,12 +43,14 @@
import comRequestDetailCard from "@/mycomponents/detail/comRequestDetailCard.vue"
import requestDetailInfoPopup from '@/pages/customerReturn/coms/requestDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestDetailInfoPopup,
comMessage,
requestTop
},
data() {
return {

14
pages/deliver/request/deliverRequest.vue

@ -47,7 +47,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -66,14 +66,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
fromType: "requestType",
@ -87,7 +87,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -142,13 +142,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -190,7 +188,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if(status == "5"){
this.showOptions = this.addAgainOption;
}else {

15
pages/deliver/request/deliverRequestDetail.vue

@ -1,5 +1,14 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
客户代码 : {{requestContent.customerCode}}
</view>
<u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="page-header">
@ -41,13 +50,15 @@
import requestDetailInfoPopup from '@/pages/deliver/coms/requestDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import itemQty from '@/mycomponents/item/itemQty.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestDetailInfoPopup,
comMessage,
itemQty
itemQty,
requestTop
},
data() {
return {
@ -89,7 +100,7 @@
that.showMessage('未获取到详情');
} else {
that.detailSource = res.data
that.requestContent = res.data;
// if (res.data.subList.length > 0) {
// that.requestContent = res.data;
// that.subList = res.data.subList;

14
pages/inspect/request/inspectRequest.vue

@ -46,7 +46,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -64,14 +64,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption:[],
showOptions: [],
fromType: "requestType",
@ -85,7 +85,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -133,7 +133,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if(status == "5"){
this.showOptions = this.addAgainOption;
}else {
@ -153,13 +153,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,

3
pages/issue/coms/comIssueRequestDetailCard.vue

@ -3,8 +3,7 @@
<view class="uni-flex uni-column">
<!-- <com-issue-request-info :workShopCode="dataContent.workshopCode" :dataContent="requestItem">
</com-issue-request-info> -->
<work-station :workshopCode="dataContent.workShopCode" :productionLineCode="requestItem.productionLineCode"
:workStationCode="requestItem.workStationCode" :rawLocationCode="requestItem.toLocationCode"></work-station>
<uni-swipe-action ref="swipeAction">
<view v-for="(item, index) in dataContent.subList" :key="index">

14
pages/issue/request/issueRequest.vue

@ -50,7 +50,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -69,14 +69,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption:[],
showOptions: [],
fromType: "requestType",
@ -89,7 +89,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption();
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -141,13 +141,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -192,7 +190,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if(status == "5"){
this.showOptions = this.addAgainOption;
}else {

23
pages/issue/request/issueRequestDetail.vue

@ -1,5 +1,17 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
<work-station :workshopCode="requestContent.workshopCode"
:productionLineCode="titleInfo.productionLineCode" :workStationCode="titleInfo.workStationCode"
:rawLocationCode="titleInfo.toLocationCode"></work-station>
</view>
</view>
<u-line color="#D8D8D8" />
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list">
@ -35,22 +47,25 @@
getDataSource,
} from '@/common/detail.js';
import comIssueRequestDetailCard from "@/pages/issue/coms/comIssueRequestDetailCard.vue"
import comMessage from '@/mycomponents/common/comMessage.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
import workStation from '@/mycomponents/workStation/workStation.vue'
export default {
components: {
comIssueRequestDetailCard,
comMessage,
requestTop,
workStation
},
data() {
return {
id: '',
requestContent: {}, //
subList: [], //
type: 'query' //add, query
type: 'query', //add, query
titleInfo: {}
};
},
onLoad(option) {
@ -88,7 +103,9 @@
} else {
if (res.data.subList.length > 0) {
that.requestContent = res.data;
that.requestContent.subList = res.data.subList;
that.titleInfo = that.requestContent.subList[0]
that.subList = res.data.subList;
// that.subList.forEach(res => {
// res.fromLocationCode = res.toLocationCode

14
pages/productPutaway/request/putawayRequest.vue

@ -51,7 +51,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -69,14 +69,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
loadingType: "nomore",
@ -89,7 +89,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -147,13 +147,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -200,7 +198,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if (status == "5") {
this.showOptions = this.addAgainOption;
} else {

12
pages/productPutaway/request/putawayRequestDetail.vue

@ -1,6 +1,14 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
供应商 : {{requestContent.supplierCode}}
</view>
<u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
@ -34,12 +42,14 @@
import comRequestDetailCard from "@/mycomponents/detail/comRequestDetailCard.vue"
import requestDetailInfoPopup from '@/pages/productPutaway/coms/requestDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestDetailInfoPopup,
comMessage,
requestTop
},
data() {
return {

14
pages/productionReturn/coms/comReturnCommonRequest.vue

@ -50,7 +50,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -69,14 +69,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
loadingType: "nomore",
@ -110,7 +110,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
this.updateTitle();
this.getList('refresh');
@ -163,13 +163,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
filters.push({
column: "business_type",
action: "==",
@ -223,7 +221,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if (status == "5") {
this.showOptions = this.addAgainOption;
} else {

2
pages/productionReturn/coms/comReturnRequestInfo.vue

@ -1,5 +1,5 @@
<template>
<view class="cen_card" style="padding: 20rpx;">
<view class="cen_card" style="padding: 0rpx;">
<view class="cell_box uni-flex uni-row">
<view class="cell_info">
<view class="text_lightblue">车间</view>

12
pages/productionReturn/request/requestDetail.vue

@ -1,9 +1,16 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
<comReturnRequestInfo :workShopCode="requestContent.workshopCode" :dataContent="requestContent">
</comReturnRequestInfo>
</view>
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
@ -39,14 +46,15 @@
import requestDetailInfoPopup from '@/pages/productionReturn/coms/requestDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import comReturnRequestInfo from '@/pages/productionReturn/coms/comReturnRequestInfo.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestDetailInfoPopup,
comMessage,
comReturnRequestInfo
comReturnRequestInfo,
requestTop
},
data() {
return {

14
pages/purchaseReturn/request/returnRequest.vue

@ -49,7 +49,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -68,14 +68,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
fromType: "requestType",
@ -89,7 +89,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -141,13 +141,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -193,7 +191,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if (status == "5") {
this.showOptions = this.addAgainOption;
} else {

18
pages/purchaseReturn/request/returnRequestDetail.vue

@ -1,11 +1,19 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
供应商 : {{requestContent.supplierCode}}
</view>
<u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="">
<com-request-detail-card :dataContent="item"
@openDetail="openDetail">
<com-request-detail-card :dataContent="item" @openDetail="openDetail">
</com-request-detail-card>
</view>
</view>
@ -34,12 +42,15 @@
import comRequestDetailCard from "@/mycomponents/detail/comRequestDetailCard.vue"
import requestDetailInfoPopup from '@/pages/purchaseReturn/coms/requestDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestDetailInfoPopup,
comMessage,
requestTop
},
data() {
return {
@ -101,8 +112,7 @@
showMessage(message) {
this.$refs.comMessage.showMessage(message, res => {
if (res) {
}
if (res) {}
});
},

14
pages/putaway/request/putawayRequest.vue

@ -50,7 +50,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -69,14 +69,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
fromType: "requestType",
@ -89,7 +89,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -142,13 +142,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -194,7 +192,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if (status == "5") {
this.showOptions = this.addAgainOption;
} else {

11
pages/putaway/request/putawayRequestDetail.vue

@ -1,5 +1,14 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
供应商 : {{requestContent.supplierCode}}
</view>
<u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
@ -35,12 +44,14 @@
import comRequestDetailCard from "@/mycomponents/detail/comRequestDetailCard.vue"
import requestDetailInfoPopup from '@/pages/putaway/coms/requestDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestDetailInfoPopup,
comMessage,
requestTop
},
data() {
return {

8
pages/repleinsh/request/repleinshRequest.vue

@ -42,7 +42,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption
getDetailAndAddAndCloseOption
} from '@/common/array.js';
export default {
@ -70,7 +70,7 @@
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
showOptions: [],
fromType: "requestType",
loadingType: "nomore",
@ -81,7 +81,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -179,7 +179,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else {
this.showOptions = this.detailOptions;
}

1
pages/scrap/request/scrapRequestCreate.vue

@ -81,6 +81,7 @@
import winScanPackAndLocation from "@/mycomponents/scan/winScanPackAndLocation.vue"
import recordComDetailCard from '@/mycomponents/record/recordComDetailCard.vue'
export default {
components: {
winScanButton,

12
pages/scrap/request/scrapRequestDetail.vue

@ -1,6 +1,14 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
从仓库代码 : {{requestContent.fromWarehouseCode}}
</view>
<u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
@ -34,12 +42,14 @@
import comRequestDetailCard from "@/mycomponents/detail/comRequestDetailCard.vue"
import requestDetailInfoPopup from '@/pages/scrap/coms/requestDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestDetailInfoPopup,
comMessage,
requestTop
},
data() {
return {

14
pages/scrap/request/scrapRrequest.vue

@ -49,7 +49,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -67,14 +67,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
fromType: "requestType",
@ -88,7 +88,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -140,13 +140,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -192,7 +190,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if (status == "5") {
this.showOptions = this.addAgainOption;
} else {

14
pages/unPlanned/request/issueRequest.vue

@ -51,7 +51,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -70,14 +70,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
fromType: "requestType",
@ -91,7 +91,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -144,13 +144,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
action: "in",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -198,7 +196,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if (status == "5") {
this.showOptions = this.addAgainOption;
} else {

12
pages/unPlanned/request/issueRequestDetail.vue

@ -1,6 +1,14 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
从仓库代码 : {{requestContent.fromWarehouseCode}}
</view>
<u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
@ -34,12 +42,14 @@
import comRequestDetailCard from "@/mycomponents/detail/comRequestDetailCard.vue"
import requestIssDetailInfoPopup from '@/pages/unPlanned/coms/requestIssDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestIssDetailInfoPopup,
comMessage,
requestTop
},
data() {
return {

12
pages/unPlanned/request/receiptRequest.vue

@ -50,7 +50,7 @@
getDetailAndApproveOption,
getDetailAndApprovePassAndApproveNoOption,
getDetailAndHandleOption,
getDetailAndCloseOption,
getDetailAndAddAndCloseOption,
getAddAgainOption
} from '@/common/array.js';
@ -69,14 +69,14 @@
requestList: [],
pageNo: 1,
pageSize: 10,
status: "",
status: "1,2,3,4,5,6",
totalCount: 0,
checkedWaitTask: false,
detailOptions: [],
detailAndApproveOptions: [],
detailAndApprovePassAndApproveNoOption: [],
detailAndHandleOption: [],
detailAndCloseOption: [],
detailAndAddAndCloseOption: [],
addAgainOption: [],
showOptions: [],
fromType: "requestType",
@ -90,7 +90,7 @@
this.detailAndApproveOptions = getDetailAndApproveOption()
this.detailAndApprovePassAndApproveNoOption = getDetailAndApprovePassAndApproveNoOption(),
this.detailAndHandleOption = getDetailAndHandleOption()
this.detailAndCloseOption = getDetailAndCloseOption()
this.detailAndAddAndCloseOption = getDetailAndAddAndCloseOption()
},
onReachBottom() {
@ -143,13 +143,11 @@
this.requestList = [];
}
var filters = []
if (this.checkedWaitTask) {
filters.push({
column: "status",
action: "==",
value: this.status
})
}
var params = {
filters: filters,
pageNo: this.pageNo,
@ -195,7 +193,7 @@
} else if (status == "3") {
this.showOptions = this.detailAndHandleOption;
} else if (status == "4") {
this.showOptions = this.detailAndCloseOption;
this.showOptions = this.detailAndAddAndCloseOption;
} else if (status == "5") {
this.showOptions = this.addAgainOption;
} else {

18
pages/unPlanned/request/receiptRequestDetail.vue

@ -1,12 +1,19 @@
<template>
<view class="page-wraper">
<view class="page-header">
<view class="header_job_top">
<request-top :dataContent="requestContent"></request-top>
</view>
<view class="header_item">
到仓库代码 : {{requestContent.toWarehouseCode}}
</view>
<u-line color="#D8D8D8" />
</view>
<view class="page-main">
<scroll-view scroll-y="true" class="page-main-scroll">
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class="">
<comRequestDetailCard :dataContent="item"
@openDetail="openDetail">
<comRequestDetailCard :dataContent="item" @openDetail="openDetail">
</comRequestDetailCard>
</view>
</view>
@ -35,12 +42,14 @@
import comRequestDetailCard from "@/mycomponents/detail/comRequestDetailCard.vue"
import requestRecDetailInfoPopup from '@/pages/unPlanned/coms/requestRecDetailInfoPopup.vue'
import comMessage from '@/mycomponents/common/comMessage.vue'
import requestTop from "@/mycomponents/request/requestTop.vue"
export default {
components: {
comRequestDetailCard,
requestRecDetailInfoPopup,
comMessage,
requestTop
},
data() {
return {
@ -101,8 +110,7 @@
showMessage(message) {
this.$refs.comMessage.showMessage(message, res => {
if (res) {
}
if (res) {}
});
},

Loading…
Cancel
Save