This commit is contained in:
lixin
2019-01-04 16:21:13 +08:00
parent 5493ed68e2
commit ab22652528
6 changed files with 11 additions and 10 deletions

View File

@@ -1734,6 +1734,7 @@ export default {
})
},
AlterNumber(row) {
this.form2 = []
this.project = row.项目流水号
this.machinenumber = row.机床流水号
this.partnumber = row.组件流水号
@@ -1752,6 +1753,7 @@ export default {
this.material = row.材料
},
AlterBasicNumber(row) {
this.form2 = []
this.project = row.项目流水号
this.machinenumber = row.机床流水号
this.partnumber = row.组件流水号

View File

@@ -568,7 +568,7 @@ export default {
this.partGroup.push(this.tableData3[i].离线请购单明细流水号)
this.numGroup.push(this.tableData3[i].数量)
}
alterNumber(this.purchasecardnumber, this.partGroup, this.numGroup).then(response => {
alterNumber(this.partGroup, this.numGroup).then(response => {
if (response.data[0].result === '1') {
this.$message.success('请购单生成成功')
this.searchTable2()

View File

@@ -289,10 +289,9 @@ export default {
// 查询交换单
searchExchange() {
ExchangeOut(this.pickingListNumberx).then(response => {
console.log(response.data, 2233455)
const data = response.data
for (let i = 0; i < data.length; i++) {
data[i].审批通过 === 0 ? data[i].是否禁用 = true : data[i].是否禁用 = false
data[i].是否出库 === 1 ? data[i].是否禁用 = true : data[i].是否禁用 = false
}
this.tableDataExchange = data
})
@@ -364,7 +363,7 @@ export default {
this.dialogFormVisible = false
},
execExchangePartOut(row) {
ExchangePartOut(row.采购合同明细流水号, row.申请人, row.交换数量, row.被交换货位流水号, row.备注).then(response => {
ExchangePartOut(row.交换单流水号, row.被交换件采购合同明细流水号, row.申请人, row.交换数量, row.被交换货位流水号, row.备注).then(response => {
if (response.data[0].result === '1') {
this.$message.success('出库成功')
this.dialogFormVisible = false