Browse Source

生产管理标题

hella_online_20240829
wangyufei 2 months ago
parent
commit
25338b2896
  1. 3
      src/pages/customerReturn/job/returnDetail.vue
  2. 10
      src/pages/customerReturn/job/returnJob.vue
  3. 3
      src/pages/customerReturn/record/returnRecord.vue
  4. 8
      src/pages/customerReturn/request/customerReturnRequest.vue
  5. 3
      src/pages/customerReturn/request/customerReturnRequestDetail.vue
  6. 3
      src/pages/deliver/job/deliverDetail.vue
  7. 10
      src/pages/deliver/job/deliverJob.vue
  8. 3
      src/pages/deliver/record/deliverRecord.vue
  9. 3
      src/pages/material/materialDowngrade.vue
  10. 7
      src/pages/productPutaway/job/fgProductPutawayJob.vue
  11. 18
      src/pages/productPutaway/job/productPutawayDetail.vue
  12. 24
      src/pages/productPutaway/job/productPutawayJob.vue
  13. 7
      src/pages/productPutaway/job/semiProductPutawayJob.vue
  14. 3
      src/pages/productPutaway/record/productPutawayRecord.vue
  15. 10
      src/pages/productPutaway/request/putawayRequest.vue
  16. 3
      src/pages/productPutaway/request/putawayRequestDetail.vue
  17. 5
      src/pages/productReceipt/job/fgProductReceiptDetail.vue
  18. 7
      src/pages/productReceipt/job/fgProductReceiptJob.vue
  19. 6
      src/pages/productReceipt/job/productReceiptDetail.vue
  20. 32
      src/pages/productReceipt/job/productReceiptJob.vue
  21. 3
      src/pages/productReceipt/job/scrapReceiptDetail.vue
  22. 7
      src/pages/productReceipt/job/scrapReceiptJob.vue
  23. 7
      src/pages/productReceipt/job/semiProductReceiptJob.vue
  24. 3
      src/pages/productReceipt/record/productReceiptRecord.vue
  25. 12
      src/pages/productRecycle/job/productRecycleJob.vue
  26. 3
      src/pages/productRecycle/job/productRecycleJobDetail.vue
  27. 3
      src/pages/productRecycle/record/productRecycleRecord.vue
  28. 12
      src/pages/stockUp/job/stockUpJob.vue
  29. 3
      src/pages/stockUp/job/stockUpJobDetail.vue

3
src/pages/customerReturn/job/returnDetail.vue

@ -92,6 +92,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
if (this.id != undefined) {
//

10
src/pages/customerReturn/job/returnJob.vue

@ -71,8 +71,12 @@
status: '1,2', //
detailOptions: [],
detailGiveupOptions: [],
title:''
};
},
onLoad(option){
this.title = option.title
},
onShow() {
this.getList('refresh');
@ -158,7 +162,7 @@
var list = res.data.list;
this.totalCount = res.data.total
updateTitle("客户退货(" + this.totalCount + ")");
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "loadmore";
if (list == null || list.length == 0) {
this.loadingType = "nomore";
@ -171,7 +175,7 @@
if (type === "refresh") {
uni.stopPullDownRefresh();
}
updateTitle("客户退货任务");
updateTitle(this.title);
this.loadingType = "";
uni.hideLoading();
that.showMessage(error)
@ -180,7 +184,7 @@
openJobDetail(item) {
uni.navigateTo({
url: './returnDetail?id=' + item.masterId + '&status=' + item.status
url: './returnDetail?id=' + item.masterId + '&status=' + item.status+'&title='+this.title
});
},

3
src/pages/customerReturn/record/returnRecord.vue

@ -107,6 +107,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title
})
var typeCode = "CustomerReject"
getBusinessType(typeCode, res => {
if (res.success) {

8
src/pages/customerReturn/request/customerReturnRequest.vue

@ -77,6 +77,7 @@
showOptions: [],
fromType: "requestType",
loadingType: "nomore",
title:''
};
},
@ -101,6 +102,7 @@
this.getList('refresh');
},
onLoad(option) {
this.title = option.title
this.getList('refresh');
},
//
@ -124,7 +126,7 @@
},
openRequestDetail(item) {
uni.navigateTo({
url: './customerReturnRequestDetail?id=' + item.masterId
url: './customerReturnRequestDetail?id=' + item.masterId+'&title='+this.title
});
},
@ -158,7 +160,7 @@
var list = res.data.list;
this.totalCount = res.data.total
updateTitle("客户退货申请(" + this.totalCount + ")");
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "loadmore";
if (list == null || list.length == 0) {
this.loadingType = "nomore";
@ -176,7 +178,7 @@
uni.stopPullDownRefresh();
}
this.loadingType = "";
updateTitle("客户退货申请");
updateTitle(this.title);
uni.hideLoading();
that.showMessage(error)
})

3
src/pages/customerReturn/request/customerReturnRequestDetail.vue

@ -59,6 +59,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
this.getDetail();
},

3
src/pages/deliver/job/deliverDetail.vue

@ -116,6 +116,9 @@
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
if (this.id != undefined) {
//

10
src/pages/deliver/job/deliverJob.vue

@ -72,10 +72,12 @@
status: '1,2', //
detailOptions: [],
detailGiveupOptions: [],
businessType:''
businessType:'',
title:''
};
},
onLoad(option) {
this.title = option.title
this.businessType = option.businessType
},
onShow() {
@ -169,7 +171,7 @@
var list = res.data.list;
this.totalCount = res.data.total
updateTitle("制品发货任务(" + this.totalCount + ")");
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "loadmore";
if (list == null || list.length == 0) {
this.loadingType = "nomore";
@ -182,7 +184,7 @@
if (type === "refresh") {
uni.stopPullDownRefresh();
}
updateTitle("制品发货任务");
updateTitle(this.title);
this.loadingType = "";
uni.hideLoading();
that.showMessage(error)
@ -191,7 +193,7 @@
openJobDetail(item) {
uni.navigateTo({
url: './deliverDetail?id=' + item.masterId + '&status=' + item.status
url: './deliverDetail?id=' + item.masterId + '&status=' + item.status+'&title='+this.title
});
},

3
src/pages/deliver/record/deliverRecord.vue

@ -119,6 +119,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title
})
this.deliverType = option.deliverType
var typeCode = "Deliver"

3
src/pages/material/materialDowngrade.vue

@ -119,6 +119,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title
})
this.clear();
getBusinessType(this.businessTypeCode, res => {
if (res.success) {

7
src/pages/productPutaway/job/fgProductPutawayJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<productPutawayJob ref="productPutawayJob" type='assemble'></productPutawayJob>
<productPutawayJob :title="title" ref="productPutawayJob" type='assemble'></productPutawayJob>
</view>
</template>
@ -13,9 +13,12 @@
},
data() {
return {
title:''
};
},
onLoad(option){
this.title = option.title
},
onReachBottom() {
this.$refs.productPutawayJob.onReach();
},

18
src/pages/productPutaway/job/productPutawayDetail.vue

@ -118,20 +118,26 @@
status:''
};
},
onLoad(option) {
onLoad(option) {
this.id = option.id;
this.type = option.type;
this.scanedPackingNumber = option.scaned || '';
this.status = option.status || ''
if (this.type == 'predict') {
this.switchCode = "SemiPutawayLocationCodeValidate"
this.hintTitle="预生产上架"
updateTitle("预生产上架详情");
// this.hintTitle=""
// updateTitle("");
} else if (this.type == 'assemble') {
this.switchCode = "FgPutawayLocationCodeValidate"
this.hintTitle="成品入库"
updateTitle("成品入库详情");
}
// this.hintTitle=""
// updateTitle("");
}
this.hintTitle=option.title
uni.setNavigationBarTitle({
title: option.title+'详情'
})
},
onShow(){

24
src/pages/productPutaway/job/productPutawayJob.vue

@ -82,7 +82,11 @@
};
},
props: {
type: 'assemble',
type: 'assemble',
title:{
required:false,
default:''
}
},
mounted() {
@ -194,11 +198,7 @@
var list = res.data.list;
this.totalCount = res.data.total
this.loadingType = "loadmore";
if (this.type == 'predict') {
updateTitle("预生产上架任务(" + this.totalCount + ")");
} else if (this.type == 'assemble') {
updateTitle("成品入库任务(" + this.totalCount + ")");
}
updateTitle(this.title+"(" + this.totalCount + ")");
if (list == null || list.length == 0) {
this.loadingType = "nomore";
return;
@ -210,12 +210,8 @@
}).catch(error => {
if (type === "refresh") {
uni.stopPullDownRefresh();
}
if (this.type == 'predict') {
updateTitle("预生产上架任务(" + this.totalCount + ")");
} else if (this.type == 'assemble') {
updateTitle("成品入库任务(" + this.totalCount + ")");
}
}
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "";
uni.hideLoading();
that.showMessage(error)
@ -224,8 +220,8 @@
openJobDetail(item, packingNumber = '') {
uni.navigateTo({
url: './productPutawayDetail?id=' + item.masterId + '&status=' + item.status + '&type=' + item
.type + '&scaned=' + packingNumber
url: './productPutawayDetail?id=' + item.masterId + '&status=' + item.status + '&type=' + item.type + '&scaned=' + packingNumber +'&title='+this.title
});
},

7
src/pages/productPutaway/job/semiProductPutawayJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<productPutawayJob ref="productPutawayJob" type='predict'></productPutawayJob>
<productPutawayJob :title="title" ref="productPutawayJob" type='predict'></productPutawayJob>
</view>
</template>
@ -13,9 +13,12 @@
},
data() {
return {
title:''
};
},
onLoad(option){
this.title = option.title
},
onShow() {
if(this.$refs.productPutawayJob!=undefined){

3
src/pages/productPutaway/record/productPutawayRecord.vue

@ -108,6 +108,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title
})
this.type = option.type
if(this.type=='predict'){
updateTitle('制品上架记录')

10
src/pages/productPutaway/request/putawayRequest.vue

@ -78,9 +78,13 @@
addAgainOption: [],
showOptions: [],
loadingType: "nomore",
title:''
};
},
onLoad(option){
this.title = option.title
},
onReady() {
this.detailOptions = getDetailOption();
this.addAgainOption = getAddAgainOption();
@ -125,7 +129,7 @@
},
openRequestDetail(item) {
uni.navigateTo({
url: './putawayRequestDetail?id=' + item.masterId
url: './putawayRequestDetail?id=' + item.masterId+'&title='+this.title
});
},
@ -175,13 +179,13 @@
this.requestList = type === "refresh" ? list : this.requestList.concat(list);
this.pageNo++;
updateTitle("制品上架申请(" + this.totalCount + ")");
updateTitle(this.title+"(" + this.totalCount + ")");
}).catch(error => {
if (type === "refresh") {
uni.stopPullDownRefresh();
}
updateTitle("制品上架申请");
updateTitle(this.title);
this.loadingType = "";
uni.hideLoading();
that.showMessage(error)

3
src/pages/productPutaway/request/putawayRequestDetail.vue

@ -58,6 +58,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
this.getDetail();
},

5
src/pages/productReceipt/job/fgProductReceiptDetail.vue

@ -146,7 +146,10 @@
scanedPackingNumber: ''
};
},
onLoad(option) {
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
this.scanedPackingNumber = option.scaned || '';
if (this.id != undefined) {

7
src/pages/productReceipt/job/fgProductReceiptJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<product-receipt-job ref="productreceiptjob" type='assemble'></product-receipt-job>
<product-receipt-job :title="title" ref="productreceiptjob" type='assemble'></product-receipt-job>
</view>
</template>
@ -14,9 +14,12 @@
},
data() {
return {
title:''
};
},
onLoad(option){
this.title = option.title
},
onShow() {
if(this.$refs.productreceiptjob!=undefined){
this.$refs.productreceiptjob.refresh();

6
src/pages/productReceipt/job/productReceiptDetail.vue

@ -138,7 +138,11 @@
status:''
};
},
onLoad(option) {
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
this.scanedPackingNumber = option.scaned || '';
this.status = option.status || ''

32
src/pages/productReceipt/job/productReceiptJob.vue

@ -84,7 +84,11 @@
// type = 'assemble'
// type = 'predict'
props: {
type: 'assemble',
type: 'assemble',
title: {
type: String,
default: ''
},
},
@ -182,13 +186,8 @@
var list = res.data.list;
this.totalCount = res.data.total
if (this.type == 'predict') {
updateTitle("预生产收货任务(" + this.totalCount + ")");
} else if (this.type == 'assemble') {
updateTitle("装配收货任务(" + this.totalCount + ")");
} else {
updateTitle("报废收货任务(" + this.totalCount + ")");
}
//
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "more";
if (list == null || list.length == 0) {
this.loadingType = "noMore";
@ -202,13 +201,7 @@
if (type === "refresh") {
uni.stopPullDownRefresh();
}
if (this.type == 'predict') {
updateTitle("预生产收货任务(" + this.totalCount + ")");
} else if (this.type == 'assemble') {
updateTitle("装配收货任务(" + this.totalCount + ")");
} else {
updateTitle("报废收货任务(" + this.totalCount + ")");
}
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "";
uni.hideLoading();
that.showMessage(error)
@ -218,18 +211,15 @@
openJobDetail(item, packingNumber = '') {
if (this.type == 'predict') {
uni.navigateTo({
url: './productReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scaned=' +
packingNumber
url: './productReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scaned=' + packingNumber +'&title='+this.title
});
} else if (this.type == 'assemble') {
uni.navigateTo({
url: './fgProductReceiptDetail?id=' + item.masterId + '&status=' + item.status +
'&scaned=' + packingNumber
url: './fgProductReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scaned=' + packingNumber +'&title='+this.title
});
} else {
uni.navigateTo({
url: './scrapReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scaned=' +
packingNumber
url: './scrapReceiptDetail?id=' + item.masterId + '&status=' + item.status + '&scaned=' + packingNumber +'&title='+this.title
});
}
},

3
src/pages/productReceipt/job/scrapReceiptDetail.vue

@ -109,6 +109,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
if (this.id != undefined) {
//

7
src/pages/productReceipt/job/scrapReceiptJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<product-receipt-job ref="productreceiptjob" type='scrap'></product-receipt-job>
<product-receipt-job :title="title" ref="productreceiptjob" type='scrap'></product-receipt-job>
</view>
</template>
@ -14,9 +14,12 @@
},
data() {
return {
title:''
};
},
onLoad(option){
this.title = option.title
},
onReachBottom() {
this.$refs.productreceiptjob.onReach();
},

7
src/pages/productReceipt/job/semiProductReceiptJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<product-receipt-job ref="productreceiptjob" type='predict'></product-receipt-job>
<product-receipt-job :title="title" ref="productreceiptjob" type='predict'></product-receipt-job>
</view>
</template>
@ -14,9 +14,12 @@
},
data() {
return {
title:''
};
},
onLoad(option){
this.title = option.title
},
onReachBottom() {
this.$refs.productreceiptjob.onReach();
},

3
src/pages/productReceipt/record/productReceiptRecord.vue

@ -111,6 +111,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title
})
var typeCode = "ProductReceipt"
getBusinessType(typeCode, res => {
if (res.success) {

12
src/pages/productRecycle/job/productRecycleJob.vue

@ -69,9 +69,13 @@
todayTime: "",
status: '1,2', //
detailOptions: [],
detailGiveupOptions: []
detailGiveupOptions: [],
title:''
};
},
onLoad(option){
this.title = option.title
},
onShow() {
this.getList('refresh');
@ -159,7 +163,7 @@
}
var list = res.data.list;
this.totalCount = res.data.total
updateTitle("制品回收任务(" + this.totalCount + ")");
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "loadmore";
if (list == null || list.length == 0) {
this.loadingType = "nomore";
@ -173,7 +177,7 @@
if (type === "refresh") {
uni.stopPullDownRefresh();
}
updateTitle("制品回收任务");
updateTitle(this.title);
this.loadingType = "";
uni.hideLoading();
that.showErrorMessage(error)
@ -183,7 +187,7 @@
openJobDetail(item) {
uni.navigateTo({
url: './productRecycleJobDetail?id=' + item.masterId + '&status=' + item.status
url: './productRecycleJobDetail?id=' + item.masterId + '&status=' + item.status+'&title='+this.title
});
},

3
src/pages/productRecycle/job/productRecycleJobDetail.vue

@ -97,6 +97,9 @@
};
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
if (this.id != undefined) {
//

3
src/pages/productRecycle/record/productRecycleRecord.vue

@ -101,6 +101,9 @@
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.fromType = option.fromType
if (this.fromType == "requestType") {
updateTitle("采购退货申请")

12
src/pages/stockUp/job/stockUpJob.vue

@ -72,9 +72,12 @@
status: '1,2', //
detailOptions: [],
detailGiveupOptions: [],
title:''
};
},
onLoad(option){
this.title = option.title
},
onShow() {
this.getList('refresh');
},
@ -154,7 +157,7 @@
var list = res.data.list;
this.totalCount = res.data.total
updateTitle("直接备货任务(" + this.totalCount + ")");
updateTitle(this.title+"(" + this.totalCount + ")");
this.loadingType = "loadmore";
if (list == null || list.length == 0) {
this.loadingType = "nomore";
@ -167,7 +170,7 @@
if (type === "refresh") {
uni.stopPullDownRefresh();
}
updateTitle("直接备货任务");
updateTitle(this.title);
this.loadingType = "";
uni.hideLoading();
that.showMessage(error)
@ -176,7 +179,8 @@
openJobDetail(item) {
uni.navigateTo({
url: './stockUpJobDetail?id=' + item.masterId + '&status=' + item.status
url: './stockUpJobDetail?id=' + item.masterId + '&status=' + item.status+'&title='+this.title
});
},

3
src/pages/stockUp/job/stockUpJobDetail.vue

@ -129,6 +129,9 @@
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title+'详情'
})
this.id = option.id;
if (this.id != undefined) {
//

Loading…
Cancel
Save