Merge branch 'develop' of https://e.coding.net/ctcdevteam/hberp/hberp into develop

This commit is contained in:
caoqianming 2021-10-25 13:08:27 +08:00
commit 631a57791a
2 changed files with 13 additions and 3 deletions

View File

@ -74,7 +74,7 @@
<el-link type="primary"
v-else
@click="handleWork(scope)"
>子计划</el-link>
>子计划</el-link>
</template>
</el-table-column>
</el-table>
@ -305,6 +305,7 @@ export default {
await createsubplan(scope.row.id).then((res) => {
if (res.code >= 200) {
this.$message.success("生成子计划成功!");
this.$router.push({name: "work", params: { id: scope.row.id }, })
this.getplanList()
}
});

View File

@ -12,6 +12,7 @@
<el-table
:data="orderList.results"
border
ref="multipleTable"
fit
stripe
style="width: 100%"
@ -233,7 +234,7 @@ export default {
this.listLoading = false;
});
},
handleSelectionChange(row) {
handleSelectionChange(rows) {
let _this=this
_this.mutipID=[]
row.forEach((item) => {
@ -243,12 +244,20 @@ export default {
});
});
setTimeout(() => {
rows.forEach(row => {
this.$refs.multipleTable.toggleRowSelection(row);
});
}, 1)
},
//物料计算
handlecount()
{
createresource(this.mutipID).then((res) => {
if (res.code >= 200) {
this.materialpzTable=res.data;