diff --git a/src/App.vue b/src/App.vue index d3b85f05..1e99eebe 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,6 +11,7 @@ \ No newline at end of file diff --git a/src/views/em/repair_form.vue b/src/views/em/repair_form.vue new file mode 100644 index 00000000..4c62764c --- /dev/null +++ b/src/views/em/repair_form.vue @@ -0,0 +1,181 @@ + + + \ No newline at end of file diff --git a/src/views/inm/mainso_mio.vue b/src/views/inm/mainso_mio.vue index 57ea1e21..63ad6549 100644 --- a/src/views/inm/mainso_mio.vue +++ b/src/views/inm/mainso_mio.vue @@ -173,7 +173,7 @@ :type="type" :cate="cate" :mioId="mioId" - @closed="visibleDrawer = false" + @closed="closedFun" > @@ -307,6 +307,10 @@ export default { handleSaveSuccess() { this.$refs.table.refresh(); }, + closedFun(){ + this.visibleDrawer = false; + this.$refs.table.refresh(); + }, }, }; diff --git a/src/views/inm/mioitem.vue b/src/views/inm/mioitem.vue index be7124e5..0b19cc46 100644 --- a/src/views/inm/mioitem.vue +++ b/src/views/inm/mioitem.vue @@ -141,7 +141,13 @@ - + + + + @@ -158,8 +164,7 @@ link type="primary" @click="table_check(scope.row)" - v-if="project_code=='bxerp'&&mioObj.state == 10 && - (type == 'pur_in' ||type == 'do_in' ||type == 'other_in')" + v-if="project_code=='bxerp'&&mioObj.state == 10 &&(type == 'pur_in' ||type == 'do_in' ||type == 'other_in')" v-auth="'mioitem.test'" >检验 - + + + + + - + + + + - + + + + + - - + + - + - + + @@ -87,7 +88,6 @@ + + diff --git a/src/views/statistics/bxerp/zhongjian1.vue b/src/views/statistics/bxerp/zhongjian1.vue index 2a29e3d9..d9aa9810 100644 --- a/src/views/statistics/bxerp/zhongjian1.vue +++ b/src/views/statistics/bxerp/zhongjian1.vue @@ -43,6 +43,21 @@ + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + @@ -128,6 +123,11 @@ {{ scope.row.data.中检一_缺陷项_掉皮?scope.row.data.中检一_缺陷项_掉皮:0 }} + + + + + + @@ -671,6 +721,14 @@ export default { count_qt = data.管料退火_count_notok - count; return count_qt; } + }else if(type=='工前检验'){ + if(data.六车间_工前检验_count_notok){ + if (data.六车间_工前检验_count_n_dl !== undefined) { + count += data.六车间_工前检验_count_n_dl ; + } + count_qt = data.六车间_工前检验_count_notok - count; + return count_qt; + } }else if(type=='开槽'){ if(data.六车间_开槽_count_notok){ if (data.六车间_开槽_count_n_dl !== undefined) { diff --git a/src/views/statistics/stock_statistics.vue b/src/views/statistics/stock_statistics.vue index c93e10e1..66262d97 100644 --- a/src/views/statistics/stock_statistics.vue +++ b/src/views/statistics/stock_statistics.vue @@ -14,13 +14,6 @@ :value="item.id"> - - - - - 导出 @@ -74,6 +67,13 @@ 库存出入库统计
+ + + + + diff --git a/src/views/wpm/mlog6_form.vue b/src/views/wpm/mlog6_form.vue index 5b93a337..99f7d990 100644 --- a/src/views/wpm/mlog6_form.vue +++ b/src/views/wpm/mlog6_form.vue @@ -86,9 +86,11 @@ controls-position="right" :min="0" :step="1" + :max="count_cando" :step-strictly="true" style="width: 100%" placeholder="请输入领用数量" + @change="countUseChange" > @@ -100,6 +102,7 @@ controls-position="right" :min="0" :step="1" + :max="form.count_use" :step-strictly="true" style="width: 100%" placeholder="请输入加工数量" @@ -114,6 +117,7 @@ controls-position="right" :min="0" :step="1" + disabled="true" :step-strictly="true" style="width: 100%" placeholder="请输入合格数" @@ -586,6 +590,7 @@ export default { handle_user: "", }, + count_cando:0, mlogb: [], userList: [], batchOptions: [], @@ -663,9 +668,31 @@ export default { }, batchChange(){ let that = this; - that.form.count_use = that.selectBatch.count_cando; - that.form.count_real = that.selectBatch.count_cando; - that.form.count_ok = that.selectBatch.count_cando; + this.form.count_notok = + this.form.count_n_hs = + this.form.count_n_cs = + this.form.count_n_zz = + this.form.count_n_tw = + this.form.count_n_zdd = + this.form.count_n_d = + this.form.count_n_dl = + this.form.count_n_qp = + this.form.count_n_bl = + this.form.count_n_hw = + this.form.count_n_yp = + this.form.count_n_bp = + this.form.count_n_sc = + this.form.count_n_zjd = + this.form.count_n_zjx = + this.form.count_n_qx = + this.form.count_n_js = + this.form.count_n_tydd = + this.form.count_n_sw = + this.form.count_n_bhpcd = + this.form.count_n_wq = + this.form.count_n_qt = + this.form.count_n_zw = 0; + that.count_cando = that.form.count_use = that.form.count_real = that.form.count_ok = that.selectBatch.count_cando; }, //获取车间物料批次号 getBatchs() { @@ -699,6 +726,12 @@ export default { this.visible = true; return this; }, + countUseChange(){ + if(this.form.count_real>this.form.count_use){ + this.form.count_real = this.form.count_use; + this.count_ok = this.form.count_real - this.form.count_notok; + } + }, countNotOkSun() { this.form.count_notok = Number(this.form.count_n_hs) + @@ -724,7 +757,7 @@ export default { Number(this.form.count_n_wq) + Number(this.form.count_n_qt) + Number(this.form.count_n_zw); - this.form.count_real = this.form.count_use-this.form.count_notok; + this.form.count_ok = this.form.count_real-this.form.count_notok; }, //提交 submit() { diff --git a/src/views/wpm_bx/handover_form.vue b/src/views/wpm_bx/handover_form.vue index 28038b6f..1df7de81 100644 --- a/src/views/wpm_bx/handover_form.vue +++ b/src/views/wpm_bx/handover_form.vue @@ -117,6 +117,7 @@ @@ -234,7 +231,6 @@ > @@ -519,6 +515,7 @@ export default { if(this.selection.length>0){ this.selection.forEach(item=>{ let obj = {}; + obj.id = item.id; obj.wm = item.id; obj.batch = item.batch; obj.process = item.material_.process_name; diff --git a/src/views/wpm_gx/handover_form.vue b/src/views/wpm_gx/handover_form.vue index d8b83af2..2f8a4a99 100644 --- a/src/views/wpm_gx/handover_form.vue +++ b/src/views/wpm_gx/handover_form.vue @@ -535,8 +535,10 @@ export default { this.form.handoverb = []; data.forEach(item=>{ let obj = {}; - obj.wm = item.id; + obj.wm = item.wm; + obj.label = item.label; obj.batch = item.batch; + obj.count_cando = item.count_canhandover; obj.count = item.count_canhandover; this.form.handoverb.push(obj); this.totalCount += Number(item.count_canhandover);