diff --git a/src/App.vue b/src/App.vue index b03993b4..d3b85f05 100644 --- a/src/App.vue +++ b/src/App.vue @@ -167,18 +167,6 @@ export default { .asyncColorSwitch .el-switch__label--left.is-active{ color: #0052d9!important; /* 关闭状态的文本颜色 */ } -// .el-table thead.is-group th.el-table__cell.colorheader1{ -// background-color: rgb(255, 243, 202)!important; -// } -// .el-table thead.is-group th.el-table__cell.colorheader2{ -// background-color: rgb(227, 242, 217)!important; -// } -// .el-table thead.is-group th.el-table__cell.colorheader3{ -// background-color: rgb(250, 218, 222)!important; -// } -// .el-table thead.is-group th.el-table__cell.colorheader4{ -// background-color: rgb(168, 218, 228)!important; -// } .el-table thead th.el-table__cell.colorheader1, .el-table thead.is-group th.el-table__cell.colorheader1{ background-color: rgba(246, 98, 98, 0.323)!important; @@ -207,36 +195,24 @@ export default { .el-table thead.is-group th.el-table__cell.colorheader7{ background-color: rgba(51, 15, 253, 0.317)!important; } +.totalFooterTable>.el-table__inner-wrapper>.el-table__footer-wrapper tfoot td.el-table__cell { + background-color: #a4e398; + font-weight: bold; + color: #000000; + font-size: 14px; +} // 排放系统 - -// .el-popper { -// border-radius: 0; -// } - -// .el-popper[data-popper-placement^=bottom]>.el-popper__arrow { -// top: -5px; -// display: none !important; -// } - -// .el-popper.is-light { -// background: linear-gradient(to right, #116a7c, #92f2ff); -// border-image-source: linear-gradient(to right, #92f2ff, #116a7c); -// } - .enpMenu.el-dropdown-menu { padding: 0.7vh 0.7vh 0.2vh; - //background: linear-gradient(to right, #10608e, #1dabfd); background: linear-gradient(to right, #053949, #107b90); } .enpMenu > .el-dropdown-menu__item { margin-bottom: 0.5vh; - //background: linear-gradient(to right, #29d, #1dabfd); background: linear-gradient(to right, #1b8fa4, #107b90); } .enpMenu > .el-dropdown-menu__item:not(.is-disabled):focus { - //background: linear-gradient(to right, #10608e, #1dabfd); background: linear-gradient(to right, #053949, #107b90); color: #ffffff; } @@ -259,7 +235,6 @@ export default { height: 92%; bottom: 0; top: 8%; - // background-image: url('/public/img/enp_blue/bg_enp_half.png'); } #enpTable .el-table { @@ -321,25 +296,6 @@ export default { .bigScreenTable table td { font-size: 0.7vw !important; } - -// .searchSelect>.select-trigger>.el-input>.el-input__wrapper { -// width: 7vw; -// height: 3vh; -// border: none !important; -// box-shadow: none !important; -// background-size: 100% 100%; -// background-image: url('/public/img/enp_blue/selectBg.png'); -// } - -// .searchInput>.el-input__wrapper { -// width: 7vw; -// height: 3vh; -// border: none !important; -// box-shadow: none !important; -// background-size: 100% 100%; -// background-image: url('/public/img/enp_blue/selectBg.png'); -// } - .enpCheckbox > .el-checkbox > .el-checkbox__label { color: #ffffff; } diff --git a/src/api/model/wf.js b/src/api/model/wf.js index 0bd01bb7..dc51f6a8 100644 --- a/src/api/model/wf.js +++ b/src/api/model/wf.js @@ -10,6 +10,13 @@ export default { return await http.get(this.url, data); } }, + cates: { + url: `${config.API_URL}/wf/workflow/cates/`, + name: "工作流分类", + req: async function(data){ + return await http.get(this.url, data); + } + }, item: { name: "工作流详情", req: async function(id){ diff --git a/src/components/scTable/index.vue b/src/components/scTable/index.vue index 2bb2462b..7c3d615c 100644 --- a/src/components/scTable/index.vue +++ b/src/components/scTable/index.vue @@ -12,7 +12,7 @@
- @@ -89,10 +96,11 @@ import inmIn from "./inmIn.vue"; import inmOut from "./inmOut.vue"; import mlogs from "./mlogs.vue"; import mtask from "./mtask.vue"; +import record from "./../wpm_gx/inmrecord.vue"; import handover from "./handover.vue"; export default { name: "bx", - components: { inmIn, mlogs, mtask, handover,inmOut }, + components: { inmIn, mlogs, mtask, handover,inmOut,record }, data() { return { mgroups:[], @@ -118,6 +126,12 @@ export default { let paths = this.$route.path; let arr = paths.split("/"); this.mgroup_code = arr[2]; + if(this.mgroup_code=='chengpingneiwaichujian'||this.mgroup_code=='guangzhuichengpjianc'|| + this.mgroup_code=='chengpneizhifujian'||this.mgroup_code=='chengpingxinengjiance'|| + this.mgroup_code=='chenpjianchicunjiance'||this.mgroup_code=='chengpwaiguanfujianyi'|| + this.mgroup_code=='chengpwaiguanfujianer'){ + this.options.push('出入库记录'); + } console.log('this.mgroup_code',this.mgroup_code); that.getMgroups(this.mgroup_code); }, diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue index fcc84202..6b985b48 100644 --- a/src/views/wpm_bx/inmIn.vue +++ b/src/views/wpm_bx/inmIn.vue @@ -243,6 +243,7 @@ v-if="dialog.scrap" ref="scrapDialog" :type="type" + :tag="tag" :mgroupName="mgroup_name" :mgroupId="mgroupId" @success="handleScrapSuccess" @@ -380,6 +381,7 @@ export default { page:0, wm: "" }, + tag:"", wmId:"", route_code:"", showBatch: "", @@ -501,6 +503,7 @@ export default { }) } this.type = 10; + this.tag = 'todo'; this.dialog.scrap = true; this.$nextTick(() => { this.$refs.scrapDialog.open("add",handoverb,30); diff --git a/src/views/wpm_bx/mlogbw_check_table.vue b/src/views/wpm_bx/mlogbw_check_table.vue index cb5b9181..6f4b74f5 100644 --- a/src/views/wpm_bx/mlogbw_check_table.vue +++ b/src/views/wpm_bx/mlogbw_check_table.vue @@ -812,6 +812,7 @@ export default { that.equipmentOptions.forEach(item => { if(item.id == that.form.equipment){ that.form.equipment_name = item.name; + that.setForm.equipment_name = item.name; that.form.cd_req_addr = that.setForm.cd_req_addr = item.cd_req_addr; } }); diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue index d09272b7..07f5e8f8 100644 --- a/src/views/wpm_gx/handover.vue +++ b/src/views/wpm_gx/handover.vue @@ -361,6 +361,7 @@ export default { typeOptions: [ { name: "交送", value: "send" }, { name: "接收", value: "recive" }, + { name: "合批", value: "hepi" }, ], searchType: "", options: ["交送", "接收"], @@ -502,6 +503,8 @@ export default { that.query.recive_mgroup = that.mgroupId; that.query.send_mgroup = ""; } + }else if (that.searchType == "hepi") { + that.query.mtype =30; } else { that.query.send_mgroup = ""; that.query.recive_mgroup = ""; diff --git a/src/views/wpm_gx/inmOut.vue b/src/views/wpm_gx/inmOut.vue index 86667216..9e0a137e 100644 --- a/src/views/wpm_gx/inmOut.vue +++ b/src/views/wpm_gx/inmOut.vue @@ -46,11 +46,11 @@ :query="query" @selection-change="selectionChange" > - - - diff --git a/src/views/wpm_gx/inm_record.vue b/src/views/wpm_gx/inm_record.vue index ea6e606e..20f9c3a7 100644 --- a/src/views/wpm_gx/inm_record.vue +++ b/src/views/wpm_gx/inm_record.vue @@ -157,22 +157,28 @@ hideDo stripe > - - - - - - - - - - + + + + + + + + + + + + + @@ -514,6 +520,18 @@ export default { this.$refs.saveDialog.open("edit").setData(row); }); }, + table_del(row){ + let that = this; + this.$confirm(`确定删除吗?`, "提示", { + type: "warning", + }).then(() => { + that.$API.inm.mioitem.delete.req(row.id).then((res) => { + that.$message.success("删除成功"); + that.$refs.tables.refresh(); + return res; + }); + }).catch(() => {}); + }, table_submit() { let that = this; that.$API.inm.mio.submit.req(that.mioId).then((res) => { diff --git a/src/views/wpm_gx/inmrecord.vue b/src/views/wpm_gx/inmrecord.vue index 31fde791..fdfc902e 100644 --- a/src/views/wpm_gx/inmrecord.vue +++ b/src/views/wpm_gx/inmrecord.vue @@ -3,20 +3,17 @@
领料 入库 - 退还入库