3.5.1
车间生产: 五楼拆分工序和装配工序:如果是合并物料可以查看明细 仓储: 成品出库审核时,审核不通过需要将占用数量更新的bug修复 仓库配置物料显示规格和搜索 库位配置固定条码增加规格的搜索master
parent
ef7fd0dfb5
commit
bf650d77cd
@ -0,0 +1,92 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-table v-loading="loading" :data="relateSaleOrderList">
|
||||
<el-table-column label="销售订单号" align="center" prop="relateSaleOrderCode"/>
|
||||
<el-table-column label="物料编码" align="center" prop="productCode"/>
|
||||
<el-table-column label="物料名称" align="center" prop="productName"/>
|
||||
<el-table-column label="物料规格" align="center" prop="productSpec"/>
|
||||
</el-table>
|
||||
<pagination
|
||||
v-show="total>0"
|
||||
:total="total"
|
||||
:page.sync="relateQueryParams.pageNum"
|
||||
:limit.sync="relateQueryParams.pageSize"
|
||||
@pagination="getList"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { selectSaleOrderRelates } from "@/api/mes/saleOrder";
|
||||
|
||||
export default {
|
||||
name: "SaleOrderRelates",
|
||||
props: {
|
||||
defineData: {
|
||||
type: Object,
|
||||
default: {}
|
||||
}
|
||||
},
|
||||
inject: ['closeDialog'],
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
// 总条数
|
||||
total: 0,
|
||||
relateSaleOrderList:[],
|
||||
// 选中数组
|
||||
relateQueryParams: {
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
},
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getData();
|
||||
},
|
||||
methods: {
|
||||
getData() {
|
||||
if (this.defineData.virtualMaterialId) {
|
||||
this.getList();
|
||||
}
|
||||
},
|
||||
|
||||
/** 查询销售订单信息列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
this.relateQueryParams.selectFlag = null;
|
||||
this.relateQueryParams.relateFlag = "1";
|
||||
this.relateQueryParams.virtualMaterialId = this.defineData.virtualMaterialId;
|
||||
selectSaleOrderRelates(this.relateQueryParams).then(response => {
|
||||
this.relateSaleOrderList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
});
|
||||
|
||||
},
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
this.reset();
|
||||
},
|
||||
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
|
||||
|
||||
.el-table {
|
||||
background-color: #fff0;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
|
||||
.roundBorder {
|
||||
position: absolute;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue