|
|
|
@ -74,7 +74,7 @@
|
|
|
|
|
style="margin-bottom: 10px; padding: 10px 20px" |
|
|
|
|
v-if="isStockUp" |
|
|
|
|
@click="handleStockUp(row, '1')" |
|
|
|
|
>备货</el-button |
|
|
|
|
>批量备货</el-button |
|
|
|
|
> |
|
|
|
|
<tablecmt |
|
|
|
|
:columnList="columnListarrs.columnStockingBag" |
|
|
|
@ -244,7 +244,8 @@
|
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
<el-dialog v-model="dialogHand" title="系统备货"> |
|
|
|
|
<el-form :model="form"> |
|
|
|
|
<el-form :model="form" v-loading="loadinghand" |
|
|
|
|
element-loading-text="Loading..."> |
|
|
|
|
<el-form-item label="备货区域" :label-width="formLabelWidth"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="form.goodsAreaId" |
|
|
|
@ -264,9 +265,9 @@
|
|
|
|
|
</el-form> |
|
|
|
|
<template #footer> |
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
<el-button @click="dialogHand = false">取消</el-button> |
|
|
|
|
<el-button @click="dialogHand = false">关闭</el-button> |
|
|
|
|
<!-- <el-button type="primary" @click="dialogFormVisible = false"> 确定 </el-button>--> |
|
|
|
|
<el-button type="primary" @click="callFordelivery()"> 确定 </el-button> |
|
|
|
|
<el-button :disabled="loadinghand" type="primary" @click="callFordelivery()"> 确定 </el-button> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
@ -344,6 +345,7 @@ export default {
|
|
|
|
|
dialogVisible: false, |
|
|
|
|
dialogPack: false, |
|
|
|
|
html: '', |
|
|
|
|
loadinghand:false, |
|
|
|
|
columnListarrs: { |
|
|
|
|
columnReservation: [ |
|
|
|
|
{ |
|
|
|
@ -1373,7 +1375,10 @@ export default {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
//系统备货确定 |
|
|
|
|
callFordelivery() { |
|
|
|
|
async callFordelivery() { |
|
|
|
|
|
|
|
|
|
try{ |
|
|
|
|
this.loadinghand=true |
|
|
|
|
let c = false; |
|
|
|
|
if (this.selectionList.length > 0) { |
|
|
|
|
let ids = this.selectionList.map(i => i.id).join(','); |
|
|
|
@ -1391,15 +1396,25 @@ export default {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
this.form.stockupId = this.$route.query.id; |
|
|
|
|
getStockDetail(Object.assign(this.form)).then(res => { |
|
|
|
|
await getStockDetail(Object.assign(this.form)).then(res => { |
|
|
|
|
if(res.data.code!=200){ |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
this.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '操作成功!', |
|
|
|
|
message: res.data.msg, |
|
|
|
|
}); |
|
|
|
|
this.getStockUpParcelsList(this.page1); |
|
|
|
|
this.form = {}; |
|
|
|
|
this.dialogHand = false; |
|
|
|
|
}); |
|
|
|
|
}catch(e){ |
|
|
|
|
console.log(e); |
|
|
|
|
|
|
|
|
|
}finally{ |
|
|
|
|
this.loadinghand=false |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
//选择 |
|
|
|
|
getForklift(row, ty) { |
|
|
|
|