Merge remote-tracking branch 'origin/dev-nx' into dev-nx
This commit is contained in:
commit
d02ec45f57
|
|
@ -1118,6 +1118,12 @@ export default {
|
||||||
saveCodeOut() {
|
saveCodeOut() {
|
||||||
this.$refs.codeOutForm.validate((valid) => {
|
this.$refs.codeOutForm.validate((valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
|
// 弹框提示
|
||||||
|
this.$confirm('确定出库该设备么?设备出库后无法修改', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning',
|
||||||
|
}).then(() => {
|
||||||
if (this.maCodeList.length <= this.outObj.outNum) {
|
if (this.maCodeList.length <= this.outObj.outNum) {
|
||||||
let params = this.maCodeList.map((item) => {
|
let params = this.maCodeList.map((item) => {
|
||||||
let obj = {
|
let obj = {
|
||||||
|
|
@ -1145,11 +1151,17 @@ export default {
|
||||||
this.$modal.msgError('所选机具编码已超出出库数量!')
|
this.$modal.msgError('所选机具编码已超出出库数量!')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
})
|
||||||
},
|
},
|
||||||
//数量出库保存
|
//数量出库保存
|
||||||
saveNumOut() {
|
saveNumOut() {
|
||||||
this.$refs.numOutForm.validate((valid) => {
|
this.$refs.numOutForm.validate((valid) => {
|
||||||
if (!valid) return
|
if (!valid) return
|
||||||
|
this.$confirm('确定出库该设备么?设备出库后无法修改', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning',
|
||||||
|
}).then(() => {
|
||||||
this.outNumList[0].carCode = this.numOutForm.carCode
|
this.outNumList[0].carCode = this.numOutForm.carCode
|
||||||
let param = this.outNumList
|
let param = this.outNumList
|
||||||
submitNumOut(param).then((res) => {
|
submitNumOut(param).then((res) => {
|
||||||
|
|
@ -1159,6 +1171,7 @@ export default {
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
// 输入出库数量
|
// 输入出库数量
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue