fix:成品库和工艺步骤的流程图更新

This commit is contained in:
shijing 2025-07-16 09:16:31 +08:00
parent 3c96b563c2
commit 43df3085e2
2 changed files with 5 additions and 8 deletions

View File

@ -143,25 +143,23 @@
:apiObj="apiObjPrint"
></print-dialog>
<el-drawer v-model="limitedWatch" title="工艺路线流程图" size="80%" @closeDialog="limitedWatch = false">
<degrad3
<scDegra
v-if="limitedWatch"
ref="degraDialogs"
:nodes="nodes"
:edges="edges"
:rankdir="'LR'"
>
</degrad3>
</scDegra>
</el-drawer>
</el-container>
</template>
<script>
import degrad3 from "./../template/degraD3.vue";
import printDialog from "./../template/printmaterial.vue";
export default {
name: "halfgood",
components: {
printDialog,
degrad3
},
data() {
return {

View File

@ -95,7 +95,7 @@
<el-container>
<el-side style="width: 50%;overflow: scroll;">
<div style="font-weight: 600;color: #303133;font-size: 16px;padding: 10px 0;position: fixed;width: 30px;">工艺路线流程图</div>
<degrad3
<scDegra
style="margin-top: 50px;"
v-if="limitedWatch"
ref="degraDialogs"
@ -103,7 +103,7 @@
:edges="edges"
:rankdir="'DL'"
>
</degrad3>
</scDegra>
</el-side>
<el-main style="width: 50%;overflow: scroll;">
<el-container>
@ -200,10 +200,9 @@
</template>
<script>
import saveDialog from "./route_form.vue";
import degrad3 from "./../template/degraD3.vue";
export default {
name: "routepack_form",
components: { saveDialog,degrad3 },
components: { saveDialog },
data() {
return {
active: 0,