clear
This commit is contained in:
@@ -106,6 +106,7 @@
|
||||
let res = await againLssued(this.pkObj)
|
||||
this.disabled1 = false
|
||||
this.pkId = ''
|
||||
this.toClear()
|
||||
this._taskTaskQuery()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -126,6 +127,7 @@
|
||||
let res = await taskConfirm(this.pkObj)
|
||||
this.disabled2 = false
|
||||
this.pkId = ''
|
||||
this.toClear()
|
||||
this._taskTaskQuery()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -134,6 +136,14 @@
|
||||
} catch (e) {
|
||||
this.disabled2 = false
|
||||
}
|
||||
},
|
||||
toClear () {
|
||||
this.val1 = ''
|
||||
this.dataList = []
|
||||
this.disabled1 = false
|
||||
this.disabled2 = false
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -111,6 +111,7 @@
|
||||
this.disabled = false
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
this.dataList = []
|
||||
this._queryPaperTubeInfo()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -199,6 +199,7 @@
|
||||
let res = await needVehicle(this.checkArr[0])
|
||||
this.disabled1 = false
|
||||
this.checkArr = []
|
||||
this.dataList = []
|
||||
this._queryMaterialInfo()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -219,6 +220,7 @@
|
||||
let res = await shippingConfirm(this.checkArr, this.val3, this.val1)
|
||||
this.disabled2 = false
|
||||
this.checkArr = []
|
||||
this.dataList = []
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
@@ -255,6 +257,7 @@
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.dataList = []
|
||||
this._queryMaterialInfo()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -284,6 +287,7 @@
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.dataList = []
|
||||
this._queryMaterialInfo()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -160,6 +160,7 @@
|
||||
this.disabled = false
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
this.dataList = []
|
||||
this.index1 = ''
|
||||
this.index3 = ''
|
||||
this._queryMaterialInfo()
|
||||
|
||||
@@ -234,6 +234,7 @@
|
||||
let res = await outConfirm(this.index1, this.checkArr, this.isV)
|
||||
this.disabled1 = false
|
||||
this.checkArr = []
|
||||
this.dataList = []
|
||||
this.isV = '0'
|
||||
this.index1 = ''
|
||||
this.index5 = ''
|
||||
@@ -265,6 +266,7 @@
|
||||
let res = await disuseConfirm(this.index1)
|
||||
this.disabled3 = false
|
||||
this.checkArr = []
|
||||
this.dataList = []
|
||||
this.index1 = ''
|
||||
this.index5 = ''
|
||||
this._queryMaterialInfo()
|
||||
|
||||
@@ -73,6 +73,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
})
|
||||
this.val1 = ''
|
||||
this.disabled = false
|
||||
this.clearUp()
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -100,6 +100,7 @@
|
||||
this.index = e
|
||||
},
|
||||
async _queryBoxIvt () {
|
||||
this.dataList = []
|
||||
try {
|
||||
let res = await queryBoxIvt(this.val1, this.val2, this.val3)
|
||||
this.dataList = [...res.data]
|
||||
|
||||
@@ -65,6 +65,8 @@
|
||||
}
|
||||
try {
|
||||
let res = await abnormalOut(this.val1, this.val2)
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.disabled1 = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
@@ -81,6 +82,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
this.btn_active = false
|
||||
} catch (e) {
|
||||
|
||||
@@ -133,6 +133,10 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.val4 = ''
|
||||
this.disabled3 = false
|
||||
} catch (e) {
|
||||
this.disabled3 = false
|
||||
@@ -150,6 +154,10 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.val4 = ''
|
||||
this.disabled4 = false
|
||||
} catch (e) {
|
||||
this.disabled4 = false
|
||||
|
||||
@@ -69,6 +69,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.cleanUp()
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
@@ -82,6 +83,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.cleanUp()
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
|
||||
@@ -150,6 +150,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
@@ -162,6 +163,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -196,6 +196,7 @@
|
||||
try {
|
||||
let res = await forcedFeedShaft(this.index1, deviceT, this.index2, upLT, this.upL, upRT, this.upR, lowLT, this.lowL, lowRT, this.lowR)
|
||||
this.disabled = false
|
||||
this.dataList = []
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
|
||||
@@ -74,6 +74,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.index = ''
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -153,6 +153,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -99,6 +99,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
@@ -80,6 +81,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -136,6 +136,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.clearUp()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
|
||||
@@ -182,6 +182,8 @@
|
||||
},
|
||||
/** 初始化查询 */
|
||||
async _queryMaterialInfo () {
|
||||
this.dataList = []
|
||||
this.checkArr = []
|
||||
let res = await queryMaterialInfo3(this.val1, this.val2, this.index1, this.index2)
|
||||
if (this.val2) {
|
||||
res.data.map(el => {
|
||||
@@ -205,6 +207,7 @@
|
||||
try {
|
||||
let res = await needVehicle(this.checkArr[0])
|
||||
this.disabled1 = false
|
||||
this.dataList = []
|
||||
this.checkArr = []
|
||||
this._queryMaterialInfo()
|
||||
uni.showToast({
|
||||
@@ -225,6 +228,7 @@
|
||||
try {
|
||||
let res = await shippingConfirm(this.checkArr, this.val3, this.val1)
|
||||
this.disabled2 = false
|
||||
this.dataList = []
|
||||
this.checkArr = []
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
|
||||
@@ -144,6 +144,7 @@
|
||||
},
|
||||
/** 初始化查询 */
|
||||
async _queryMaterialInfo () {
|
||||
this.dataList = []
|
||||
let res = await queryMaterialInfo5(this.index3, this.index2)
|
||||
this.dataList = [...res.data]
|
||||
},
|
||||
|
||||
@@ -216,6 +216,8 @@
|
||||
},
|
||||
/** 初始化查询 */
|
||||
async _queryMaterialInfo () {
|
||||
this.checkArr = []
|
||||
this.dataList = []
|
||||
let res = await queryMaterialInfo4(this.index5, this.index2)
|
||||
res.data.map(el => {
|
||||
this.$set(el, 'checked', false)
|
||||
@@ -241,6 +243,7 @@
|
||||
let res = await outConfirm(this.index1, this.checkArr, this.isV)
|
||||
this.disabled1 = false
|
||||
this.checkArr = []
|
||||
this.dataList = []
|
||||
this.isV = '0'
|
||||
this.index1 = ''
|
||||
this.index5 = ''
|
||||
@@ -272,6 +275,7 @@
|
||||
let res = await disuseConfirm(this.index1)
|
||||
this.disabled3 = false
|
||||
this.checkArr = []
|
||||
this.dataList = []
|
||||
this.index1 = ''
|
||||
this.index5 = ''
|
||||
this._queryMaterialInfo()
|
||||
|
||||
@@ -75,7 +75,6 @@
|
||||
title: '',
|
||||
val1: '',
|
||||
dataList: [],
|
||||
disabled1: false,
|
||||
disabled2: false
|
||||
};
|
||||
},
|
||||
@@ -116,6 +115,7 @@
|
||||
let res = await customerPrint(this.val1, this.$store.getters.setPrintName)
|
||||
this.disabled2 = false
|
||||
this.val1 = ''
|
||||
this.dataList = []
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
|
||||
@@ -66,6 +66,8 @@
|
||||
try {
|
||||
let res = await abnormalOut(this.val1, this.val2)
|
||||
this.disabled1 = false
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
|
||||
@@ -105,6 +105,7 @@
|
||||
let res = await stoutConfirm(this.val1)
|
||||
this.disabled1 = false
|
||||
this.val1 = ''
|
||||
this.dataList = []
|
||||
this._stivtDtlQuery()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -125,6 +125,7 @@
|
||||
this.disabled = false
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
this.dataList = []
|
||||
this._outcoolIOQuery()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -121,6 +121,7 @@
|
||||
this.disabled1 = false
|
||||
this.val1 = ''
|
||||
this.val2 = ''
|
||||
this.dataList = []
|
||||
this._virtualivtQuery()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user