点位管理
This commit is contained in:
@@ -156,12 +156,12 @@
|
||||
},
|
||||
cleanUp () {
|
||||
this.disabled1 = true
|
||||
this._handPointOpt('2', this.index, this.qty)
|
||||
this._handPointOpt(this.obj.device_code, '2', this.index, this.qty)
|
||||
this.active = false
|
||||
},
|
||||
msgSure () {
|
||||
this.disabled2 = true
|
||||
this._handPointOpt('1', this.index, this.qty)
|
||||
this._handPointOpt(this.obj.device_code, '1', this.index, this.qty)
|
||||
this.active = false
|
||||
},
|
||||
msgCancle () {
|
||||
@@ -170,9 +170,9 @@
|
||||
this.index = ''
|
||||
this.qty = ''
|
||||
},
|
||||
async _handPointOpt (type, mtype, qty) {
|
||||
async _handPointOpt (code, type, mtype, qty) {
|
||||
try {
|
||||
let res = await handPointOpt(type, mtype, qty)
|
||||
let res = await handPointOpt(code, type, mtype, qty)
|
||||
uni.showToast({
|
||||
title: '操作成功',
|
||||
icon: 'none'
|
||||
|
||||
Reference in New Issue
Block a user