Commit c12b0301 authored by Mac's avatar Mac

增加出库的帅选

parent 00f94a0f
......@@ -11,21 +11,39 @@
</div>
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-select size="small" v-model="msg.ApplyStatus" @change="msg.pageIndex=1,getList()">
<el-option v-for="item in ApplyStatusList" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
</li>
<li>
<el-select size="small" v-model="msg.OutStatus" @change="msg.pageIndex=1,getList()">
<el-option v-for="item in OutStatusList" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
</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>
<div>
<vxe-table stripe style="margin-top:15px" :loading="loading" :data="tableData">
......@@ -51,7 +69,7 @@
</template>
</vxe-table-column>
<vxe-table-column field="CreateDateStr" title="申请时间"></vxe-table-column>
<vxe-table-column field="CreateDateStr" title="申请时间"></vxe-table-column>
<vxe-table-column field="address" title="操作">
......@@ -139,6 +157,8 @@
SupplierId:0,
ApplyStatus: 0,
OutStatus: -1,
GoodsName:'',
OrderNo:'',
},
Updatemsg: {
ID: 0,
......@@ -158,12 +178,12 @@
SeeDetails(item,path){
this.$router.push({
path: path,
query: {
query: {
ID:item.ID
}
});
},
getList() {
this.loading = true;
......
......@@ -86,7 +86,7 @@
<vxe-table-column field="nowBound" title="正在出库"></vxe-table-column>
<template v-slot:empty>
<span>
<p>仓库中暂无商品</p>
</span>
</template>
......@@ -148,7 +148,7 @@
}
})
},
// 仓库列表
// 仓库列表
getWareHouse() {
this.apiJavaPost("/api/Supplies/GetWareHouseList", {
Name: ''
......@@ -280,8 +280,14 @@
}
this.sureMsg.ID = this.msg.ID;
this.sureMsg.WarehouseId = this.msg.WarehouseId;
const loading = this.$loading({
lock: true,
text: '出库中...',
spinner: 'el-icon-loading',
});
this.apiJavaPost("/api/WarehouseOut/SetStockOutInfo", this.sureMsg,
res => {
loading.close();
if (res.data.resultCode === 1) {
this.Success(res.data.message);
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