增加参数
This commit is contained in:
parent
18a29f3d67
commit
0d70cb70df
|
|
@ -646,7 +646,8 @@ export default {
|
||||||
titleView: '',
|
titleView: '',
|
||||||
showView: false,
|
showView: false,
|
||||||
getListViewInfo: [],
|
getListViewInfo: [],
|
||||||
idTemp: ''
|
idTemp: '',
|
||||||
|
publishTask: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -668,7 +669,8 @@ export default {
|
||||||
maId: item.maId,
|
maId: item.maId,
|
||||||
maCode: item.maCode,
|
maCode: item.maCode,
|
||||||
parentId: this.parentIdTemp,
|
parentId: this.parentIdTemp,
|
||||||
outNum: 1
|
outNum: 1,
|
||||||
|
publishTask: item.publishTask
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
this.single = selection.length != 1
|
this.single = selection.length != 1
|
||||||
|
|
@ -757,6 +759,7 @@ export default {
|
||||||
/** 出库按钮操作 */
|
/** 出库按钮操作 */
|
||||||
handleOut(row) {
|
handleOut(row) {
|
||||||
const { id, publishTask } = row
|
const { id, publishTask } = row
|
||||||
|
this.publishTask = publishTask
|
||||||
this.title = '出库'
|
this.title = '出库'
|
||||||
this.showOutInfo = true
|
this.showOutInfo = true
|
||||||
this.queryOutInfo.id = row.id
|
this.queryOutInfo.id = row.id
|
||||||
|
|
@ -829,6 +832,7 @@ export default {
|
||||||
saveCodeOut() {
|
saveCodeOut() {
|
||||||
console.log(this.maCodeList)
|
console.log(this.maCodeList)
|
||||||
console.log(this.outNum)
|
console.log(this.outNum)
|
||||||
|
|
||||||
if (this.maCodeList.length == 0) {
|
if (this.maCodeList.length == 0) {
|
||||||
this.$modal.msgError('请先勾选设备编码!')
|
this.$modal.msgError('请先勾选设备编码!')
|
||||||
} else if (this.maCodeList.length > this.outNum) {
|
} else if (this.maCodeList.length > this.outNum) {
|
||||||
|
|
@ -938,6 +942,7 @@ export default {
|
||||||
this.outNumList[0].carCode = this.numOutForm.carCode
|
this.outNumList[0].carCode = this.numOutForm.carCode
|
||||||
this.outNumList[0].remark = this.numOutForm.remark
|
this.outNumList[0].remark = this.numOutForm.remark
|
||||||
this.outNumList[0].leaseType = 0
|
this.outNumList[0].leaseType = 0
|
||||||
|
this.outNumList[0].publishTask = this.publishTask
|
||||||
let param = { leaseOutDetailsList: this.outNumList }
|
let param = { leaseOutDetailsList: this.outNumList }
|
||||||
console.log(param, '数量出库时参数')
|
console.log(param, '数量出库时参数')
|
||||||
submitNumOut(param).then(response => {
|
submitNumOut(param).then(response => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue