@@ -150,7 +150,11 @@
console.log(this.List)
batchSave(this.List).then(res => {
- console.log(res)
+
+ uni.navigateTo({
+ url: `/pages/pda/picking/index/index?tabType`,
+ });
})
},
@@ -1,6 +1,7 @@
<template>
- <view>
-
+ <view class="content-box">
+ <uni-nav-bar fixed="true" statusBar="true" left-icon="back" title="领料" background-color="#157A2C"
+ color="#fff" @clickLeft="back"></uni-nav-bar>
</view>
</template>
@@ -17,6 +18,11 @@
}
</script>
-<style>
+<style lang="scss" scoped>
+ .content-box {
+ height: 100vh;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ }
</style>
@@ -197,9 +197,7 @@
getSteps() {
getTaskInstanceList(this.id).then(res => {
this.stepsList = res
- if(!this.title && this.stepsList.length) {
- this.title = this.stepsList[0].taskTypeName
- }
@@ -99,7 +99,7 @@
handleDetail(item) {
let url = '/pages/pda/workOrder/extrusionMolding/index'
- url += `?id=${item.id}&title=${item.produceTaskInstanceName}`
+ url += `?id=${item.id}&title=${item.taskName}`
console.log(url)
uni.navigateTo({
url