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