离线领用bug
This commit is contained in:
@@ -61,14 +61,14 @@ export function searchPeople(data1) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 离线件出库
|
// 离线件出库
|
||||||
export function outlinePartOut(data2, data3, data4, data5, data6, data7, data8, data9, data10) {
|
export function outlinePartOut(data2, data3, data4, data5, data6, data7, data8, data9, data10, data11) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '2',
|
type: '2',
|
||||||
name: '库存管理_离线采购件_零件出库',
|
name: '库存管理_离线采购件_零件出库',
|
||||||
param: '领用者=' + data2 + '&出库数量=' + data3 + '&货位流水号=' + data4 + '&备注=' + data5 + '&项目流水号=' + data6 + '&机床流水号=' + data7 + '&组件流水号=' + data8 + '&物料流水号=' + data9 + '&出库人员流水号=' + data10
|
param: '领用者=' + data2 + '&出库数量=' + data3 + '&货位流水号=' + data4 + '&备注=' + data5 + '&项目流水号=' + data6 + '&机床流水号=' + data7 + '&组件流水号=' + data8 + '&物料流水号=' + data9 + '&出库人员流水号=' + data10 + '&离线合同明细流水号=' + data11
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
1
src/icons/svg/OutsourcingStatus.svg
Normal file
1
src/icons/svg/OutsourcingStatus.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path d="M500 10C229.4 10 10 229.4 10 500s219.4 490 490 490 490-219.4 490-490S770.6 10 500 10zM393.9 313.3L555.7 220c12.7-7.3 29.2-2.9 36.5 9.7 7.3 12.7 2.9 29-9.8 36.5l-161.8 93.5c-12.7 7.3-29 2.9-36.3-9.8-7.4-13-3.1-29.3 9.6-36.6zm295.3 137.6l-161.8 93.3-93.3-161.8 161.8-93.3 93.3 161.8zM157.1 650.3c-11-19.2-4.5-43.7 14.7-54.7l295.6-155.2 26.7 46.3L211.8 665c-19.1 11-43.7 4.5-54.7-14.7zM785 783.7H438l-1.3-25.5 26.2-1.2s1.6-11.9 1.6-26.7c0-14.8 12-26.7 26.7-26.7h240.2c14.8 0 26.7 11.9 26.7 26.7V757l27.5-.6-.6 27.3zm-55.7-263.3l-161.9 93.3c-12.7 7.3-29.2 2.9-36.5-9.8-7.3-12.7-2.9-29.2 9.7-36.5l161.8-93.3c12.7-7.3 29.2-2.9 36.5 9.8 7.6 12.7 3.2 29-9.6 36.5z"/></svg>
|
||||||
|
After Width: | Height: | Size: 737 B |
@@ -226,7 +226,8 @@ export default {
|
|||||||
total2: 0,
|
total2: 0,
|
||||||
materialName: '', // 物料名称
|
materialName: '', // 物料名称
|
||||||
materialSpec: '', // 物料规格
|
materialSpec: '', // 物料规格
|
||||||
materialModel: '' // 物料型号
|
materialModel: '', // 物料型号
|
||||||
|
离线合同明细流水号: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -339,6 +340,7 @@ export default {
|
|||||||
this.locateNumber = row.货位流水号
|
this.locateNumber = row.货位流水号
|
||||||
this.materialNumber = row.物料流水号
|
this.materialNumber = row.物料流水号
|
||||||
this.partnumber = row.货位存量
|
this.partnumber = row.货位存量
|
||||||
|
this.离线合同明细流水号 = row.离线合同明细流水号
|
||||||
},
|
},
|
||||||
// 重置表单
|
// 重置表单
|
||||||
callOff() {
|
callOff() {
|
||||||
@@ -364,7 +366,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
outlinePartOut(this.form.PeopleValue, this.form.DirectNumber, this.locateNumber, this.form.DirectNote, this.form.ProjectValue, this.form.MachineValue, this.form.GroupNumValue, this.materialNumber, this.PeopleNumber).then(response => {
|
outlinePartOut(this.form.PeopleValue, this.form.DirectNumber, this.locateNumber, this.form.DirectNote, this.form.ProjectValue, this.form.MachineValue, this.form.GroupNumValue, this.materialNumber, this.PeopleNumber, this.离线合同明细流水号).then(response => {
|
||||||
if (response.data[0].result === '1') {
|
if (response.data[0].result === '1') {
|
||||||
this.$message.success('零件出库成功')
|
this.$message.success('零件出库成功')
|
||||||
this.dialogFormVisible = false
|
this.dialogFormVisible = false
|
||||||
|
|||||||
Reference in New Issue
Block a user