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 @@
@@ -97,6 +97,7 @@ export default {
columnSetting,
},
props: {
+ expendShow:{ type: Boolean, default: false },
tableName: { type: String, default: "" },
apiObj: { type: Object, default: () => { } },
params: { type: Object, default: () => ({}) },
@@ -134,6 +135,9 @@ export default {
this.tableData = this.data;
this.total = this.tableData.length;
},
+ expendShow(){
+ this.toggleExpandAll();
+ },
apiObj() {
this.tableParams = this.params;
this.refresh();
@@ -161,6 +165,7 @@ export default {
emptyText: "暂无数据",
toggleIndex: 0,
tableData: [],
+ expandRowKeys:[],
total: 0,
currentPage: 1,
prop: null,
@@ -207,6 +212,10 @@ export default {
this.isActivat = false;
},
methods: {
+ //滚动到顶部
+ scrollToTop() {
+ this.$refs.scTable.scrollTo(0, 0);
+ },
//获取列
async getCustomColumn() {
const userColumn = await config.columnSettingGet(
@@ -518,6 +527,19 @@ export default {
sort(prop, order) {
this.$refs.scTable.sort(prop, order);
},
+ // 控制展开/收起所有行
+ toggleExpandAll() {
+ const isExpandAll = this.expandRowKeys.length === this.$refs.scTable.data.length;
+ if (isExpandAll) {
+ this.expandRowKeys = []; // 收起所有
+ } else {
+ this.expandRowKeys = this.$refs.scTable.data.map(item => item.id); // 展开所有
+ }
+ },
+ // 每次展开状态变化时更新 expandRowKeys
+ handleExpandChange(row, expandedRows) {
+ this.expandRowKeys = expandedRows.map(row => row.is); // 根据实际的唯一标识
+ }
},
};
diff --git a/src/views/bigScreen/gxerp/index_daojiao.vue b/src/views/bigScreen/gxerp/index_daojiao.vue
new file mode 100644
index 00000000..9193611f
--- /dev/null
+++ b/src/views/bigScreen/gxerp/index_daojiao.vue
@@ -0,0 +1,714 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 设备状态
+
+
+
+ 运行中
+ {{hh.yx}}台
+
+
+
+ 未运行
+ {{hh.wyx}}台
+
+
+
+ 故障
+ {{hh.gz}}台
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 日投产量
+ 日加工数
+ 日加工前不良
+ 日合格数
+ 日不合格数
+
+
+ {{ sctj.rtcs }}
+ {{ sctj.rjgs }}
+ {{ sctj.rjgqbls }}
+ {{ sctj.rhgs }}
+ {{ sctj.rbhgs }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/bigScreen/gxerp/index_duoxianqie.vue b/src/views/bigScreen/gxerp/index_duoxianqie.vue
new file mode 100644
index 00000000..0008ad5b
--- /dev/null
+++ b/src/views/bigScreen/gxerp/index_duoxianqie.vue
@@ -0,0 +1,715 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 设备状态
+
+
+
+ 运行中
+ {{hh.yx}}台
+
+
+
+ 未运行
+ {{hh.wyx}}台
+
+
+
+ 故障
+ {{hh.gz}}台
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 日投产量
+ 日加工数
+ 日加工前不良
+ 日合格数
+ 日不合格数
+
+
+ {{ sctj.rtcs }}
+ {{ sctj.rjgs }}
+ {{ sctj.rjgqbls }}
+ {{ sctj.rhgs }}
+ {{ sctj.rbhgs }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/bigScreen/gxerp/index_jingdiao.vue b/src/views/bigScreen/gxerp/index_jingdiao.vue
new file mode 100644
index 00000000..0d6421f1
--- /dev/null
+++ b/src/views/bigScreen/gxerp/index_jingdiao.vue
@@ -0,0 +1,714 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 设备状态
+
+
+
+ 运行中
+ {{hh.yx}}台
+
+
+
+ 未运行
+ {{hh.wyx}}台
+
+
+
+ 故障
+ {{hh.gz}}台
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 日投产量
+ 日加工数
+ 日加工前不良
+ 日合格数
+ 日不合格数
+
+
+ {{ sctj.rtcs }}
+ {{ sctj.rjgs }}
+ {{ sctj.rjgqbls }}
+ {{ sctj.rhgs }}
+ {{ sctj.rbhgs }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/bigScreen/gxerp/index_mopao.vue b/src/views/bigScreen/gxerp/index_mopao.vue
new file mode 100644
index 00000000..38c4a47b
--- /dev/null
+++ b/src/views/bigScreen/gxerp/index_mopao.vue
@@ -0,0 +1,714 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 设备状态
+
+
+
+ 运行中
+ {{hh.yx}}台
+
+
+
+ 未运行
+ {{hh.wyx}}台
+
+
+
+ 故障
+ {{hh.gz}}台
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 日投产量
+ 日加工数
+ 日加工前不良
+ 日合格数
+ 日不合格数
+
+
+ {{ sctj.rtcs }}
+ {{ sctj.rjgs }}
+ {{ sctj.rjgqbls }}
+ {{ sctj.rhgs }}
+ {{ sctj.rbhgs }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/bigScreen/gxerp/index_saobian.vue b/src/views/bigScreen/gxerp/index_saobian.vue
new file mode 100644
index 00000000..e7beefd4
--- /dev/null
+++ b/src/views/bigScreen/gxerp/index_saobian.vue
@@ -0,0 +1,714 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 设备状态
+
+
+
+ 运行中
+ {{hh.yx}}台
+
+
+
+ 未运行
+ {{hh.wyx}}台
+
+
+
+ 故障
+ {{hh.gz}}台
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 日投产量
+ 日加工数
+ 日加工前不良
+ 日合格数
+ 日不合格数
+
+
+ {{ sctj.rtcs }}
+ {{ sctj.rjgs }}
+ {{ sctj.rjgqbls }}
+ {{ sctj.rhgs }}
+ {{ sctj.rbhgs }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/inm/helpso.vue b/src/views/inm/helpso.vue
index 738d4958..40b74c6e 100644
--- a/src/views/inm/helpso.vue
+++ b/src/views/inm/helpso.vue
@@ -60,11 +60,6 @@
{{ scope.row.material_.model }}
-
{{ scope.row.material_.unit }}
@@ -84,7 +79,15 @@
- {{ Number(scope.row.material_.unit_price)*Number(scope.row.count) }}
+
+ {{ ((Number(scope.row.material_.unit_price)*Number(scope.row.count))).toFixed(2) }}
+
+
+
+
+ 正常
+ 临界
+ 待采购
diff --git a/src/views/inm/helpso_mio.vue b/src/views/inm/helpso_mio.vue
index 37e3a6b7..47307eeb 100644
--- a/src/views/inm/helpso_mio.vue
+++ b/src/views/inm/helpso_mio.vue
@@ -127,6 +127,8 @@
+
+
-
+
+
+
diff --git a/src/views/inm/mioitem_form.vue b/src/views/inm/mioitem_form.vue
index 2af8a4df..4e2583d7 100644
--- a/src/views/inm/mioitem_form.vue
+++ b/src/views/inm/mioitem_form.vue
@@ -85,7 +85,10 @@
v-model="selectBatch"
value-key="id"
clearable
+ filterable
+ remote = "true"
style="width: 100%"
+ :remote-method="inputChange"
@change="selectBatchChange"
@clear="selectBatchClear"
>
@@ -357,6 +360,33 @@ export default {
this.wbatchOptions = res;
});
},
+ inputChange(e){
+ console.log('e',e);
+ if(e!==''&&e!==null&&e!==undefined){
+ let codeId = e.split('#')[1];
+ this.$API.cm.labelmat.item.req(codeId).then((res) => {
+ if(res){
+ arr = that.batchOptions.filter((item) => {
+ return item.batch == res.batch&&item.state==res.state;
+ })
+ if (arr.length > 0) {
+ that.selectBatch = arr[0].batch;
+ that.form.batch = arr[0].batch;
+ that.form.mb = arr[0].id;
+ that.batchcount = Number(arr[0].count_canmio);
+ that.form.count = Number(arr[0].count_canmio);
+ that.form.warehouse = arr[0].warehouse;
+ that.inputBatchDisable = true;
+ }else{
+ that.selectBatch = '';
+ that.$message.error("批次号不存在");
+ }
+ }else{
+ that.selectBatch = '';
+ }
+ })
+ }
+ },
getMaterialOptions() {
var type = this.form.type;
var cate = this.cate;
diff --git a/src/views/pum/supplieraudit_form.vue b/src/views/pum/supplieraudit_form.vue
index f321421e..8c37d64e 100644
--- a/src/views/pum/supplieraudit_form.vue
+++ b/src/views/pum/supplieraudit_form.vue
@@ -43,20 +43,27 @@
+
删除
+ 提交审批
@@ -90,7 +97,7 @@ export default {
survery_form_: null
},
localMode: this.mode,
- ticketTitle: "供应商审核"
+ saveLoading: false,
}
},
watch: {
@@ -124,16 +131,18 @@ export default {
})
})
},
- async submit_b_func() {
+ handleSave() {
if (this.localMode == "add") {
- let res = await this.$API.pum.supplieraudit.create.req(this.formData);
- this.ticketTitle = this.formData.name + "的供应商审核";
- this.formData.id = res.id;
- return res.id;
+ this.saveLoading = true;
+ this.$API.pum.supplieraudit.create.req(this.formData).then(res=>{
+ this.saveLoading = true;
+ this.$message.success("提交成功");
+ }).catch(e=>{
+ this.saveLoading = false;
+ })
+ this.$emit('success', this.localMode);
} else if (this.localMode == "edit") {
- console.log(this.formData);
- this.$message.error("不支持编辑");
- throw new Error("不支持编辑");
+ this.$message.error("不支持编辑!")
}
},
}
diff --git a/src/views/statistics/bxerp/cpccjc.vue b/src/views/statistics/bxerp/cpccjc.vue
index a3c9b2a7..ddae9801 100644
--- a/src/views/statistics/bxerp/cpccjc.vue
+++ b/src/views/statistics/bxerp/cpccjc.vue
@@ -2,11 +2,6 @@
-
diff --git a/src/views/statistics/bxerp/cpwgfj1.vue b/src/views/statistics/bxerp/cpwgfj1.vue
index 1e0ae3ad..d8dfa4e3 100644
--- a/src/views/statistics/bxerp/cpwgfj1.vue
+++ b/src/views/statistics/bxerp/cpwgfj1.vue
@@ -2,11 +2,6 @@
-
diff --git a/src/views/statistics/bxerp/cpwgfj2.vue b/src/views/statistics/bxerp/cpwgfj2.vue
index 013f51d8..9d533d1a 100644
--- a/src/views/statistics/bxerp/cpwgfj2.vue
+++ b/src/views/statistics/bxerp/cpwgfj2.vue
@@ -2,11 +2,6 @@
-
diff --git a/src/views/statistics/bxerp/cpwgnzcj.vue b/src/views/statistics/bxerp/cpwgnzcj.vue
index a98fec41..82c1c4ae 100644
--- a/src/views/statistics/bxerp/cpwgnzcj.vue
+++ b/src/views/statistics/bxerp/cpwgnzcj.vue
@@ -2,11 +2,6 @@
-
diff --git a/src/views/statistics/bxerp/cpwgnzfj.vue b/src/views/statistics/bxerp/cpwgnzfj.vue
index 0467f707..f1202c2c 100644
--- a/src/views/statistics/bxerp/cpwgnzfj.vue
+++ b/src/views/statistics/bxerp/cpwgnzfj.vue
@@ -27,6 +27,7 @@
:params="params"
:query="params"
id="exportDiv"
+ row-key="id"
stripe
>
diff --git a/src/views/statistics/bxerp/cpxnjy.vue b/src/views/statistics/bxerp/cpxnjy.vue
index bc015c54..b30c6abb 100644
--- a/src/views/statistics/bxerp/cpxnjy.vue
+++ b/src/views/statistics/bxerp/cpxnjy.vue
@@ -2,11 +2,6 @@
-
diff --git a/src/views/statistics/bxerp/cpzj.vue b/src/views/statistics/bxerp/cpzj.vue
index b5705194..4ce52805 100644
--- a/src/views/statistics/bxerp/cpzj.vue
+++ b/src/views/statistics/bxerp/cpzj.vue
@@ -2,11 +2,6 @@
-
diff --git a/src/views/statistics/bxerp/defect.vue b/src/views/statistics/bxerp/defect.vue
index ef36b4a1..5f5b573d 100644
--- a/src/views/statistics/bxerp/defect.vue
+++ b/src/views/statistics/bxerp/defect.vue
@@ -32,6 +32,9 @@
ref="table"
:data="tableData"
id="exportDiv"
+ row-key="id"
+ hidePagination
+ hideDo
stripe
>
@@ -91,7 +94,7 @@ export default {
return {
query:{
end_date:'',
- mgroup_name:'',
+ mgroup_name:'排板',
start_date:'',
},
mgroups: [],
diff --git a/src/views/statistics/bxerp/fenjian.vue b/src/views/statistics/bxerp/fenjian.vue
index 3e811924..2590343e 100644
--- a/src/views/statistics/bxerp/fenjian.vue
+++ b/src/views/statistics/bxerp/fenjian.vue
@@ -2,11 +2,6 @@
-
diff --git a/src/views/statistics/bxerp/fenjianTotal.vue b/src/views/statistics/bxerp/fenjianTotal.vue
new file mode 100644
index 00000000..139c15de
--- /dev/null
+++ b/src/views/statistics/bxerp/fenjianTotal.vue
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+ 导出
+
+
+
+
+
+
+
+ {{ scope.row.data.分检_批次号 }}
+
+
+
+
+
+
+
+
+
+ {{ scope.row.data.分检_检测项_S畸变 }}
+
+
+
+
+ {{scope.row.data.分检_缺陷项_S畸变不合格?1-scope.row.data.分检_缺陷项_S畸变不合格:1 }}
+
+
+
+
+
+
+ {{ scope.row.data.分检_检测项_像位移 }}
+
+
+
+
+ {{ scope.row.data.分检_缺陷项_像位移不合格?1-scope.row.data.分检_缺陷项_像位移不合格:1 }}
+
+
+
+
+
+ {{ scope.row.data.分检_缺陷项_炸废?scope.row.data.分检_缺陷项_炸废:0 }}
+
+
+
+
+ {{ scope.row.data.分检_缺陷项_放大率?scope.row.data.分检_缺陷项_放大率:0 }}
+
+
+
+
+ {{ scope.row.data.分检_缺陷项_角偏?scope.row.data.分检_缺陷项_角偏:0 }}
+
+
+
+
+ {{scope.row.data.分检_缺陷项_扭转角不合格?scope.row.data.分检_缺陷项_扭转角不合格:0}}
+
+
+
+
+ {{ scope.row.data.分检_缺陷项_备注 }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/statistics/bxerp/gzcpjc.vue b/src/views/statistics/bxerp/gzcpjc.vue
index 59bc5901..3783011e 100644
--- a/src/views/statistics/bxerp/gzcpjc.vue
+++ b/src/views/statistics/bxerp/gzcpjc.vue
@@ -2,11 +2,6 @@
-
diff --git a/src/views/statistics/bxerp/inmTotal.vue b/src/views/statistics/bxerp/inmTotal.vue
index e430fa56..4817aaf8 100644
--- a/src/views/statistics/bxerp/inmTotal.vue
+++ b/src/views/statistics/bxerp/inmTotal.vue
@@ -5,12 +5,15 @@
ref="table"
:data="tableData"
id="exportDiv"
+ row-key="id"
+ hidePagination
+ hideDo
stripe
>
-
+
{{ scope.row[item] }}
@@ -21,9 +24,8 @@
diff --git a/src/views/wpm_bx/handover_form2.vue b/src/views/wpm_bx/handover_form2.vue
index 993d710e..d6d2c92b 100644
--- a/src/views/wpm_bx/handover_form2.vue
+++ b/src/views/wpm_bx/handover_form2.vue
@@ -209,8 +209,8 @@ export default {
},
formWminChange(index,number){
let that = this;
- // console.log('number',number.split(" "));
let arrs = number.split(" ");
+ let barchArrs = [];
that.form.handoverb[index].wm_in = "";
if(arrs.length>1){
that.form.handoverb[index].wpr = '';
@@ -221,12 +221,17 @@ export default {
let obj = {};
obj.number = item.number;
obj.wpr = item.id;
+ barchArrs.push(arr);
that.form.handoverb[index].handoverbw.push(obj);
that.form.handoverb[index].count = that.form.handoverb[index].handoverbw.length;
}
})
})
-
+ //如果arrs里有不是这个批次的wpr,提示错误
+ let diff = arrs.filter(item => !barchArrs.includes(item));
+ if(diff.length>0){
+ that.$confirm("物料"+diff.join(",")+"不在该批次中", "提示", {type: "warning",}).then(() => {});
+ }
}else{
//放入对应的行中的handoverb中,并且在列表中disabled
that.wprOptions.forEach(item=>{
diff --git a/src/views/wpm_bx/index.vue b/src/views/wpm_bx/index.vue
index cd553579..61ba9631 100644
--- a/src/views/wpm_bx/index.vue
+++ b/src/views/wpm_bx/index.vue
@@ -81,6 +81,13 @@
:mgroup_code="mgroup_code"
:mgroupMtype = "mgroupMtype"
>
+
@@ -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"
>
-
-
-
-
- {{wmState[scope.row.state]?.text}}
+
+
+
+
+ {{wmState[scope.row.state]?.text}}
@@ -61,9 +61,7 @@
>
{{ scope.row.material_name }}
- ({{ scope.row.material_origin_name }})
+ ({{ scope.row.material_origin_name }})
-
- {{scope.row.belong_dept_name}}/{{scope.row.mgroup_name}}
-
+
+ {{scope.row.belong_dept_name}}/{{scope.row.mgroup_name}}
+
检验
-
+ v-if="(scope.row.mgroup_name == '黑化'||scope.row.mgroup_name == '退火'||scope.row.mgroup_name == '外观检验')&&(scope.row.state == 10||scope.row.state == 20||scope.row.state == 34)"
+ >检验
检验记录
-
+ v-if="(scope.row.mgroup_name == '黑化'||scope.row.mgroup_name == '退火'||scope.row.mgroup_name == '外观检验')&&(scope.row.state == 10||scope.row.state == 20||scope.row.state == 34)"
+ >检验记录
物料标签
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
>
-
-
- {{ scope.row.material_name }}
-
-
-
-
-
-
-
-
+
+
+ {{ scope.row.material_name }}
+
+
+
+
+
+
+
+
+
+ 删除
+
+
@@ -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 @@
领料
入库
-
退还入库