Merge branch 'develop' of https://e.coding.net/ctcdevteam/hberp/hberp into develop
This commit is contained in:
commit
631a57791a
|
@ -74,7 +74,7 @@
|
||||||
<el-link type="primary"
|
<el-link type="primary"
|
||||||
v-else
|
v-else
|
||||||
@click="handleWork(scope)"
|
@click="handleWork(scope)"
|
||||||
>生产子计划</el-link>
|
>生成子计划</el-link>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -305,6 +305,7 @@ export default {
|
||||||
await createsubplan(scope.row.id).then((res) => {
|
await createsubplan(scope.row.id).then((res) => {
|
||||||
if (res.code >= 200) {
|
if (res.code >= 200) {
|
||||||
this.$message.success("生成子计划成功!");
|
this.$message.success("生成子计划成功!");
|
||||||
|
this.$router.push({name: "work", params: { id: scope.row.id }, })
|
||||||
this.getplanList()
|
this.getplanList()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
<el-table
|
<el-table
|
||||||
:data="orderList.results"
|
:data="orderList.results"
|
||||||
border
|
border
|
||||||
|
ref="multipleTable"
|
||||||
fit
|
fit
|
||||||
stripe
|
stripe
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
|
@ -233,7 +234,7 @@ export default {
|
||||||
this.listLoading = false;
|
this.listLoading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleSelectionChange(row) {
|
handleSelectionChange(rows) {
|
||||||
let _this=this
|
let _this=this
|
||||||
_this.mutipID=[]
|
_this.mutipID=[]
|
||||||
row.forEach((item) => {
|
row.forEach((item) => {
|
||||||
|
@ -243,12 +244,20 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
setTimeout(() => {
|
||||||
|
rows.forEach(row => {
|
||||||
|
this.$refs.multipleTable.toggleRowSelection(row);
|
||||||
|
});
|
||||||
|
}, 1)
|
||||||
|
|
||||||
},
|
},
|
||||||
//物料计算
|
//物料计算
|
||||||
handlecount()
|
handlecount()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
createresource(this.mutipID).then((res) => {
|
createresource(this.mutipID).then((res) => {
|
||||||
if (res.code >= 200) {
|
if (res.code >= 200) {
|
||||||
this.materialpzTable=res.data;
|
this.materialpzTable=res.data;
|
||||||
|
|
Loading…
Reference in New Issue