货品库存
This commit is contained in:
parent
3c9547f291
commit
6d1c1ea20e
|
|
@ -71,14 +71,18 @@ export function systemMaterialTreeApi(data) {
|
||||||
|
|
||||||
// -------------货品库存---------------
|
// -------------货品库存---------------
|
||||||
// 查询货品库存列表
|
// 查询货品库存列表
|
||||||
export function getMaterialListApi(data) {
|
export function getStockMaterialListApi(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/smart-canteen/cook_material/list',
|
url: '/smart-canteen/ims/inventory/list',
|
||||||
method: 'get',
|
method: 'post',
|
||||||
headers: {
|
headers: {
|
||||||
//"merchant-id":"378915229716713472",
|
//"merchant-id":"378915229716713472",
|
||||||
},
|
},
|
||||||
params: data
|
data: data,
|
||||||
|
params:{
|
||||||
|
pageNum:data.pageNum,
|
||||||
|
pageSize:data.pageSize
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -178,9 +178,6 @@
|
||||||
<el-button @click="cancel">取 消</el-button>
|
<el-button @click="cancel">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<el-dialog :visible.sync="dialogVisible">
|
|
||||||
<img width="100%" :src="dialogImageUrl" alt="">
|
|
||||||
</el-dialog>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
<span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
|
<span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="货品编码" align="center" prop="materialCode" :show-overflow-tooltip="true" />
|
<el-table-column label="货品编码" align="center" prop="materialNum" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true"/>
|
<el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true"/>
|
||||||
<el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" />
|
<el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" width="120"/>
|
<el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" width="120"/>
|
||||||
|
|
@ -106,7 +106,7 @@
|
||||||
<script>
|
<script>
|
||||||
import { systemAreaTreeApi } from "@/api/base/stall";
|
import { systemAreaTreeApi } from "@/api/base/stall";
|
||||||
// import { supplierQualificationWarningPageApi } from "@/api/foodManage/supplierManage";
|
// import { supplierQualificationWarningPageApi } from "@/api/foodManage/supplierManage";
|
||||||
import { drpWareHousePageApi,systemMaterialTreeApi,getMaterialListApi } from "@/api/foodManage/stockManage";
|
import { drpWareHousePageApi,systemMaterialTreeApi,getStockMaterialListApi } from "@/api/foodManage/stockManage";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "",
|
name: "",
|
||||||
|
|
@ -220,7 +220,7 @@ export default {
|
||||||
"materialName": this.queryParams.materialName,
|
"materialName": this.queryParams.materialName,
|
||||||
"barCode": this.queryParams.barCode,
|
"barCode": this.queryParams.barCode,
|
||||||
}
|
}
|
||||||
getMaterialListApi(param).then(response => {
|
getStockMaterialListApi(param).then(response => {
|
||||||
this.tableListData = response.rows;
|
this.tableListData = response.rows;
|
||||||
this.total = Number(response.total);
|
this.total = Number(response.total);
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue