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