This commit is contained in:
2024-07-16 16:16:01 +08:00
parent 277254e9c9
commit 2c1a5b0427
6 changed files with 25 additions and 9 deletions

View File

@@ -115,6 +115,7 @@
}, },
data() { data() {
return { return {
title: '',
modelShow: false, modelShow: false,
value: '1', value: '1',
val0: '', val0: '',
@@ -143,6 +144,7 @@
}, },
onLoad (option) { onLoad (option) {
this.checkCode = option.checkcode this.checkCode = option.checkcode
this.title = option.title
// this._checkQueryDtl() // this._checkQueryDtl()
}, },
mounted () { mounted () {
@@ -151,7 +153,7 @@
methods: { methods: {
goIn () { goIn () {
uni.navigateTo({ uni.navigateTo({
url: `/pages/WarehouseManage/CheckList` url: `/pages/WarehouseManage/CheckList?title=` + this.title
}) })
}, },
handleChange (e) { handleChange (e) {

View File

@@ -1,6 +1,7 @@
<template> <template>
<view class="zd_container"> <view class="zd_container">
<nav-bar title="盘点管理"></nav-bar> <!-- <nav-bar title="盘点管理"></nav-bar> -->
<nav-bar :title="title"></nav-bar>
<view class="zd_content"> <view class="zd_content">
<view class="zd_wrapper"> <view class="zd_wrapper">
<view class="filter_item"> <view class="filter_item">
@@ -67,6 +68,7 @@
}, },
data() { data() {
return { return {
title: '',
val1: '', val1: '',
dataList: [], dataList: [],
pkId: '', pkId: '',
@@ -76,6 +78,9 @@
disabled1: false disabled1: false
}; };
}, },
onLoad (options) {
this.title = options.title
},
created () { created () {
this._checkgetStor() this._checkgetStor()
this._checkQuery() this._checkQuery()
@@ -98,7 +103,7 @@
toPandian () { toPandian () {
if (this.pkId) { if (this.pkId) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/WarehouseManage/CheckDtl?checkcode=' + this.pkObj.check_code + '&checknum=' + this.pkObj.check_num + '&unchecknum=' + this.pkObj.uncheck_num url: '/pages/WarehouseManage/CheckDtl?checkcode=' + this.pkObj.check_code + '&checknum=' + this.pkObj.check_num + '&unchecknum=' + this.pkObj.uncheck_num + '&title=' + this.title
}) })
} }
}, },

View File

@@ -1,6 +1,7 @@
<template> <template>
<view class="zd_container"> <view class="zd_container">
<nav-bar title="生产区发货"></nav-bar> <!-- <nav-bar title="生产区发货"></nav-bar> -->
<nav-bar :title="title"></nav-bar>
<view class="zd_content"> <view class="zd_content">
<view class="zd_wrapper"> <view class="zd_wrapper">
<view class="filter_item"> <view class="filter_item">
@@ -84,6 +85,7 @@
}, },
data() { data() {
return { return {
title: '',
val1: '', val1: '',
val2: '', val2: '',
dataList: [], dataList: [],
@@ -92,6 +94,9 @@
disabled1: false disabled1: false
}; };
}, },
onLoad (options) {
this.title = options.title
},
created () { created () {
this._stivtQuery(this.val1, this.val2) this._stivtQuery(this.val1, this.val2)
}, },
@@ -113,7 +118,7 @@
toSure () { toSure () {
if (this.pkId) { if (this.pkId) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/WarehouseManage/ProdDeliveryConfirm?billcode=' + this.pkObj.bill_code url: '/pages/WarehouseManage/ProdDeliveryConfirm?billcode=' + this.pkObj.bill_code + '&title=' + this.title
}) })
} }
}, },

View File

@@ -65,6 +65,7 @@
}, },
data() { data() {
return { return {
title: '',
val1: '', val1: '',
billCode: '', billCode: '',
dataList: [], dataList: [],
@@ -73,6 +74,7 @@
}, },
onLoad (option) { onLoad (option) {
this.billCode = option.billcode this.billCode = option.billcode
this.title = option.title
this._stivtDtlQuery() this._stivtDtlQuery()
}, },
mounted () { mounted () {
@@ -84,12 +86,12 @@
}, },
goIn () { goIn () {
uni.navigateTo({ uni.navigateTo({
url: `/pages/WarehouseManage/ProdDelivery` url: `/pages/WarehouseManage/ProdDelivery?title=` + this.title
}) })
}, },
toXq (code) { toXq (code) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/WarehouseManage/ProdDeliveryDtl?boxno=' + code + '&billcode=' + this.billCode url: '/pages/WarehouseManage/ProdDeliveryDtl?boxno=' + code + '&billcode=' + this.billCode + '&title=' + this.title
}) })
}, },
/** 初始化查询 */ /** 初始化查询 */

View File

@@ -61,6 +61,7 @@
}, },
data() { data() {
return { return {
title: '',
boxno: '', boxno: '',
billCode: '', billCode: '',
dataList: [], dataList: [],
@@ -70,12 +71,13 @@
onLoad (option) { onLoad (option) {
this.boxno = option.boxno this.boxno = option.boxno
this.billCode = option.billcode this.billCode = option.billcode
this.title = option.title
this._stivtbBoxDtlQuery() this._stivtbBoxDtlQuery()
}, },
methods: { methods: {
goIn () { goIn () {
uni.navigateTo({ uni.navigateTo({
url: '/pages/WarehouseManage/ProdDeliveryConfirm?billcode=' + this.billCode url: '/pages/WarehouseManage/ProdDeliveryConfirm?billcode=' + this.billCode + '&title=' + this.title
}) })
}, },
/** 初始化查询 */ /** 初始化查询 */

View File

@@ -113,7 +113,7 @@
} }
}, },
toPage2 (e) { toPage2 (e) {
let url = e.path let url = e.path + '?title=' + e.title
uni.redirectTo({ uni.redirectTo({
url: url url: url
}) })