diff --git a/src/components/xSelect/index.vue b/src/components/xtSelect/index.vue similarity index 100% rename from src/components/xSelect/index.vue rename to src/components/xtSelect/index.vue diff --git a/src/components/xSelect/index2.vue b/src/components/xtSelect/index2.vue similarity index 100% rename from src/components/xSelect/index2.vue rename to src/components/xtSelect/index2.vue diff --git a/src/views/mtm/process.vue b/src/views/mtm/process.vue index b81cdd54..d3fa094d 100644 --- a/src/views/mtm/process.vue +++ b/src/views/mtm/process.vue @@ -49,26 +49,32 @@ > diff --git a/src/views/wf/degraD3.vue b/src/views/wf/degraD3.vue new file mode 100644 index 00000000..98b198e5 --- /dev/null +++ b/src/views/wf/degraD3.vue @@ -0,0 +1,229 @@ + + + + + diff --git a/src/views/wf/workflow.vue b/src/views/wf/workflow.vue index bb1ad2c6..2cb8c95c 100644 --- a/src/views/wf/workflow.vue +++ b/src/views/wf/workflow.vue @@ -83,7 +83,7 @@ link size="small" type="primary" - @click="handleWatch(scope)" + @click="handleWatch(scope.row)" > 流程图 @@ -106,23 +106,14 @@ -
-
-
- 工作流流程图 -
-
- -
-
-
+ + @@ -487,44 +375,6 @@ export default { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5); background-color: #f5f5f5; } - -.svgMark { - width: 100%; - height: 100%; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - margin: 0; - z-index: 2000; - background: rgba(0, 0, 0, 0.3); -} - -.svgWrapper { - background: #fff; - width: 800px; - margin: 5vh auto; - height: 90vh; - text-align: center; - border-radius: 2px; - overflow-y: scroll; -} - -.svgItem { - padding: 20px 40px 0; - font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, - Microsoft YaHei, Arial, sans-serif; - font-size: 18px; - display: flex; - justify-content: space-between; -} - -svg { - font-size: 14px; -} - .node rect { stroke: #606266; fill: #fff; diff --git a/src/views/wpm_gx/f_mlogs_form.vue b/src/views/wpm_gx/f_mlogs_form.vue index 75319b36..fd21c3e8 100644 --- a/src/views/wpm_gx/f_mlogs_form.vue +++ b/src/views/wpm_gx/f_mlogs_form.vue @@ -131,8 +131,7 @@ - @@ -176,9 +174,8 @@ @@ -397,7 +394,7 @@ export default { work_end_time:[{required: true,message: "请选择生产开始时间",trigger: "blur",},], route: [{required: true,message: "请选择工艺路线",trigger: "blur",},] }, - materialCount:1, + materialCount:1,//领料批次现有库存数 material_in:'', material_out:'', shiftOtions:[], @@ -475,8 +472,21 @@ export default { let that = this; that.materialOptions.forEach(item=>{ if(item.id == val){ - that.materialCount = item.count; - that.form.count_use = item.count; + that.form.count_n_hs = + that.form.count_n_qp = + that.form.count_n_swen = + that.form.count_n_bb = + that.form.count_n_xbb = + that.form.count_n_md = + that.form.count_n_xh = + that.form.count_n_ps = + that.form.count_n_zq = + that.form.count_n_qt = + that.form.count_n_wm=0; + that.materialCount = + that.form.count_use = + that.form.count_real = + that.form.count_ok = item.count; that.form.count_real = item.count-that.form.count_pn_jgqbl; } }) @@ -512,9 +522,9 @@ export default { this.form.count_n_wm; this.form.count_ok = this.form.count_real - this.form.count_notok; }, - countChanges(){ - this.form.count_ok = this.form.count_real - this.form.count_notok; - }, + // countChanges(){ + // this.form.count_ok = this.form.count_real - this.form.count_notok; + // }, //表单提交方法 submit() { let that = this; diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue index 0f2b01ec..2d26c035 100644 --- a/src/views/wpm_gx/handover.vue +++ b/src/views/wpm_gx/handover.vue @@ -14,6 +14,7 @@ icon="el-icon-plus" @click="table_add(20)" v-auth="'handover.create'" + v-if="mgroupName!=='切片'" >返工