|
|
|
|
@ -191,13 +191,6 @@ export default { |
|
|
|
|
// if (!this.enterForm.invOrderNo) return this.$message("单据编号必填!"); |
|
|
|
|
this.loading = true |
|
|
|
|
this.disabledFlag = true |
|
|
|
|
// if (this.value1 !== null && this.value1 !== 'null' && this.value1 !== undefined) { |
|
|
|
|
// this.enterForm.execTime = this.value1[0] |
|
|
|
|
// this.enterForm.endTime = this.value1[1] |
|
|
|
|
// } else { |
|
|
|
|
// this.enterForm.execTime = null |
|
|
|
|
// this.enterForm.endTime = null |
|
|
|
|
// } |
|
|
|
|
list({ |
|
|
|
|
// invWay: 'open', |
|
|
|
|
...this.enterForm |
|
|
|
|
@ -278,7 +271,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
return result |
|
|
|
|
}, |
|
|
|
|
// 保存 |
|
|
|
|
// 执行 |
|
|
|
|
async generateThePlan() { |
|
|
|
|
let arr = [] |
|
|
|
|
this.selectData.forEach((ele, index) => { |
|
|
|
|
@ -302,7 +295,7 @@ export default { |
|
|
|
|
arr2.push(obj) |
|
|
|
|
}) |
|
|
|
|
// 获取货主ids |
|
|
|
|
const { rows } = await entrySave(arr2) |
|
|
|
|
const { rows } = await entrySave({ ids: this.handleSelect }) |
|
|
|
|
this.$message.success('操作成功') |
|
|
|
|
this.queryTable() |
|
|
|
|
} |
|
|
|
|
@ -319,7 +312,8 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 取消盘点请求 |
|
|
|
|
remove() { |
|
|
|
|
cancel(this.handleSelect) |
|
|
|
|
// console.log(this.handleSelect) |
|
|
|
|
cancel({ ids: this.handleSelect }) |
|
|
|
|
.then((response) => { |
|
|
|
|
if (response.code === 200) { |
|
|
|
|
this.$message({ |
|
|
|
|
|