Merge remote-tracking branch 'origin/dev-nx' into dev-nx

This commit is contained in:
mashuai 2025-04-17 18:12:32 +08:00
commit d02ec45f57
1 changed files with 46 additions and 33 deletions

View File

@ -1118,6 +1118,12 @@ export default {
saveCodeOut() {
this.$refs.codeOutForm.validate((valid) => {
if (!valid) return
//
this.$confirm('确定出库该设备么?设备出库后无法修改', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
if (this.maCodeList.length <= this.outObj.outNum) {
let params = this.maCodeList.map((item) => {
let obj = {
@ -1145,11 +1151,17 @@ export default {
this.$modal.msgError('所选机具编码已超出出库数量!')
}
})
})
},
//
saveNumOut() {
this.$refs.numOutForm.validate((valid) => {
if (!valid) return
this.$confirm('确定出库该设备么?设备出库后无法修改', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
this.outNumList[0].carCode = this.numOutForm.carCode
let param = this.outNumList
submitNumOut(param).then((res) => {
@ -1159,6 +1171,7 @@ export default {
this.handleQuery()
})
})
})
},
//