Commit c12b0301 authored by Mac's avatar Mac

增加出库的帅选

parent 00f94a0f
...@@ -26,6 +26,24 @@ ...@@ -26,6 +26,24 @@
</el-option> </el-option>
</el-select> </el-select>
</li> </li>
<li>
<el-input
class="w200"
size="small"
v-model="msg.GoodsName"
placeholder="商品名称"
@keyup.enter.native="msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<el-input
class="w200"
size="small"
v-model="msg.OrderNo"
placeholder="订单号"
@keyup.enter.native="msg.pageIndex=1,getList()"
></el-input>
</li>
</ul> </ul>
<div> <div>
<vxe-table stripe style="margin-top:15px" :loading="loading" :data="tableData"> <vxe-table stripe style="margin-top:15px" :loading="loading" :data="tableData">
...@@ -139,6 +157,8 @@ ...@@ -139,6 +157,8 @@
SupplierId:0, SupplierId:0,
ApplyStatus: 0, ApplyStatus: 0,
OutStatus: -1, OutStatus: -1,
GoodsName:'',
OrderNo:'',
}, },
Updatemsg: { Updatemsg: {
ID: 0, ID: 0,
......
...@@ -280,8 +280,14 @@ ...@@ -280,8 +280,14 @@
} }
this.sureMsg.ID = this.msg.ID; this.sureMsg.ID = this.msg.ID;
this.sureMsg.WarehouseId = this.msg.WarehouseId; this.sureMsg.WarehouseId = this.msg.WarehouseId;
const loading = this.$loading({
lock: true,
text: '出库中...',
spinner: 'el-icon-loading',
});
this.apiJavaPost("/api/WarehouseOut/SetStockOutInfo", this.sureMsg, this.apiJavaPost("/api/WarehouseOut/SetStockOutInfo", this.sureMsg,
res => { res => {
loading.close();
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.$router.push({ this.$router.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment