From 41e0df8413624e6034c967f3afae30da59370879 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期一, 11 十二月 2023 16:20:15 +0800 Subject: [PATCH] modified: src/components/verifition/Verify/VerifyPoints.vue modified: src/const/crud/admin/sys-public-param.js modified: src/page/full-screen/fullScreenPlus.vue modified: src/page/index/logo.vue modified: src/page/index/sidebar/sidebarItem.vue modified: src/page/login/index.vue modified: src/page/login/thirdpartylogin.vue modified: src/util/elAttr.js modified: src/views/accounting/unitworkfactor/unitworkfactor-form.vue modified: src/views/accounting/unitworkfactor/updateQuota-form.vue modified: src/views/basic/discmaintenance/discmaintenance-form.vue modified: src/views/basic/log/index.vue modified: src/views/basic/part/part-form.vue modified: src/views/basic/part/print-label-form.vue modified: src/views/basic/poc/index.vue modified: src/views/basic/tabletest/index.vue modified: src/views/basic/template/index.vue modified: src/views/basic/template/template-form.vue modified: src/views/basic/workstation/workstation-form.vue modified: src/views/common/custom-table.vue modified: src/views/common/documentDetail.vue modified: src/views/common/operationParamTemplate.vue modified: src/views/common/rawMaterial-part.vue modified: src/views/common/search-select.vue modified: src/views/common/ztt-table.vue modified: src/views/huawei/code19bind/list.vue modified: src/views/huawei/code19gen/form.vue modified: src/views/huawei/grossweightcode/list.vue modified: src/views/huawei/grossweightcode/task-secret-form.vue modified: src/views/oa/JiegouModal.vue modified: src/views/oa/PeizhiModal.vue modified: src/views/oa/technology-document-new.vue modified: src/views/oa/technology-document.vue modified: src/views/plan/customer/index.vue modified: src/views/plan/customerorder/confirm-pull-customerorder.vue modified: src/views/plan/customerorder/customerorder-config-history.vue modified: src/views/plan/customerorder/customerorder-form.vue modified: src/views/plan/customerorder/customerorder-return.vue modified: src/views/plan/customerorder/customerorder-ztt-table.vue modified: src/views/plan/customerorder/index.vue modified: src/views/plan/customerorder/other-customer-order-line.vue modified: src/views/plan/customerorder/sample-customerorder-form.vue modified: src/views/plan/customerorder/schedule-table.vue modified: src/views/plan/manufacturingorder/auto-operationtask.vue modified: src/views/plan/manufacturingorder/customerorder.vue modified: src/views/plan/manufacturingorder/customize-param-template.vue modified: src/views/plan/manufacturingorder/order-operation-form.vue modified: src/views/plan/manufacturingorder/productorder-form.vue modified: src/views/plan/manufacturingorderapply/index.vue modified: src/views/plan/masterproductionschedule/auto-manufacturingorder.vue modified: src/views/plan/operationtask/gantt.vue modified: src/views/plan/operationtask/operationtask-form.vue modified: src/views/plan/operationtask/task-material.vue modified: src/views/plan/productionschedul/index.vue modified: src/views/plan/productionschedul/template-form.vue modified: src/views/plan/schedule/gantt.vue modified: src/views/plan/schedulelookover/ganttview.vue modified: src/views/plan/segmentmerge/index.vue modified: src/views/plan/segmentmerge/operate-dialog.vue modified: src/views/plan/segmentmerge/operation-technology-form.vue modified: src/views/product/dutyrecord/index.vue modified: src/views/product/producttraceability/index.vue modified: src/views/product/producttraceability/traceability-diagram.vue modified: src/views/product/workbench/batchproductout-form-new.vue modified: src/views/product/workbench/batchproductout-form.vue modified: src/views/product/workbench/feed-form.vue modified: src/views/product/workbench/feed-pane.vue modified: src/views/product/workbench/feed-tab.vue modified: src/views/product/workbench/handymantype.vue modified: src/views/product/workbench/index.vue modified: src/views/product/workbench/mould-pane.vue modified: src/views/product/workbench/operation-task-pane.vue modified: src/views/product/workbench/product-record-form.vue modified: src/views/product/workbench/productout-form-by-batch.vue modified: src/views/product/workbench/productout-form.vue modified: src/views/product/workbench/productrecord-tab.vue modified: src/views/product/workbench/producttracking-tab.vue modified: src/views/product/workbench/shift-productout-form.vue modified: src/views/product/workbench/splitTaskForm.vue modified: src/views/product/workbench/taskinfo-pane.vue modified: src/views/quality/Packaging_ledger/pack-from.vue modified: src/views/quality/apply/index.vue modified: src/views/quality/exception/exception.vue modified: src/views/quality/exception/index.vue modified: src/views/quality/finishedProductInspection/finishedProduct-form.vue modified: src/views/quality/finishedProductInspection/finishedProduct-print.vue modified: src/views/quality/finishedProductInspection/finishedProducter-print.vue modified: src/views/quality/finishedProductInspection/index.vue modified: src/views/quality/newReport/ReportForm.vue modified: src/views/quality/processInspect/index.vue modified: src/views/quality/processInspect/processInspect-form.vue modified: src/views/quality/processconfiguration/index.vue modified: src/views/quality/processconfiguration/table-form.vue modified: src/views/quality/rawMaterial/QrcodeReader.vue modified: src/views/quality/rawMaterial/index.vue modified: src/views/quality/rawMaterial/rawMaterial-form.vue modified: src/views/quality/report/index.vue modified: src/views/quality/standardbind/standardbind-form.vue modified: src/views/quality/statistics/rateChart.vue modified: src/views/quality/testitemlayout/index.vue modified: src/views/quality/testplan/testplan-form.vue modified: src/views/quality/unqualifiedprocess/examineApproveform.vue modified: src/views/quality/unqualifiedprocess/index.vue modified: src/views/quality/unqualifiedprocess/loaction-form.vue modified: src/views/quality/unqualifiedprocess/unqualifiedprocessform.vue modified: src/views/technology/completeproductstructure/completeproductstructure-form.vue modified: src/views/technology/document/checkStandardTable.vue modified: src/views/technology/document/document-form.vue modified: src/views/technology/document/extendsOperation.vue modified: src/views/technology/document/extendsTestStandard.vue modified: src/views/technology/document/extendsTestStandardParam.vue modified: src/views/technology/document/teststandard.vue modified: src/views/technology/structure/single-structure-form.vue modified: src/views/warehouse/changestock/index.vue modified: src/views/warehouse/check/check-detail.vue modified: src/views/warehouse/pallettransports/ifslocation-form.vue modified: src/views/warehouse/pallettransports/ifsstock-form.vue modified: src/views/warehouse/pallettransports/index.vue modified: src/views/warehouse/returnstock/ifslocation-form.vue modified: src/views/warehouse/returnstock/index.vue modified: src/views/warehouse/returnstock/returnstock-form.vue modified: src/views/warehouse/returnstock/stock-part.vue modified: src/views/warehouse/stock/print-label-form.vue modified: src/views/warehouse/stock/small-print-label-form.vue modified: src/views/warehouse/stock/small-warehousing-label-form.vue modified: src/views/warehouse/stock/stock-table.vue modified: src/views/warehouse/stock/warehousing-label-form.vue modified: src/views/zte/pkgidbind/index.vue --- src/views/plan/manufacturingorder/productorder-form.vue | 163 ++++++++++++++++++++++++----------------------------- 1 files changed, 74 insertions(+), 89 deletions(-) diff --git a/src/views/plan/manufacturingorder/productorder-form.vue b/src/views/plan/manufacturingorder/productorder-form.vue index 212ad12..affcd01 100644 --- a/src/views/plan/manufacturingorder/productorder-form.vue +++ b/src/views/plan/manufacturingorder/productorder-form.vue @@ -8,7 +8,7 @@ </div> <div class="btn-group header-right" v-if="editable"> <el-button :disabled="isSubmit" v-thinclick="`dataFormSubmit`" - >淇濆瓨</el-button + type="primary">淇濆瓨</el-button > </div> </div> @@ -89,6 +89,7 @@ <el-col :span="3"> <el-form-item label="瀹屾垚鏁伴噺" prop="qtyFinished"> <el-input-number + style= "width: 90%" v-model="dataForm.qtyFinished" placeholder="" :controls="false" @@ -107,7 +108,7 @@ </el-date-picker> </el-form-item> </el-col> - <el-col :span="6"> + <!-- <el-col :span="6"> <el-form-item label="澶栨姢棰滆壊" prop="outerColor"> <el-input readonly @@ -124,11 +125,8 @@ placeholder="" ></el-input> </el-form-item> - </el-col> - </el-row> - - <el-row :gutter="10"> - <el-col :span="6"> + </el-col> --> + <el-col :span="6"> <el-form-item label="澶囨敞" prop="remark"> <el-input v-model="dataForm.remark" placeholder=""></el-input> </el-form-item> @@ -151,44 +149,43 @@ </el-select> </el-form-item> </el-col> - <el-col :span="8"> - <el-col - :span="8" - v-if="permissions.plan_manufacturingorder_bom_sure" - > - <el-form-item label="BOM纭"> - <el-switch v-model="dataForm.bomConfirmStatus"> </el-switch> - </el-form-item> - </el-col> - <el-col - :span="8" - v-if="permissions.plan_manufacturingorder_process_sure" - > - <el-form-item label="宸ヨ壓纭"> - <el-switch v-model="dataForm.processConfirmStatus"> - </el-switch> - </el-form-item> - </el-col> - <el-col - :span="8" - v-if="permissions.plan_manufacturingorder_test_sure" - > - <el-form-item label="妫�娴嬫爣鍑嗙‘璁�"> - <el-switch v-model="dataForm.standardConfirmStatus"> - </el-switch> - </el-form-item> - </el-col> + </el-row> + <!-- <el-col + :span="2" + v-if="permissions.plan_manufacturingorder_bom_sure" + > + <el-form-item label="BOM纭" label-width="110px"> + <el-switch v-model="dataForm.bomConfirmStatus"> </el-switch> + </el-form-item> </el-col> - <el-col :span="4"> + <el-col + :span="2" + v-if="permissions.plan_manufacturingorder_process_sure" + > + <el-form-item label="宸ヨ壓纭" label-width="110px"> + <el-switch v-model="dataForm.processConfirmStatus"> + </el-switch> + </el-form-item> + </el-col> + <el-col + :span="2" + v-if="permissions.plan_manufacturingorder_test_sure" + > + <el-form-item label="妫�娴嬫爣鍑嗙‘璁�" label-width="140px"> + <el-switch v-model="dataForm.standardConfirmStatus"> + </el-switch> + </el-form-item> + </el-col> --> + <!-- <el-col :span="2"> <el-form-item label="IFS杞﹂棿璁㈠崟鎺ユ敹鏃舵姤鍛婂伐搴�" prop="isReportOperation" - label-width="200px" + label-width="250px" > <el-switch v-model="dataForm.isReportOperation" disabled> </el-switch> </el-form-item> - </el-col> + </el-col> --> <!-- <el-col :span="2"> <el-form-item label="BOM纭"> <el-switch > @@ -207,7 +204,7 @@ </el-switch> </el-form-item> </el-col> --> - </el-row> + </div> <div class="productorder-detail"> <el-card class="productorder-list"> @@ -229,15 +226,7 @@ <el-option v-for="item in dataForm.routingList" :key="item.id" - :label=" - item.routingNo + - '-' + - item.bomTypeDb + - '-' + - item.alternativeNo + - '-' + - item.alternativeDesc - " + :label="item.routingNo " :value="item.id" > </el-option> @@ -501,7 +490,7 @@ @refreshTestStandardInfo="refreshTestStandardInfo" ></testStandardTable> </el-tab-pane> - <el-tab-pane + <!-- <el-tab-pane label="鎶芥瑙勫垯" key="tb2" id="tb2" @@ -587,7 +576,7 @@ </el-table> </div> </div> - </el-tab-pane> + </el-tab-pane> --> </el-tabs> </el-col> </el-row> @@ -595,8 +584,19 @@ <el-tab-pane label="浜у搧缁撴瀯" id="ta1" key="ta1" name="ta1"> <el-row> - <el-col :span="11"> - <el-form-item label="瀹屾暣BOM"> + <el-col :span="2" style="text-align: center"> + <el-button + type="text" + size="small" + icon="el-icon-circle-plus-outline" + style="color:#f56c6c;" + :disabled="!dataForm.id" + @click="addStruct()" + >娣诲姞鍏冪礌 + </el-button> + </el-col> + <el-col :offset="11" :span="11"> + <!-- <el-form-item label="瀹屾暣BOM"> <el-select @change="bomSelectChanged" disabled @@ -622,35 +622,18 @@ > </el-option> </el-select> - </el-form-item> - </el-col> - <el-col :offset="11" :span="2" style="text-align: center"> - <el-button - type="text" - size="small" - icon="el-icon-circle-plus-outline" - style="color:#f56c6c;" - :disabled="!dataForm.id" - @click="addStruct()" - >娣诲姞鍏冪礌 - </el-button> + </el-form-item> --> </el-col> </el-row> <el-row> <el-table - default-expand-all - :data="components" + :data="components[0]" @selection-change="structSelectionChange" - row-key="id" border - :tree-props="{ - children: 'children' - }" style="width: 100%" height="400px" - :default-sort="{ prop: 'index' }" > - <el-table-column type="selection" width="40" fixed="left" /> + <!-- <el-table-column type="selection" width="40" fixed="left" /> --> <el-table-column type="index" width="50" @@ -668,7 +651,7 @@ /> <el-table-column prop="partName" - width="" + width="200" header-align="center" align="left" label="闆朵欢" @@ -759,7 +742,7 @@ </el-table-column> </el-table> </el-row> - <el-row> + <!-- <el-row> <el-col :span="24" ><div style="margin-top:5px;"> <span style="font-size:12px;">澶栧崗鍙戞枡琛�</span> @@ -851,7 +834,7 @@ </el-table-column> </el-table> </el-col> - </el-row> + </el-row> --> </el-tab-pane> <el-tab-pane label="瀹㈡埛璁㈠崟" id="ta3" key="ta3" name="ta3"> <CustomerOrder :orderId="dataForm.id" /> @@ -1071,6 +1054,7 @@ data() { return { + componentsTable:[], typeOptions: [], paramTemplateSelArr: [], paramTemplateSelCol: 'operationTemplateNo', @@ -1245,7 +1229,8 @@ } } }, - + components(newVal,oldVal){ + }, currentRouting(newValue, oldValue) { if (newValue && newValue.id) { if (this.dataForm.id != null && this.dataForm.id !== 0) { @@ -1295,7 +1280,7 @@ if (newValue && newValue.id) { // 鏌ヨ浜у搧缁撴瀯瀵瑰簲鐨勭粍浠� getBom(newValue.id).then((response) => { - this.components = [response.data.data.tree] + // this.components = [response.data.data.tree] }) } }, @@ -1397,6 +1382,7 @@ }, // 鏌ヨ褰撳墠杞﹂棿璁㈠崟淇℃伅 getOrderInfo() { + let that=this getManufacturingOrder(this.dataForm.id).then((response) => { this.dataForm = response.data.data // 鎶婂伐鑹烘寕涓婂幓 @@ -1416,7 +1402,7 @@ } // 鎶婁骇鍝佺粨鏋勭粍浠舵寕涓婂幓 if (this.dataForm.bomRoot) { - this.components = [this.dataForm.bomRoot] + that.components = [this.dataForm.bomRoot] } }) }, @@ -2097,7 +2083,6 @@ }, // 鏂板宸ュ簭 addOperation(operation) { - console.log('operation', operation) }, insertOperation(operation) {}, structSelectionChange(val) { @@ -2105,17 +2090,17 @@ }, // 鎵撳紑bom鑺傜偣 addStruct() { - if (this.structSelection.length <= 0) { - this.$message.error('璇烽�夋嫨闇�瑕佹坊鍔犲厓绱犵殑鑺傜偣') - } else { - if (this.structSelection.length === 1) { - this.selectedStruct = this.structSelection[0] - this.moId = this.dataForm.id - this.showStructForm = true - } else { - this.$message.error('鍙兘涓哄崟涓妭鐐规坊鍔犲厓绱�') - } - } + this.selectedStruct = this.structSelection[0] + this.moId = this.dataForm.id + this.showStructForm = true + // if (this.structSelection.length <= 0) { + // this.$message.error('璇烽�夋嫨闇�瑕佹坊鍔犲厓绱犵殑鑺傜偣') + // } else { + // if (this.structSelection.length === 1) { + // } else { + // this.$message.error('鍙兘涓哄崟涓妭鐐规坊鍔犲厓绱�') + // } + // } }, refreshBom(node) { if (this.selectedStruct.children != null) { -- Gitblit v1.9.3