|
|
@ -32,6 +32,8 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import { outStockFinishCommit } from "@/api/wms-pad"; |
|
|
|
import { generateUUID } from "@/utils/index" |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'isPadForOutStockFinish', |
|
|
|
data () { |
|
|
@ -80,7 +82,12 @@ export default { |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
outStockFinishCommit(this.scanCodes) |
|
|
|
let _data = { |
|
|
|
uuid: generateUUID(), |
|
|
|
operatorName: this.$store.getters.name.userName, |
|
|
|
data:this.scanCodes |
|
|
|
} |
|
|
|
outStockFinishCommit(_data) |
|
|
|
.then((res) => { |
|
|
|
if(res.Code == 0){ |
|
|
|
this.$successMsg("提交成功") |
|
|
|