Browse Source

添加不合格转隔离

hella_online_20240829
lijuncheng 4 months ago
parent
commit
5f8bdab46a
  1. 26
      src/pages.json
  2. 7
      src/pages/inventoryMove/job/inventoryMoveDetail.vue
  3. 38
      src/pages/inventoryMove/job/nokToHoldMoveJob.vue

26
src/pages.json

@ -1552,6 +1552,32 @@
} }
} }
}, },
{
"path": "pages/inventoryMove/job/nokToHoldMoveJob",
"style": {
"navigationBarTitleText": "不合格转隔离",
"enablePullDownRefresh": true,
"titleNView": {
// "autoBackButton": "true",
"buttons": [
//
{
"float": "right",
"fontSize": "58rpx", //
"text": "\ue696",
"fontSrc": "/static/ali_icon/iconfont.ttf"
},
{
"float": "right",
"fontSize": "52rpx", //
"text": "\ue6e2",
"fontSrc": "/static/ali_icon/iconfont.ttf"
}
]
}
}
},
{ {
"path": "pages/inventoryMove/job/holdToOkMoveJob", "path": "pages/inventoryMove/job/holdToOkMoveJob",
"style": { "style": {

7
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -171,7 +171,12 @@
name = "合格转隔离"; name = "合格转隔离";
this.toLocationCode = 'HOLD'; this.toLocationCode = 'HOLD';
this.toInventoryStatus = 'HOLD'; this.toInventoryStatus = 'HOLD';
} else if (this.businessTypeCode == "OktoScrap") { } else if (this.businessTypeCode == "NokToHold") {
name = "不合格转隔离";
this.toLocationCode = 'HOLD';
this.toInventoryStatus = 'HOLD';
}
else if (this.businessTypeCode == "OktoScrap") {
name = "合格转报废"; name = "合格转报废";
this.toLocationCode = 'SCRAP'; this.toLocationCode = 'SCRAP';
this.toInventoryStatus = 'SCRAP'; this.toInventoryStatus = 'SCRAP';

38
src/pages/inventoryMove/job/nokToHoldMoveJob.vue

@ -0,0 +1,38 @@
<template>
<view class="page-wraper">
<comMoveJob :title="title" ref="comMoveJob" businessTypeCode='NokToHold' > </comMoveJob>
</view>
</template>
<script>
import comMoveJob from '@/pages/inventoryMove/coms/comMoveJob.vue'
export default {
components: {
comMoveJob
},
data() {
return {
title:''
}
},
onLoad(option){
this.title = option.title
},
onPullDownRefresh() {
this.$refs.comMoveJob.refresh();
},
onNavigationBarButtonTap(e) {
if (e.index === 0) {
this.$refs.comMoveJob.toHome();
} else if (e.index == 1) {
this.$refs.comMoveJob.openFilter();
}
},
methods: {
}
}
</script>
Loading…
Cancel
Save