盘点详情chagne

This commit is contained in:
2023-01-09 11:31:20 +08:00
parent e9453564bd
commit 9c2a249b6f
2 changed files with 9 additions and 4 deletions

View File

@@ -87,7 +87,7 @@
}, },
toXq (code) { toXq (code) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/WarehouseManage/Details?storagevehicle_code=' + code url: '/pages/WarehouseManage/Details?storagevehicle_code=' + code + '&checkcode=' + this.checkCode
}) })
}, },
toCheck (e) { toCheck (e) {
@@ -105,7 +105,7 @@
async _checkexception () { async _checkexception () {
this.disabled1 = true this.disabled1 = true
try { try {
let res = await checkexception(this.dataList, this.checkCode) let res = await checkexception(this.checkArr, this.checkCode)
this.disabled1 = false this.disabled1 = false
this.checkArr = [] this.checkArr = []
this._checkQueryDtl() this._checkQueryDtl()
@@ -120,7 +120,7 @@
async _checknormal () { async _checknormal () {
this.disabled1 = true this.disabled1 = true
try { try {
let res = await checknormal(this.dataList, this.checkCode) let res = await checknormal(this.checkArr, this.checkCode)
this.disabled1 = false this.disabled1 = false
this.checkArr = [] this.checkArr = []
this._checkQueryDtl() this._checkQueryDtl()

View File

@@ -40,7 +40,7 @@
<td>{{el.thickness_request}}</td> <td>{{el.thickness_request}}</td>
<td>{{el.quality_guaran_period}}</td> <td>{{el.quality_guaran_period}}</td>
<td>{{el.date_of_production}}</td> <td>{{el.date_of_production}}</td>
<td>{{el.date_of_FG_inbound}}</td> <td>{{el.date_of_fg_inbound}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
@@ -62,6 +62,7 @@
}, },
data() { data() {
return { return {
checkCode: '',
storagevehicleCode: '', storagevehicleCode: '',
dataList: [], dataList: [],
disabled1: false disabled1: false
@@ -70,6 +71,7 @@
created () { created () {
}, },
onLoad (option) { onLoad (option) {
this.checkCode = option.checkcode
this.storagevehicleCode = option.storagevehicle_code this.storagevehicleCode = option.storagevehicle_code
this._checkQueryDetails() this._checkQueryDetails()
}, },
@@ -78,6 +80,9 @@
uni.navigateTo({ uni.navigateTo({
url: `/pages/WarehouseManage/CheckDtl` url: `/pages/WarehouseManage/CheckDtl`
}) })
uni.navigateTo({
url: '/pages/WarehouseManage/CheckDtl?checkcode=' + this.checkCode
})
}, },
/** 初始化查询 */ /** 初始化查询 */
async _checkQueryDetails () { async _checkQueryDetails () {