lx
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
// 替换单查询
|
// 替换单查询
|
||||||
export function searchSubstitutedCard(...params) {
|
export function searchSubstitutedCard(data1, data2, data3, data4) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '库存管理_替换件_替换单查询',
|
name: '库存管理_替换件_替换单查询',
|
||||||
param: `替换单编号_check=${params[0]}&替换单编号=${params[1]}&替换件名称_check=${params[2]}&替换件名称=${params[3]}`
|
param: '替换单编号_check=' + data1 + '&替换单编号=' + data2 + '&替换件名称_check=' + data3 + '&替换件名称=' + data4
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -831,12 +831,13 @@ export default {
|
|||||||
this.dialogFormVisible = true
|
this.dialogFormVisible = true
|
||||||
this.purchaseDetailNum = row.采购合同明细流水号
|
this.purchaseDetailNum = row.采购合同明细流水号
|
||||||
this.materialLocate = row.物料与货位对照流水号
|
this.materialLocate = row.物料与货位对照流水号
|
||||||
this.enableOut = row.货位存量
|
this.enableOut = row.货位存量 - row.待出库数量
|
||||||
},
|
},
|
||||||
execaddListDetail(formName) {
|
execaddListDetail(formName) {
|
||||||
if (this.pickingListNumberx === '') {
|
if (this.pickingListNumberx === '') {
|
||||||
this.$message.error('请选择领料单')
|
this.$message.error('请选择领料单')
|
||||||
} else if (this.form2.OutNumber === '' || this.form2.OutNumber > this.enableOut) {
|
} else if (this.form2.OutNumber === '' || this.form2.OutNumber > this.enableOut) {
|
||||||
|
console.log(this.enableOut)
|
||||||
this.$message.error('请正确输入领用数量')
|
this.$message.error('请正确输入领用数量')
|
||||||
} else {
|
} else {
|
||||||
this.$refs[formName].validate((valid) => {
|
this.$refs[formName].validate((valid) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user