Browse Source

修改装配上架任务为成品入库任务

hella_online_20240829
lijuncheng 5 months ago
parent
commit
06eebdd125
  1. 2
      src/pages.json
  2. 11
      src/pages/productPutaway/job/productPutawayDetail.vue
  3. 4
      src/pages/productPutaway/job/productPutawayJob.vue

2
src/pages.json

@ -896,7 +896,7 @@
{ {
"path": "pages/productPutaway/job/fgProductPutawayJob", "path": "pages/productPutaway/job/fgProductPutawayJob",
"style": { "style": {
"navigationBarTitleText": "装配上架任务", "navigationBarTitleText": "成品入库任务",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"titleNView": { "titleNView": {
// "autoBackButton": "true", // "autoBackButton": "true",

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

@ -114,7 +114,8 @@
type: "", type: "",
isCheckLocation: false, isCheckLocation: false,
switchCode: "", switchCode: "",
scanedPackingNumber: '' scanedPackingNumber: '',
hintTitle:""
}; };
}, },
onLoad(option) { onLoad(option) {
@ -123,10 +124,12 @@
this.scanedPackingNumber = option.scaned || ''; this.scanedPackingNumber = option.scaned || '';
if (this.type == 'predict') { if (this.type == 'predict') {
this.switchCode = "SemiPutawayLocationCodeValidate" this.switchCode = "SemiPutawayLocationCodeValidate"
updateTitle("预生产上架任务"); this.hintTitle="预生产上架"
updateTitle("预生产上架详情");
} else if (this.type == 'assemble') { } else if (this.type == 'assemble') {
this.switchCode = "FgPutawayLocationCodeValidate" this.switchCode = "FgPutawayLocationCodeValidate"
updateTitle("装配上架任务"); this.hintTitle="成品入库"
updateTitle("成品入库详情");
} }
if (this.id != undefined) { if (this.id != undefined) {
// //
@ -456,7 +459,7 @@
productPutawayJobSubmit(params).then(res => { productPutawayJobSubmit(params).then(res => {
uni.hideLoading() uni.hideLoading()
if (res.data) { if (res.data) {
this.showCommitSuccessMessage("提交成功<br>生成制品上架记录<br>" + res.data) this.showCommitSuccessMessage("提交成功<br>生成"+this.hintTitle+"记录<br>" + res.data)
} else { } else {
this.showErrorMessage("提交失败[" + res.msg + "]") this.showErrorMessage("提交失败[" + res.msg + "]")
} }

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

@ -185,7 +185,7 @@
if (this.type == 'predict') { if (this.type == 'predict') {
updateTitle("预生产上架任务(" + this.totalCount + ")"); updateTitle("预生产上架任务(" + this.totalCount + ")");
} else if (this.type == 'assemble') { } else if (this.type == 'assemble') {
updateTitle("装配上架任务(" + this.totalCount + ")"); updateTitle("成品入库任务(" + this.totalCount + ")");
} }
if (list == null || list.length == 0) { if (list == null || list.length == 0) {
this.loadingType = "nomore"; this.loadingType = "nomore";
@ -202,7 +202,7 @@
if (this.type == 'predict') { if (this.type == 'predict') {
updateTitle("预生产上架任务(" + this.totalCount + ")"); updateTitle("预生产上架任务(" + this.totalCount + ")");
} else if (this.type == 'assemble') { } else if (this.type == 'assemble') {
updateTitle("装配上架任务(" + this.totalCount + ")"); updateTitle("成品入库任务(" + this.totalCount + ")");
} }
this.loadingType = ""; this.loadingType = "";
uni.hideLoading(); uni.hideLoading();

Loading…
Cancel
Save