From 4652431ce329b4dec6c4dcc0758d5c4ff97e0666 Mon Sep 17 00:00:00 2001 From: 86134 <aa> Date: 星期六, 11 十一月 2023 09:57:10 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/product/workbench/operation-task-pane.vue | 10 src/views/quality/finishedProductInspection/finishedProducter-print.vue | 1668 ++++++++++++++++++++++++ src/views/product/workbench/workReport-feed.vue | 4 src/views/product/workbench/handymantype.vue | 1 vue.config.js | 5 src/views/plan/customerorder/index.vue | 1 src/views/product/workbench/productoutput-table.vue | 132 + src/views/quality/finishedProductInspection/index.vue | 18 src/api/product/personboard.js | 8 src/views/product/workbench/workReportCard.vue | 940 ++++++------- src/views/plan/customer/index.vue | 1 src/views/product/workbench/returnmaterial-form.vue | 10 src/views/plan/customerorder/schedule-table.vue | 2 src/views/plan/customerorder/customerorder-form.vue | 1 src/views/product/workbench/product-record-form.vue | 12 src/views/quality/finishedProductInspection/finishedProduct-form.vue | 31 src/views/product/workbench/index.vue | 54 src/views/product/workbench/taskinfo-pane.vue | 650 +++------ src/views/quality/rawMaterial/rawMaterial-form.vue | 61 src/views/product/workbench/batchproductout-form-new.vue | 224 +- src/views/product/workbench/feed-pane.vue | 181 ++ src/views/product/workbench/feed-form.vue | 23 22 files changed, 2,796 insertions(+), 1,241 deletions(-) diff --git a/src/api/product/personboard.js b/src/api/product/personboard.js index d0271ad..d8c1f37 100644 --- a/src/api/product/personboard.js +++ b/src/api/product/personboard.js @@ -509,3 +509,11 @@ params: query }) } + +export function getOperationTaskCopy(query) { + return request({ + url: '/mes/operationTask/getOperationTaskCopy', + method: 'get', + params: query + }) +} diff --git a/src/views/plan/customer/index.vue b/src/views/plan/customer/index.vue index 926ea8b..c73b5a8 100644 --- a/src/views/plan/customer/index.vue +++ b/src/views/plan/customer/index.vue @@ -242,6 +242,7 @@ }, handleSelectionChange(val) { this.multipleSelection = val + console.log(this.multipleSelection); }, // 鍒犻櫎 deleteHandle(row) { diff --git a/src/views/plan/customerorder/customerorder-form.vue b/src/views/plan/customerorder/customerorder-form.vue index 9427657..9012cb1 100644 --- a/src/views/plan/customerorder/customerorder-form.vue +++ b/src/views/plan/customerorder/customerorder-form.vue @@ -828,6 +828,7 @@ productName: '', productType: '', partNo: '', + technologyDocumentId: '', docNumber: '', docName: '', shippingAddress: '', diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue index 99c593c..03bd22c 100644 --- a/src/views/plan/customerorder/index.vue +++ b/src/views/plan/customerorder/index.vue @@ -975,6 +975,7 @@ // 鍒涘缓涓荤敓浜ц鍒� masterPlanHandle() { console.log(this.multipleSelection); + if (this.multipleSelection && this.multipleSelection.length > 0) { if (this.judgeCoState(this.multipleSelection)) { // 鍒ゆ柇涓�涓嬪墿浣欐暟閲忔槸鍚﹀ぇ浜�0 diff --git a/src/views/plan/customerorder/schedule-table.vue b/src/views/plan/customerorder/schedule-table.vue index ae7702a..7cbc453 100644 --- a/src/views/plan/customerorder/schedule-table.vue +++ b/src/views/plan/customerorder/schedule-table.vue @@ -222,11 +222,13 @@ this.dataForm.customer = [] const _that = this customer.forEach((item) => { + console.log(item); const outPutBatchList = [] _that.$set(item, 'outPutBatchList', outPutBatchList) customerList.push(item) }) this.dataForm.customer = JSON.parse(JSON.stringify(customerList)) + console.log(this.dataForm.customer); }) }, dataFormSubmit() { diff --git a/src/views/product/workbench/batchproductout-form-new.vue b/src/views/product/workbench/batchproductout-form-new.vue index eae3304..66bd976 100644 --- a/src/views/product/workbench/batchproductout-form-new.vue +++ b/src/views/product/workbench/batchproductout-form-new.vue @@ -8,8 +8,8 @@ --> <template> <el-dialog - width="95%" - title="鎵归噺浜у嚭" + width="90%" + title="姹囨姤浜у嚭" :visible.sync="innerVisible" append-to-body @close="$emit('update:currshowlist', false)" @@ -18,7 +18,7 @@ class="batch-product-out-form" > <div - style="float: left;width: 15%;box-sizing: border-box;padding-right: 34px;position: relative" + style="float: left;width: 20%;box-sizing: border-box;padding-right: 34px;position: relative" > <el-table stripe @@ -48,7 +48,7 @@ style="position: absolute;top:0px;right: 0px;height: 100%;width: 34px;border-left: 1px solid #f4f2ea;border-right: 1px solid #f4f2ea;" ></div> </div> - <div style="float: left;width: 85%"> + <div style="float: left;width: 80%"> <el-row style=""> <el-col :span="1" class="batch-product-out-form-header-col" ><span>搴忓彿</span></el-col @@ -58,9 +58,9 @@ ><span>闆朵欢鍚嶇О</span></el-col > <el-col :span="4" class="batch-product-out-form-header-col" - ><span>SN鍙�</span></el-col + ><span>搴忓垪鍙�</span></el-col > - <el-col :span="2" class="batch-product-out-form-header-col" + <!-- <el-col :span="2" class="batch-product-out-form-header-col" ><span>杞藉叿缂栧彿</span></el-col > <el-col :span="1" class="batch-product-out-form-header-col" @@ -68,34 +68,40 @@ > <el-col :span="1" class="batch-product-out-form-header-col" ><span>姣忕洏浜ч噺</span></el-col - > - <el-col :span="1" class="batch-product-out-form-header-col" + > --> + <!-- <el-col :span="1" class="batch-product-out-form-header-col" ><span>璧峰绫虫爣</span></el-col > <el-col :span="1" class="batch-product-out-form-header-col" ><span>鎴绫虫爣</span></el-col - > + > --> <el-col :span="1" class="batch-product-out-form-header-col" ><span>鍗曚綅</span></el-col > - <el-col :span="1" class="batch-product-out-form-header-col" - ><span>鍒嗘鎻忚堪</span></el-col + <el-col :span="2" class="batch-product-out-form-header-col" + ><span>WDR鍙�</span></el-col > - <el-col :span="1" class="batch-product-out-form-header-col" + <!-- <el-col :span="1" class="batch-product-out-form-header-col" + ><span>鍒嗘鎻忚堪</span></el-col + > --> + <el-col :span="2" class="batch-product-out-form-header-col" + ><span>鐢熶骇鏁伴噺</span></el-col + > + <el-col :span="2" class="batch-product-out-form-header-col" ><span>鎶ュ簾鏁伴噺</span></el-col > - <el-col :span="1" class="batch-product-out-form-header-col" + <!-- <el-col :span="1" class="batch-product-out-form-header-col" ><span>鐩樺叿閲嶉噺</span></el-col - > - <el-col :span="1" class="batch-product-out-form-header-col" + > --> + <!-- <el-col :span="1" class="batch-product-out-form-header-col" ><span>姣涢噸</span></el-col - > + > --> <!--<el-col :span="1" class="batch-product-out-form-header-col" ><span>IFS鎵规鍙�</span></el-col >--> - <el-col :span="2" class="batch-product-out-form-header-col" + <el-col :span="3" class="batch-product-out-form-header-col" ><span>鐢熶骇浜哄憳</span></el-col - ><el-col :span="1" class="batch-product-out-form-header-col" + ><el-col :span="2" class="batch-product-out-form-header-col" ><span>澶囨敞</span></el-col > <el-col :span="1" class="batch-product-out-form-header-col" @@ -127,24 +133,12 @@ <span class="inline-el-hidden">{{ item.partName }}</span> </el-tooltip> </el-col> - <el-col :span="4" class="batch-product-out-form-body-col"> - <span v-show="!item.batchNoEdit">{{ item.outBatchNo }}</span> - <!--<el-input v-show="item.batchNoEdit" v-model="item.outBatchNo"> - <i - slot="prefix" - class="el-input__icon el-icon-search" - style="cursor:pointer" - @click="openOutPutBatch(item)" - ></i> - <i - slot="suffix" - class="el-input__icon el-icon-circle-close" - style="cursor:pointer" - @click="cleanOutBatchNo(item)" - ></i> - </el-input>--> + <el-col :span="4" class="batch-product-out-form-body-col l-mes"> + <!-- <span>{{ item.outBatchNo }}</span> --> + <el-input v-model="item.outBatchNo"> + </el-input> </el-col> - <el-col :span="2" class="batch-product-out-form-body-col l-mes"> + <!-- <el-col :span="2" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.reelNumber"></el-input> </el-col> <el-col :span="1" class="batch-product-out-form-body-col l-mes"> @@ -152,32 +146,38 @@ </el-col> <el-col :span="1" class="batch-product-out-form-body-col l-mes"> <span>{{ item.productQty }}</span> - </el-col> - <el-col :span="1" class="batch-product-out-form-body-col l-mes"> + </el-col> --> + <!-- <el-col :span="1" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.startMeterMark"></el-input> </el-col> <el-col :span="1" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.endMeterMark"></el-input> - </el-col> + </el-col> --> <el-col :span="1" class="batch-product-out-form-body-col"> <span>{{ item.unit }}</span> </el-col> - <el-col :span="1" class="batch-product-out-form-body-col l-mes"> - <el-input v-model="item.segmentDesc"></el-input> + <el-col :span="2" class="batch-product-out-form-body-col l-mes"> + <el-input v-model="item.wdr"></el-input> </el-col> - <el-col :span="1" class="batch-product-out-form-body-col l-mes"> + <!-- <el-col :span="1" class="batch-product-out-form-body-col l-mes"> + <el-input v-model="item.segmentDesc"></el-input> + </el-col> --> + <el-col :span="2" class="batch-product-out-form-body-col l-mes"> + <el-input v-model="item.outNum"></el-input> + </el-col> + <el-col :span="2" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.scrapQty"></el-input> </el-col> - <el-col :span="1" class="batch-product-out-form-body-col l-mes"> + <!-- <el-col :span="1" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.reelWeight"></el-input> - </el-col> - <el-col :span="1" class="batch-product-out-form-body-col l-mes"> + </el-col> --> + <!-- <el-col :span="1" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.grossWeight"></el-input> - </el-col> + </el-col> --> <!--<el-col :span="1" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.ifsBatchNo"></el-input> </el-col>--> - <el-col :span="2" class="batch-product-out-form-body-col"> + <el-col :span="3" class="batch-product-out-form-body-col"> <el-tooltip class="item" effect="dark" @@ -190,7 +190,7 @@ <!--<el-col :span="1" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.remark"></el-input> </el-col>--> - <el-col :span="1" class="batch-product-out-form-body-col l-mes"> + <el-col :span="2" class="batch-product-out-form-body-col l-mes"> <el-input v-model="item.mainRemark"></el-input> </el-col> <el-col :span="1" class="batch-product-out-form-body-col"> @@ -205,19 +205,19 @@ </div> </div> <div slot="footer" class="dialog-footer"> - <div style="display: inline-block;width: 25%;float: left"> + <!-- <div style="display: inline-block;width: 25%;float: left"> <el-button style="margin-right: 34px" type="primary" @click="addProductOutForPerson" >娣诲姞</el-button > - </div> + </div> --> <el-button @click="innerVisible = false">鍙� 娑�</el-button> <el-button type="primary" :disabled="saveDisabled" - @click="saveProductOuts" + @click="saveProductOuts2" >纭� 瀹�</el-button > </div> @@ -314,7 +314,8 @@ batchSaveProductMain, getShiftProductOutByOpIdAndWsId, validateOverProduction, - validateOverFeed + validateOverFeed, + submitProductMain } from '@/api/product/personboard' import ElButton from '../../../../node_modules/element-ui/packages/button/src/button.vue' import OutPutBatch from './outputbatch.vue' @@ -498,10 +499,39 @@ // row.outBatchNo = null } }, + saveProductOuts2() { + this.clickDateArr.push(new Date().getTime()) + var productOutputList = [] + this.productList.forEach(a=>{ + productOutputList.push({ + partId: a.partId, + productQty: a.outNum, + outBatchNo: a.outBatchNo, + scrapQty: a.scrapQty, + remark: a.remark, + wdr: a.wdr, + staffNo: a.staffNo, + staffName: a.staffName, + status: a.status, + dutyRecordId: a.dutyRecordId, + productStaffIds: a.productStaffIds, + productStaffs: a.productStaffs + }) + }) + var productMains = { + productOutputList: productOutputList, + workstationId: this.parentInfo.workstationId, + operationTaskId: this.parentInfo.operationTaskId, + } + submitProductMain(productMains).then(res=>{ + this.$emit('refreshProductOutputList', res.data.data) + this.innerVisible = false + }) + }, saveProductOuts() { var canClickFlag = true this.clickDateArr.push(new Date().getTime()) - if (this.clickDateArr.length > 1) { + /* if (this.clickDateArr.length > 1) { if ( this.clickDateArr[this.clickDateArr.length - 1] - this.clickDateArr[this.clickDateArr.length - 2] < @@ -510,7 +540,7 @@ // 灏忎簬2绉掑垯璁や负閲嶅鎻愪氦 canClickFlag = false } - } + } */ if (canClickFlag) { this.saveDisabled = true @@ -538,56 +568,56 @@ s_list = JSON.parse(JSON.stringify(p_list)) } - if (s_list.length <= 0) { + /* if (s_list.length <= 0) { this.$message.error('鎶ュ伐锛岃濉啓鐩樻暟锛�') this.saveDisabled = false return - } - let totalDisNumber = 0 - for (let i = 0; i < s_list.length; i++) { - // 鐩樻暟鏍¢獙 - if (!this.isPositiveIntegerNumber(s_list[i].disNumber)) { - validateFlag = false - if (this.groupStatus) { - validateMsg = - '浜哄憳锛�' + - s_list[i].staffName + - '锛屾墍鍦ㄨ锛屻�愮洏鏁般�戣杈撳叆姝f暣鏁帮紒' - } else { - validateMsg = '绗�' + (i + 1) + '琛岋紝銆愮洏鏁般�戣杈撳叆姝f暣鏁帮紒' - } - break - } - totalDisNumber += s_list[i].disNumber - 0 - // 璧峰绫虫爣鏍¢獙 - if (!this.isNumber(s_list[i].startMeterMark)) { - validateFlag = false - validateMsg = - '绗�' + (i + 1) + '琛岋紝銆愯捣濮嬬背鏍囥�戣杈撳叆闈炶礋鏁帮紝灏忔暟浣嶆渶澶�4浣嶏紒' - break - } - // 鎴绫虫爣鏍¢獙 - if (!this.isNumber(s_list[i].endMeterMark)) { - validateFlag = false - validateMsg = - '绗�' + (i + 1) + '琛岋紝銆愭埅姝㈢背鏍囥�戣杈撳叆闈炶礋鏁帮紝灏忔暟浣嶆渶澶�4浣嶏紒' - break - } - // 鎴绫虫爣闇�澶т簬寮�濮嬬背鏍� - if ( - Number(s_list[i].endMeterMark) < Number(s_list[i].startMeterMark) - ) { - validateFlag = false - validateMsg = - '绗�' + (i + 1) + '琛岋紝銆愭埅姝㈢背鏍囥�戦渶澶т簬銆愯捣濮嬬背鏍囥��' - break - } - } - const maxDisNumber = 2000 // 鏈�澶х洏鏁� + } */ + // let totalDisNumber = 0 + // for (let i = 0; i < s_list.length; i++) { + // // 鐩樻暟鏍¢獙 + // /* if (!this.isPositiveIntegerNumber(s_list[i].disNumber)) { + // validateFlag = false + // if (this.groupStatus) { + // validateMsg = + // '浜哄憳锛�' + + // s_list[i].staffName + + // '锛屾墍鍦ㄨ锛屻�愮洏鏁般�戣杈撳叆姝f暣鏁帮紒' + // } else { + // validateMsg = '绗�' + (i + 1) + '琛岋紝銆愮洏鏁般�戣杈撳叆姝f暣鏁帮紒' + // } + // break + // } */ + // totalDisNumber += s_list[i].disNumber - 0 + // // 璧峰绫虫爣鏍¢獙 + // if (!this.isNumber(s_list[i].startMeterMark)) { + // validateFlag = false + // validateMsg = + // '绗�' + (i + 1) + '琛岋紝銆愯捣濮嬬背鏍囥�戣杈撳叆闈炶礋鏁帮紝灏忔暟浣嶆渶澶�4浣嶏紒' + // break + // } + // // 鎴绫虫爣鏍¢獙 + // if (!this.isNumber(s_list[i].endMeterMark)) { + // validateFlag = false + // validateMsg = + // '绗�' + (i + 1) + '琛岋紝銆愭埅姝㈢背鏍囥�戣杈撳叆闈炶礋鏁帮紝灏忔暟浣嶆渶澶�4浣嶏紒' + // break + // } + // // 鎴绫虫爣闇�澶т簬寮�濮嬬背鏍� + // if ( + // Number(s_list[i].endMeterMark) < Number(s_list[i].startMeterMark) + // ) { + // validateFlag = false + // validateMsg = + // '绗�' + (i + 1) + '琛岋紝銆愭埅姝㈢背鏍囥�戦渶澶т簬銆愯捣濮嬬背鏍囥��' + // break + // } + // } + /* const maxDisNumber = 2000 // 鏈�澶х洏鏁� if (totalDisNumber > maxDisNumber) { validateMsg = '鎬荤洏鏁颁笉鑳藉ぇ浜�' + maxDisNumber + '锛�' validateFlag = false - } + } */ if (validateFlag) { if (this.parentInfo.productOutId == null) { // 褰撳墠鏄骇鍑虹殑鏂板 diff --git a/src/views/product/workbench/feed-form.vue b/src/views/product/workbench/feed-form.vue index 95816f1..e895b0a 100644 --- a/src/views/product/workbench/feed-form.vue +++ b/src/views/product/workbench/feed-form.vue @@ -29,26 +29,26 @@ > </el-table-column> <el-table-column - prop="partName" + prop="partDescription" header-align="center" align="center" - label="闆朵欢" + label="闆朵欢鎻忚堪" > </el-table-column> <el-table-column - prop="partBatchNo" + prop="ifsBatchNo" header-align="center" align="center" - label="闆朵欢鎵瑰彿" + label="鎵瑰彿" > </el-table-column> - <el-table-column + <!-- <el-table-column prop="specs" header-align="center" align="center" label="瑙勬牸鍨嬪彿" > - </el-table-column> + </el-table-column> --> <el-table-column prop="suppliedQuantity" header-align="center" @@ -203,7 +203,6 @@ partNoList.push(partNoLists) } getCheckRawPart(partNoList).then((response) => { - console.log(response) if (response.data.code === 0) { // 闇�瑕佸瘑鐮佺‘璁ゆ儏鍐� if (response.data.data.success === false) { @@ -243,7 +242,15 @@ partBatchNo: this.dataList[i].partBatchNo, systemNo: this.dataList[i].systemNo, partName: this.dataList[i].partName, - unit: this.dataList[i].unit ? this.dataList[i].unit : '' + unit: this.dataList[i].unit ? this.dataList[i].unit : '', + partNo: this.dataList[i].partNo, + ifsBatchNo: this.dataList[i].ifsBatchNo, + ifsWdr: this.dataList[i].ifsWdr, + locationNo: this.dataList[i].locationNo, + serialNo:this.dataList[i].serialNo, + engChgLevel:this.dataList[i].engChgLevel, + configurationId:this.dataList[i].configurationId, + activitySeq:this.dataList[i].activitySeq } feeds.push(feed) } diff --git a/src/views/product/workbench/feed-pane.vue b/src/views/product/workbench/feed-pane.vue index ffa8039..3dd5b5f 100644 --- a/src/views/product/workbench/feed-pane.vue +++ b/src/views/product/workbench/feed-pane.vue @@ -1,7 +1,7 @@ <template> <div style="padding:0px 14px;height: 100%;overflow: auto;"> <div class="need-feed-header"> - <div style="height:28px;line-height:28px;"> + <div> <el-divider class="pane-divider" direction="vertical"></el-divider ><span style="font-size:14px;font-weight:bold">宸ュ崟鎵�闇�鐗╂枡</span> </div> @@ -205,7 +205,7 @@ <span>{{ scope.row.partNo }}</span> </template> </el-table-column> - <el-table-column + <!-- <el-table-column label="闆朵欢" prop="partName" align="center" @@ -227,11 +227,11 @@ <template slot-scope="scope"> <span>{{ scope.row.partName }}</span> </template> - </el-table-column> + </el-table-column> --> <el-table-column label="闆朵欢鎻忚堪" prop="partDescription" - align="center" + align="center" show-overflow-tooltip > <template slot="header"> <div style="line-height: 14px;">闆朵欢鎻忚堪</div> @@ -268,7 +268,25 @@ <span>{{ scope.row.ifsBatchNo }}</span> </template> </el-table-column> - <el-table-column label="SN鍙�" prop="partBatchNo" align="center"> + <el-table-column label="WDR鍙�" prop="ifsWdr" align="center"> + <template slot="header"> + <div style="line-height: 14px;">WDR鍙�</div> + <div class="th" @click.stop> + <el-input + type="text" + v-model="queryParamTwo.ifsWdr" + @keyup.enter.native="handleStockList" + clearable + @clear="handleStockList" + size="mini" + ></el-input> + </div> + </template> + <template slot-scope="scope"> + <span>{{ scope.row.ifsWdr }}</span> + </template> + </el-table-column> + <!-- <el-table-column label="SN鍙�" prop="partBatchNo" align="center"> <template slot="header"> <div style="line-height: 14px;">SN鍙�</div> <div class="th" @click.stop> @@ -308,8 +326,8 @@ <template slot-scope="scope"> <span>{{ scope.row.reelNumber }}</span> </template> - </el-table-column> - <el-table-column + </el-table-column> --> + <!-- <el-table-column label="瑙勬牸鍨嬪彿" prop="specs" align="center" @@ -331,7 +349,7 @@ <template slot-scope="scope"> <span>{{ scope.row.specs }}</span> </template> - </el-table-column> + </el-table-column> --> <el-table-column label="鍗曚綅" prop="unit" align="center"> <template slot="header"> <div style="line-height: 14px;">鍗曚綅</div> @@ -357,7 +375,7 @@ > <template slot="header"> <div style="line-height: 14px;">鍙敤鏁伴噺</div> - <div class="th" @click.stop> + <!-- <div class="th" @click.stop> <el-input type="text" v-model="queryParamTwo.availableStockQuantity" @@ -366,7 +384,7 @@ @clear="handleStockList" size="mini" ></el-input> - </div> + </div> --> </template> <template slot-scope="scope"> <span>{{ scope.row.availableStockQuantity }}</span> @@ -375,7 +393,7 @@ <el-table-column label="搴撳瓨鏁伴噺" prop="stockQuantity" align="center"> <template slot="header"> <div style="line-height: 14px;">搴撳瓨鏁伴噺</div> - <div class="th" @click.stop> + <!-- <div class="th" @click.stop> <el-input type="text" v-model="queryParamTwo.stockQuantity" @@ -384,7 +402,7 @@ @clear="handleStockList" size="mini" ></el-input> - </div> + </div> --> </template> <template slot-scope="scope"> <span>{{ scope.row.stockQuantity }}</span> @@ -397,7 +415,7 @@ > <template slot="header"> <div style="line-height: 14px;">棰勭暀鏁伴噺</div> - <div class="th" @click.stop> + <!-- <div class="th" @click.stop> <el-input type="text" v-model="queryParamTwo.reserveQuantity" @@ -406,7 +424,7 @@ @clear="handleStockList" size="mini" ></el-input> - </div> + </div> --> </template> <template slot-scope="scope"> <span>{{ scope.row.reserveQuantity }}</span> @@ -431,7 +449,7 @@ </template> </el-table-column> </el-table> - <div class="pagin-page" style="margin-top: 0;margin-bottom: 0;"> + <!-- <div class="pagin-page" style="margin-top: 0;margin-bottom: 0;"> <el-pagination :current-page="queryReport.current" :page-sizes="[10, 15, 20, 50, 100]" @@ -442,11 +460,9 @@ :total="queryReport.total" > </el-pagination> - </div> + </div> --> </el-tab-pane> - - <!-- --> - <el-tab-pane name="second" label="绾胯竟浠撳緟澶勭悊鐗╂枡"> + <!-- <el-tab-pane name="second" label="绾胯竟浠撳緟澶勭悊鐗╂枡"> <div class="line-side-warehouse-header"> <div> <el-divider class="pane-divider" direction="vertical"></el-divider @@ -568,9 +584,9 @@ align="center" show-overflow-tooltip > - <template slot="header"> + <template slot="header"> --> <!-- <div style="line-height: 14px;">IFS鎵规鍙�</div> --> - <div class="th" @click.stop> + <!-- <div class="th" @click.stop> <el-input type="text" v-model="queryTodoParam.ifsBatchNo" @@ -765,10 +781,10 @@ > </el-pagination> </div> - </el-tab-pane> + </el-tab-pane> --> <!-- --> - <el-tab-pane name="third" label="閰嶇洏鐗╂枡"> + <!-- <el-tab-pane name="third" label="閰嶇洏鐗╂枡"> <div class="task-reserve-warehouse-header"> <div> <el-divider class="pane-divider" direction="vertical"></el-divider @@ -859,7 +875,7 @@ <span>{{ scope.row.partName }}</span> </template> </el-table-column> - <!-- <el-table-column label="IFS鎵规鍙�" prop="ifsBatchNo" align="center">--> + <el-table-column label="IFS鎵规鍙�" prop="ifsBatchNo" align="center">--> <!-- <template slot="header" slot-scope="scope">--> <!-- <div style="line-height: 14px;">IFS鎵规鍙�</div>--> <!-- <div class="th" @click.stop>--> @@ -876,7 +892,7 @@ <!-- <template slot-scope="scope">--> <!-- <span>{{ scope.row.ifsBatchNo }}</span>--> <!-- </template>--> - <!-- </el-table-column>--> + <!-- </el-table-column> <el-table-column label="SN鍙�" prop="partBatchNo" align="center"> <template slot="header" slot-scope="scope"> <div style="line-height: 14px;">SN鍙�</div> @@ -1000,9 +1016,9 @@ </template> </el-table-column> </el-table> - </el-tab-pane> + </el-tab-pane> --> - <el-tab-pane name="four" label="ERP鐗╂枡"> + <!-- <el-tab-pane name="four" label="ERP鐗╂枡"> <div class="task-reserve-warehouse-header"> <div> <el-divider class="pane-divider" direction="vertical"></el-divider @@ -1106,7 +1122,7 @@ </template> </el-table-column> </el-table> - </el-tab-pane> + </el-tab-pane> --> </el-tabs> <div class="workstation-house-header"> <div> @@ -1114,6 +1130,18 @@ ><span style="font-size:14px;font-weight:bold">宸叉姇鍏ユ湭娑堣�楃墿鏂�</span> </div> <div> + <el-button + class="return-btn" + type="primary" + @click="submitIns()" + >鎶ユ</el-button + > + <el-button + class="return-btn" + type="primary" + @click="inputHandle()" + >灏炬枡澶勭悊</el-button + > <el-button class="return-btn" type="primary" @@ -1174,7 +1202,7 @@ :show-overflow-tooltip="true" > <template slot="header" slot-scope="scope"> - <div style="line-height: 14px;">闆朵欢</div> + <div style="line-height: 14px;">闆朵欢鎻忚堪</div> <div class="th" @click.stop> <el-input type="text" @@ -1208,7 +1236,25 @@ <span>{{ scope.row.ifsBatchNo }}</span> </template> </el-table-column> - <el-table-column label="SN鍙�" prop="partBatchNo" align="center"> + <el-table-column label="WDR鍙�" prop="ifsWdr" align="center"> + <template slot="header" slot-scope="scope"> + <div style="line-height: 14px;">WDR鍙�</div> + <div class="th" @click.stop> + <el-input + type="text" + v-model="queryParamThree.ifsWdr" + @keyup.enter.native="handleFeedList" + clearable + @clear="handleFeedList" + size="mini" + ></el-input> + </div> + </template> + <template slot-scope="scope"> + <span>{{ scope.row.ifsWdr }}</span> + </template> + </el-table-column> + <!-- <el-table-column label="SN鍙�" prop="partBatchNo" align="center"> <template slot="header" slot-scope="scope"> <div style="line-height: 14px;">SN鍙�</div> <div class="th" @click.stop> @@ -1271,7 +1317,7 @@ <template slot-scope="scope"> <span>{{ scope.row.specs }}</span> </template> - </el-table-column> + </el-table-column> --> <el-table-column label="鍙敤鏁伴噺" prop="availableStockQuantity" @@ -1312,13 +1358,13 @@ <span>{{ scope.row.stockQuantity }}</span> </template> </el-table-column> - <el-table-column label="搴撲綅鍙�" prop="locNo" align="center"> + <el-table-column label="搴撲綅鍙�" prop="ifsLocation" align="center"> <template slot="header" slot-scope="scope"> <div style="line-height: 14px;">搴撲綅鍙�</div> <div class="th" @click.stop> <el-input type="text" - v-model="queryParamThree.locNo" + v-model="queryParamThree.ifsLocation" @keyup.enter.native="handleFeedList" clearable @clear="handleFeedList" @@ -1327,7 +1373,7 @@ </div> </template> <template slot-scope="scope"> - <span>{{ scope.row.locNo }}</span> + <span>{{ scope.row.ifsLocation }}</span> </template> </el-table-column> <el-table-column label="鍗曚綅" prop="unit" align="center"> @@ -1348,7 +1394,7 @@ <span>{{ scope.row.unit }}</span> </template> </el-table-column> - <el-table-column label="鎶曟枡浜�" prop="createUser" align="center"> + <!-- <el-table-column label="鎶曟枡浜�" prop="createUser" align="center"> <template slot="header" slot-scope="scope"> <div style="line-height: 14px;">鎶曟枡浜�</div> <div class="th" @click.stop> @@ -1365,8 +1411,8 @@ <template slot-scope="scope"> <span>{{ scope.row.createUser }}</span> </template> - </el-table-column> - <el-table-column + </el-table-column> --> + <!-- <el-table-column label="鎶曟枡鏃堕棿" prop="createTime" align="center" @@ -1394,7 +1440,7 @@ <template slot-scope="scope"> <span>{{ scope.row.createTime }}</span> </template> - </el-table-column> + </el-table-column> --> </el-table> <feedFormDialog :currshowlist.sync="showFeedForm" @@ -1441,7 +1487,7 @@ </template> <script> -import { getStock, getFeed, getTodoStock } from '@/api/product/personboard' +import { getStock, getFeed, getTodoStock, submitInsPart, inputHandle } from '@/api/product/personboard' import { getMaterial } from '@/api/plan/operationtask' import { getERPStockListByPart, @@ -1556,9 +1602,9 @@ .then((response) => { var data = response.data if (data.code === 0) { - // const list = data.data.records - this.stockList = data.data.records - this.queryReport.total = data.data.total + /* this.stockList = data.data.records + this.queryReport.total = data.data.total */ + this.stockList = data.data // this.getReportData() } else { this.$message.error('鑾峰彇绾胯竟浠撲俊鎭け璐�') @@ -1850,6 +1896,57 @@ this.$message.warning('璇烽�夋嫨鎶曟枡闆朵欢') } }, + // 鎶ユ + submitIns(){ + if (this.selectFeeds.length > 0) { + var list = [] + this.selectFeeds.forEach(a=>{ + list.push({ + partNo: a.partNo, + partDesc: a.partName, + qtyToInspect: a.availableStockQuantity, + partId: a.partId, + waivDevRejNo: a.ifsWdr, + targetQualifiedLocationId: a.locationId, + workstationId: a.workstationId, + taskId: this.currOperateTask.id, + locationNo: a.ifsLocation, + lotBatchNo: a.ifsBatchNo, + qtyArrived: a.stockQuantity, + waivDevRejNo: a.ifsWdr, + serialNo: a.serialNo, + operationId: this.currOperateTask.operationId, + stockId: a.id, + engChgLevel: a.engChgLevel, + activitySeq: a.activitySeq + }) + }) + submitInsPart(list).then(res=>{ + this.$message.success('鎶ユ瀹屾垚') + }) + }else{ + this.$message.warning('璇烽�夋嫨鎶ユ闆朵欢') + } + }, + inputHandle(){ + console.log(this.currOperateTask); + if (this.selectFeeds.length > 0) { + var list = [] + this.selectFeeds.forEach(a=>{ + list.push({ + taskId: this.currOperateTask.id, + stockId: a.id, + }) + }) + this.$confirm("姝ゆ搷浣滃皢浼氭妸鎵�閫夌墿鏂欏钩鍧囪绠楀埌鎵�鏈夋姤宸ュ崟鐨勬姇鍏ラ噷").then(()=>{ + inputHandle(list).then(res=>{ + this.$message.success('澶勭悊瀹屾垚') + }) + }).catch(e=>{}) + } else { + this.$message.warning('璇烽�夋嫨灏炬枡澶勭悊鐨勭墿鏂�') + } + }, // 鍒濆鍖栭〉闈㈠彉閲� initFeed() { this.selectStocks = [] diff --git a/src/views/product/workbench/handymantype.vue b/src/views/product/workbench/handymantype.vue index 237095f..6bd1fde 100644 --- a/src/views/product/workbench/handymantype.vue +++ b/src/views/product/workbench/handymantype.vue @@ -224,6 +224,7 @@ workstationId: { handler: function(newVal, oldVal) { if (this.workstationId) { + console.log(`output->this.workstationId`,this.workstationId) getAllHandymanTemplate( Object.assign({ workstationId: this.workstationId }) ).then((response) => { diff --git a/src/views/product/workbench/index.vue b/src/views/product/workbench/index.vue index 82cebc3..026fcfe 100644 --- a/src/views/product/workbench/index.vue +++ b/src/views/product/workbench/index.vue @@ -49,22 +49,22 @@ <el-image src="/img/workbench/icon_bg.png"></el-image> <span class="item-name">鎶ュ伐</span> </div> - <div + <!-- <div v-show="isShowStepBusiness" :class="['wb-header-menu-item', stepShow ? 'item-show' : '']" @click="selectItem('step')" > <el-image src="/img/workbench/icon_gb.png"></el-image> <span class="item-name">宸ユ</span> - </div> - <div + </div> --> + <!-- <div v-show="permissions.product_menu_split" :class="['wb-header-menu-item', splitTaskShow ? 'item-show' : '']" @click="selectItem('splitTask')" > <el-image src="/img/workbench/icon_sp.png"></el-image> <span class="item-name">鍒嗗壊</span> - </div> + </div> --> <div :class="['wb-header-menu-item', artificialShow ? 'item-show' : '']" @click="selectItem('artificial')" @@ -314,11 +314,11 @@ </div> <div style="float:right;width:10%;"> <div class="open-edit-duty-div"> - <div> + <!-- <div> <span class="duty-edit-span" @click="clearDutyRecord" >娓呯┖</span > - </div> + </div> --> <div> <span class="duty-edit-span" @click="openDutyEdit" >缂栬緫</span @@ -378,15 +378,24 @@ <el-tooltip class="item" effect="dark" - content="鎵归噺鎻愪氦" + content="娓呯┖" placement="top" > - <button + <!-- <button class="duty-circle-button" @click="submitSaveDutyRecord" > <i - class="el-icon-document-checked" + class="el-icon-delete" + style="color: #FFFFFF;" + ></i> + </button> --> + <button + class="duty-circle-button" + @click="clearDutyRecord" + > + <i + class="el-icon-delete" style="color: #FFFFFF;" ></i> </button> @@ -464,7 +473,7 @@ :inline="true" style="margin-left: 10px" > - <el-form-item prop="orderNumber" label="閿�鍞鍗曞彿"> + <!-- <el-form-item prop="orderNumber" label="閿�鍞鍗曞彿"> <el-input placeholder="璇疯緭鍏ラ攢鍞鍗曞彿" v-model="operateTaskForm.orderNumber" @@ -472,8 +481,8 @@ @keyup.enter.native="queryInfoForOrderNumber" @clear="queryInfoForOrderNumber" ></el-input> - </el-form-item> - <el-form-item prop="spec" label="鎴愬搧瑙勬牸"> + </el-form-item> --> + <!-- <el-form-item prop="spec" label="鎴愬搧瑙勬牸"> <el-select placeholder="璇烽�夋嫨鎴愬搧瑙勬牸" v-model="operateTaskForm.spec" @@ -498,19 +507,19 @@ > </el-option> </el-select> - </el-form-item> - <el-form-item prop="outBatchNo" label="SN"> + </el-form-item> --> + <el-form-item prop="outBatchNo" label="杞﹂棿璁㈠崟"> <el-input - placeholder="璇疯緭鍏ユ姇鍏ュ崐鎴愬搧SN鍙�" + placeholder="璇疯緭鍏ヨ溅闂磋鍗曞彿" v-model="operateTaskForm.outBatchNo" clearable @keyup.enter.native="refreshOperateTasksByConditions" @clear="refreshOperateTasksByConditions" ></el-input> </el-form-item> - <el-form-item prop="mpsNo" label="璁″垝鍙�"> + <el-form-item prop="mpsNo" label="宸ュ崟鍙�"> <el-input - placeholder="璇疯緭鍏ヨ鍒掑彿" + placeholder="璇疯緭鍏ュ伐鍗曞彿" v-model="operateTaskForm.mpsNo" clearable @keyup.enter.native="refreshOperateTasksByConditions" @@ -1424,7 +1433,7 @@ .task-div-content { // height: calc(100% - 40px); flex: 1; - padding: 0px 15px; + padding: 10px 15px; box-sizing: border-box; overflow-y: auto; margin-bottom: 10px; @@ -1491,7 +1500,7 @@ getPartNamesByOrderNo, getProductSnByCustomerNoAndPartName } from '@/api/product/personboard' -import { getObj as getSysParam } from '@/api/admin/sys-public-param' +import { getObj as getSysParam} from '@/api/admin/sys-public-param' import { getAllCrewList } from '@/api/basic/crew' import { getAllShiftList } from '@/api/basic/shift' import { getAllWorkstationList, updateById } from '@/api/basic/workstation' @@ -1661,7 +1670,7 @@ ...mapGetters(['userInfo', 'tagWel', 'permissions']) }, created() { - document.title = '宸ヤ綔鍙扳�斺�擹TTMES' + document.title = '宸ヤ綔鍙扳�斺�擬ES' if (!this.dutyForm.workstationId) { const k = localStorage.getItem(storage_key) if (k) { @@ -1672,7 +1681,6 @@ this.getSysParam(sysParam.SHOW_STEP_BUSINESS) this.getTrackingParam(sysParam.SHOW_TRACKING_TYPE) this.timer = setInterval(this.clockTimer, 1000) - console.log(this.permissions, 'ASSS') }, watch: { 'dutyForm.workstationId'(val) { @@ -2250,9 +2258,9 @@ if (!this.dutyForm.endTime) { return { result: false, msg: '缁撴潫鏃堕棿涓嶈兘涓虹┖' } } - if (!this.dutyForm.dutyTime) { + /* if (!this.dutyForm.dutyTime) { return { result: false, msg: '鐝鏃堕棿涓嶈兘涓虹┖' } - } + } */ if (!this.dutyForm.shiftId) { return { result: false, msg: '鐝涓嶈兘涓虹┖' } } diff --git a/src/views/product/workbench/operation-task-pane.vue b/src/views/product/workbench/operation-task-pane.vue index 2a3ffae..b62149e 100644 --- a/src/views/product/workbench/operation-task-pane.vue +++ b/src/views/product/workbench/operation-task-pane.vue @@ -17,7 +17,7 @@ <img class="selectedImg" src="/img/workbench/icon_selected.png" /> <div class="header"> <div>宸ュ崟鍙凤細{{ item.taskNo }}</div> - <div>璁″垝鍙凤細{{ item.mpsNo }}</div> + <!-- <div>璁″垝鍙凤細{{ item.mpsNo }}</div> --> <div :class="[ 'status-change-div', @@ -52,10 +52,10 @@ <div class="l">闆朵欢鍙凤細</div> <div class="r">{{ item.partNo }}</div> </div> - <div class="row"> + <!-- <div class="row"> <div class="l">鎴愬搧锛�</div> <div class="r">{{ item.productName }}</div> - </div> + </div> --> <div class="row"> <div class="l">璁″垝瀹屾垚鏃堕棿锛�</div> <div class="r">{{ item.planFinishDay }}</div> @@ -250,7 +250,7 @@ </style> <script> import { - getOperationTask, + getOperationTaskCopy, changeBackState, changeOperationTaskState, getDraftProductOut, @@ -579,7 +579,7 @@ if (this.mpsNo && this.mpsNo != null) { query.mpsNo = this.mpsNo } - getOperationTask(query) + getOperationTaskCopy(query) .then((response) => { var data = response.data if (data.code === 0) { diff --git a/src/views/product/workbench/product-record-form.vue b/src/views/product/workbench/product-record-form.vue index 309af6e..03686fd 100644 --- a/src/views/product/workbench/product-record-form.vue +++ b/src/views/product/workbench/product-record-form.vue @@ -10,7 +10,7 @@ > <div class="product-record-form-header"> <div> - <span>鐢熶骇妯℃澘</span> + <span>璁板綍妯℃澘锛�</span> <el-select v-model="selectedTemplateId" placeholder="鐢熶骇璁板綍妯℃澘" @@ -63,7 +63,7 @@ </div> </div> </div> - <div class="product-record-form-header"> + <!-- <div class="product-record-form-header"> <div> <span>鍒嗗壊妯℃澘</span> <el-select @@ -117,9 +117,9 @@ </el-input> </div> </div> - </div> + </div> --> <div class="table"> - <div class="table-sn"> + <!-- <div class="table-sn"> <el-table :data="outputPartsList" :border="true"> <el-table-column label="搴忓彿" type="index"></el-table-column> <el-table-column label="SN鍙�"> @@ -138,7 +138,7 @@ </template> </el-table-column> </el-table> - </div> + </div> --> <div class="table-product"> <el-table ref="productRecordFormTable" @@ -219,7 +219,7 @@ flex: 0.35; } .table-product { - flex: 0.6; + flex: 1; } } .product-record-form-table >>> .stripe-row { diff --git a/src/views/product/workbench/productoutput-table.vue b/src/views/product/workbench/productoutput-table.vue index a264383..b722f1f 100644 --- a/src/views/product/workbench/productoutput-table.vue +++ b/src/views/product/workbench/productoutput-table.vue @@ -1,25 +1,14 @@ <template> - <div - class="productoutput-div" - style="padding:0px 14px;height: 100%;overflow: auto;" - > + <div class="productoutput-div" style="padding:0px 14px;height: 100%;overflow: auto;"> <div class="product-output-header"> <div style="height:28px;line-height:28px;"> - <el-divider class="pane-divider" direction="vertical"></el-divider - ><span style="font-size:14px;font-weight:bold">浜у嚭璁板綍鍒楄〃</span> + <el-divider class="pane-divider" direction="vertical"></el-divider><span + style="font-size:14px;font-weight:bold">浜у嚭璁板綍鍒楄〃</span> </div> </div> - <ttable - :table="table" - @handleSelectionChange="handleSelectionChange" - @currentChange="handleCurrentChange" - :uploadInfo="uploadInfo" - :prelang="prelang" - :options="options" - :ajaxFun="ajaxFun" - :paramObj="paramObj" - ref="productOutputForCheckTable" - > + <ttable :table="table" @handleSelectionChange="handleSelectionChange" @currentChange="handleCurrentChange" + :uploadInfo="uploadInfo" :prelang="prelang" :options="options" :ajaxFun="ajaxFun" :paramObj="paramObj" + ref="productOutputForCheckTable"> <template #toolbar></template> </ttable> @@ -177,12 +166,27 @@ </el-col> </el-row> --> <!-- 寮圭獥, 鎵嬪姩鎶ユ --> - <qualityTestApplyForm - v-if="qualityTestApplyVisible" - ref="qualityTestApply" - @refreshDataList="getData" - :applyPartList="multipleSelection" - /> + <el-dialog title="鍘熸潗鏂欐姇鍏�" :visible.sync="dialogVisible" width="40%"> + <el-table :data="tableData" style="width: 100%;" height="30em" border empty-text="鏆傛棤鏁版嵁"> + <el-table-column label="搴忓彿" type="index"></el-table-column> + <el-table-column prop="partNo" label="闆朵欢缂栧彿" width="180"> + </el-table-column> + <el-table-column prop="partName" label="闆朵欢鍚嶇О" :show-overflow-tooltip="true" width="180"> + </el-table-column> + <el-table-column prop="unit" label="鍗曚綅" min-width="60"></el-table-column> + <el-table-column prop="inputQuantity" label="浣跨敤鏁伴噺"> + <template v-slot="scope"> + <el-input v-model="scope.row.inputQuantity"></el-input> + </template> + </el-table-column> + </el-table> + <span slot="footer" class="dialog-footer"> + <el-button @click="dialogVisible = false">鍙� 娑�</el-button> + <el-button type="primary" @click="rawMaterialApiUpdate">纭� 瀹�</el-button> + </span> + </el-dialog> + <qualityTestApplyForm v-if="qualityTestApplyVisible" ref="qualityTestApply" @refreshDataList="getData" + :applyPartList="multipleSelection" /> </div> </template> <style lang="scss" scoped> @@ -193,11 +197,13 @@ justify-content: space-between; align-items: center; } + .pane-divider { width: 4px; background-color: #4283ee; } -.productoutput-div >>> .inspection-btn { + +.productoutput-div>>>.inspection-btn { background-image: -webkit-linear-gradient(139deg, #5f6eef 0%, #2783ff 100%); background-image: -moz-linear-gradient(139deg, #5f6eef 0%, #2783ff 100%); background-image: linear-gradient(139deg, #5f6eef 0%, #2783ff 100%); @@ -206,26 +212,30 @@ border-radius: 15px; padding: 6px 15px; } -.productoutput-div >>> .inspection-btn span { + +.productoutput-div>>>.inspection-btn span { margin-left: 3px; } -.productoutput-div >>> .commonTable .el-table__header th { + +.productoutput-div>>>.commonTable .el-table__header th { background: #599ef4 !important; color: #fff !important; border: 0px !important; } -.productoutput-div >>> .feed-btn-return { + +.productoutput-div>>>.feed-btn-return { background: url('/img/workbench/icon_bj.png') center center no-repeat; background-size: cover; font-size: 14px; } -.productoutput-div >>> .feed-btn-return:before { +.productoutput-div>>>.feed-btn-return:before { content: '鎶�'; font-size: 14px; visibility: hidden; } -.productoutput-div >>> .common-table-div { + +.productoutput-div>>>.common-table-div { margin: 0px 20px 0px !important; } @@ -238,7 +248,8 @@ border-radius: 15px; padding: 6px 15px; } -.auto-judgment-btn >>> span { + +.auto-judgment-btn>>>span { margin-left: 3px; } </style> @@ -252,7 +263,9 @@ saveSelfSampleItem, getReportSampleForSelf, putReportSampleItem, - autoJudgmentSelf + autoJudgmentSelf, + rawMaterialApi, + rawMaterialApiUpdate } from '@/api/quality/report' import ttable from '@/views/common/ztt-table' import qualityTestApplyForm from './qualitytestapply-form' @@ -275,6 +288,7 @@ }, data() { return { + tableData: [], paramObj: { workstationId: 0 }, ajaxFun: fetchOutputList, addOrUpdateVisible: false, @@ -317,7 +331,7 @@ isSearch: true, searchInfoType: 'text' }, - { + /* { minWidth: '160', prop: 'systemNo', label: '绯荤粺缂栧彿', @@ -334,11 +348,11 @@ isTrue: true, isSearch: true, searchInfoType: 'text' - }, + }, */ { minWidth: '160', prop: 'outBatchNo', - label: 'SN鍙�', + label: '搴忓垪鍙�', sort: true, isTrue: true, isSearch: true, @@ -371,7 +385,11 @@ isSearch: true, searchInfoType: 'text', formatter: (row, column, cellValue) => { - return cellValue.substring(1, cellValue.length - 2) + try{ + return cellValue.substring(1, cellValue.length - 1) + }catch(e){ + return null + } } }, { @@ -392,7 +410,7 @@ isSearch: true, searchInfoType: 'datetimerange' }, - { + /* { minWidth: '160', prop: 'startMeterMark', label: '璧峰绫虫爣', @@ -409,7 +427,7 @@ isTrue: true, isSearch: true, searchInfoType: 'text' - }, + }, */ { minWidth: '100', prop: 'productQty', @@ -538,7 +556,22 @@ // icon: 'feed-btn-return', // fun: this.qualityApply // } - ] + ], + /* operator: [ + { + text: '鎶曞叆', + icon: 'el-icon-circle-plus-outline', + type: 'text', + size: 'small', + fun: this.showHandleDiago + } + ], + operatorConfig: { + fixed: 'right', + label: '鎿嶄綔', + width: 100, + minWidth: 100 + } */ }, booleanOptions: [ { value: true, label: '鏄�' }, @@ -565,7 +598,8 @@ isMoTestStandard: true, testStandardNo: '', reportSampleItemList: [] - } + }, + dialogVisible: false } }, components: { @@ -574,7 +608,7 @@ }, watch: { workstationId: { - handler: function(newVal, oldVal) { + handler: function (newVal, oldVal) { this.createdData() } }, @@ -639,6 +673,23 @@ this.createdData() }, methods: { + rawMaterialApiUpdate() { + rawMaterialApiUpdate(this.tableData).then(res => { + this.$message.success('鍘熸潗鏂欐姇鍏ヤ慨鏀规垚鍔�') + this.dialogVisible = false; + }) + }, + showHandleDiago(row) { + this.dialogVisible = true + this.tableData = [] + rawMaterialApi(row.id).then(res => { + if(res.data.data[0] == null){ + this.tableData = [] + } else { + this.tableData = res.data.data + } + }) + }, // 鑾峰彇鏁版嵁鍒楄〃 getData() { this.$refs.productOutputForCheckTable.getDataList() @@ -656,7 +707,6 @@ }) }, handleSelectionChange(val) { - console.log(val, 'ASSSS') this.multipleSelection = val }, handleCurrentChange(val) { diff --git a/src/views/product/workbench/returnmaterial-form.vue b/src/views/product/workbench/returnmaterial-form.vue index 8f14f2f..1376234 100644 --- a/src/views/product/workbench/returnmaterial-form.vue +++ b/src/views/product/workbench/returnmaterial-form.vue @@ -32,18 +32,18 @@ > </el-table-column> <el-table-column - prop="partBatchNo" + prop="ifsBatchNo" header-align="center" align="center" - label="闆朵欢鎵瑰彿" + label="鎵瑰彿" > </el-table-column> - <el-table-column + <!-- <el-table-column prop="specs" header-align="center" align="center" label="瑙勬牸鍨嬪彿" - > + > --> </el-table-column> <el-table-column prop="returnQuantity" @@ -162,6 +162,8 @@ feed.returnQuantity = this.dataList[i].returnQuantity feed.returnLocationId = this.dataList[i].returnLocationId feed.workstationId = this.workstationId + feed.ifsWdr = this.dataList[i].ifsWdr + feed.partNo = this.dataList[i].partNo feeds.push(feed) } if (feeds.length > 0) { diff --git a/src/views/product/workbench/taskinfo-pane.vue b/src/views/product/workbench/taskinfo-pane.vue index 8f6f61c..d5b1dd8 100644 --- a/src/views/product/workbench/taskinfo-pane.vue +++ b/src/views/product/workbench/taskinfo-pane.vue @@ -2,39 +2,25 @@ <div ref="taskInfoDiv" class="taskinfo-div"> <div class="need-feed-header"> <div style="height:28px;line-height:28px;"> - <el-divider class="pane-divider" direction="vertical"></el-divider - ><span style="font-size:14px;font-weight:bold">宸ュ崟璇︾粏淇℃伅</span> - <div - style="display: inline-block;vertical-align: middle;margin-left:2px;cursor: pointer;" - @click="shrinkExpandTaskInfo" - > - <i - :class="[ - 'taskinfo-header', - 'el-icon-arrow-right', - taskInfoShow ? 'is-active' : '' - ]" - ></i> + <el-divider class="pane-divider" direction="vertical"></el-divider><span + style="font-size:14px;font-weight:bold">宸ュ崟璇︾粏淇℃伅</span> + <div style="display: inline-block;vertical-align: middle;margin-left:2px;cursor: pointer;" + @click="shrinkExpandTaskInfo"> + <i :class="[ + 'taskinfo-header', + 'el-icon-arrow-right', + taskInfoShow ? 'is-active' : '' + ]"></i> </div> </div> </div> - <div - ref="taskInfoMainDiv" - class="taskinfo-main" - :style="{ height: taskInfoMainHeight }" - v-show="taskInfoShow" - > - <el-tabs - v-model="taskInfoActiveName" - type="card" - class="taskInfoMainTab" - @tab-click="handleClick" - > + <div ref="taskInfoMainDiv" class="taskinfo-main" :style="{ height: taskInfoMainHeight }" v-show="taskInfoShow"> + <el-tabs v-model="taskInfoActiveName" type="card" class="taskInfoMainTab" @tab-click="handleClick"> <el-tab-pane label="涓昏淇℃伅" name="涓昏淇℃伅"> <el-row> <el-col :span="10" :offset="1" class="taskinfo-pane-div"> <el-row> - <el-col :span="12"> + <!-- <el-col :span="12"> <div class="param-top"> <div class="form-item"> <label>閿�鍞鍗曞彿</label> @@ -53,7 +39,7 @@ </div> </div> </div> - </el-col> + </el-col> --> <el-col :span="12"> <div class="param-top"> <div class="form-item"> @@ -64,12 +50,22 @@ </div> </div> </el-col> - <el-col :span="12" - ><div class="param-top"> + <el-col :span="12"> + <div class="param-top"> <div class="form-item"> <label>宸ュ簭</label> <div style="color: #7A9EFD"> {{ currOperateTask.operationName }} + </div> + </div> + </div> + </el-col> + <el-col :span="24"> + <div class="param-top"> + <div class="form-item"> + <label>闆朵欢鍚嶇О</label> + <div style="color: #7A9EFD"> + {{ currOperateTask.partName }} </div> </div> </div> @@ -91,16 +87,6 @@ <el-col :span="12"> <div class="param-top"> <div class="form-item"> - <label>闆朵欢鍚嶇О</label> - <div style="color: #7A9EFD"> - {{ currOperateTask.partName }} - </div> - </div> - </div> - </el-col> - <el-col :span="12"> - <div class="param-top"> - <div class="form-item"> <label>鎴愬搧瑙勬牸</label> <div style="color: #7A9EFD"> {{ currOperateTask.productName }} @@ -108,7 +94,7 @@ </div> </div> </el-col> - <el-col :span="12"> + <!-- <el-col :span="12"> <div class="param-top"> <div class="form-item"> <label>杞藉叿瑙勬牸</label> @@ -117,7 +103,7 @@ </div> </div> </div> - </el-col> + </el-col> --> </el-row> </el-col> </el-row> @@ -147,7 +133,7 @@ </div> </el-col> - <el-col :span="12"> + <!-- <el-col :span="12"> <div class="param-top"> <div class="form-item"> <label>鐩橀暱</label> @@ -164,6 +150,16 @@ ? 0 : currOperateTask.discNum }}鐩� + </div> + </div> + </div> + </el-col> --> + <el-col :span="12"> + <div class="param-top"> + <div class="form-item"> + <label>瀹為檯寮�濮嬫椂闂�</label> + <div style="color: #7A9EFD"> + {{ currOperateTask.actualStartDate }} </div> </div> </div> @@ -192,7 +188,6 @@ </div> </div> </el-col> - <el-col :span="12"> <div class="param-top"> <div class="form-item"> @@ -203,17 +198,7 @@ </div> </div> </el-col> - <el-col :span="12"> - <div class="param-top"> - <div class="form-item"> - <label>瀹為檯寮�濮嬫椂闂�</label> - <div style="color: #7A9EFD"> - {{ currOperateTask.actualStartDate }} - </div> - </div> - </div> - </el-col> - <el-col :span="12"> + <!-- <el-col :span="12"> <div class="param-top"> <div class="form-item"> <label>瀹㈡埛鍚嶇О</label> @@ -222,7 +207,7 @@ </div> </div> </div> - </el-col> + </el-col> --> </el-row> </el-col> </el-row> @@ -232,75 +217,37 @@ <el-tree :data="batchTree" node-key="id"> </el-tree> </div> </el-tab-pane>--> - <el-tab-pane label="鎸夋壒娆℃姤宸�" name="鎸夋壒娆℃姤宸�"> + <!-- <el-tab-pane label="鎸夋壒娆℃姤宸�" name="鎸夋壒娆℃姤宸�"> <div> - <ctable - class="task-detail-info-table" - :table="taskDetailInfoTable" + <ctable class="task-detail-info-table" :table="taskDetailInfoTable" @handleSelectionChange="taskDetailInfoHandleSelectionChange" - @objectSpanMethod="objectSpanMethodForTaskDetailInfo(arguments)" - :mergeCols="detailInfoMergeCols" - :searchList="taskDetailInfoSearchList" - :uploadInfo="taskDetailInfoUploadInfo" - :prelang="taskDetailInfoPrelang" - :options="taskDetailInfoOptions" - :paramObj="taskDetailInfoParamObj" - :isShowPagination="isShowPagination" - :bottomOffset="65" - :ajaxFun="taskDetailInfoAjaxFun" - ref="segmentmergeTaskDetailInfoTable" - > + @objectSpanMethod="objectSpanMethodForTaskDetailInfo(arguments)" :mergeCols="detailInfoMergeCols" + :searchList="taskDetailInfoSearchList" :uploadInfo="taskDetailInfoUploadInfo" + :prelang="taskDetailInfoPrelang" :options="taskDetailInfoOptions" :paramObj="taskDetailInfoParamObj" + :isShowPagination="isShowPagination" :bottomOffset="65" :ajaxFun="taskDetailInfoAjaxFun" + ref="segmentmergeTaskDetailInfoTable"> <template #toolbar> <div style="display:flex;"> <div style="display:flex;margin-left:5px ;"> - <el-button - style="height:32px;" - @click="beginEdit()" - type="primary" - v-show="isEditShow" - >缂栬緫 + <el-button style="height:32px;" @click="beginEdit()" type="primary" v-show="isEditShow">缂栬緫 </el-button> </div> <div style="display:flex;margin-left:5px ;"> - <el-button - style="height:32px;" - @click="cancelEdit()" - type="primary" - v-show="!isEditShow" - >鍙栨秷 + <el-button style="height:32px;" @click="cancelEdit()" type="primary" v-show="!isEditShow">鍙栨秷 </el-button> </div> <div style="display:flex;margin-left:10px ;"> - <el-button - style="height:32px;" - @click="saveEdit()" - type="primary" - v-show="!isEditShow" - >淇濆瓨 + <el-button style="height:32px;" @click="saveEdit()" type="primary" v-show="!isEditShow">淇濆瓨 </el-button> </div> <div style="display:flex;margin-left:5px ;"> - <div - style="font-weight:bold;font-size:15px;line-height:28px;margin-right:5px;" - > + <div style="font-weight:bold;font-size:15px;line-height:28px;margin-right:5px;"> 宸ュ簭閫夋嫨 </div> <div style="display:flex;"> - <el-select - v-model="selectedOperationIds" - placeholder="璇烽�夋嫨" - multiple - clearable - size="mini" - class="segmentmerge-operation-select" - @change="setQueryObj" - > - <el-option - v-for="item in operationList" - :key="item.id" - :label="item.name" - :value="item.id" - > + <el-select v-model="selectedOperationIds" placeholder="璇烽�夋嫨" multiple clearable size="mini" + class="segmentmerge-operation-select" @change="setQueryObj"> + <el-option v-for="item in operationList" :key="item.id" :label="item.name" :value="item.id"> </el-option> </el-select> </div> @@ -309,57 +256,32 @@ </template> </ctable> </div> - </el-tab-pane> + </el-tab-pane> --> </el-tabs> </div> - <div - ref="taskInfoBodyDiv" - class="taskinfo-body" - :style="{ height: taskInfoBodyHeight }" - > + <div ref="taskInfoBodyDiv" class="taskinfo-body" :style="{ height: taskInfoBodyHeight }"> <div style="display:flex;justify-content:space-between;height:100%;"> <div style="height:100%;width:70%;"> <!-- <div v-if="paramTabs.length == 0" class="taskinfo-body-div">--> <!-- 涓嶅瓨鍦ㄧ粦瀹氱殑宸ヨ壓鍗″拰閰嶇洏鍗�--> <!-- </div>--> <el-tabs v-model="activeName" type="card" @tab-click="handleTabClick"> - <el-tab-pane - v-for="(paramTab, index) in paramTabs" - :key="index" - :label="paramTab" - :name="paramTab" - > + <el-tab-pane v-for="(paramTab, index) in paramTabs" :key="index" :label="paramTab" :name="paramTab"> <div class="pane-div"> <div> - <el-divider - class="pane-divider" - direction="vertical" - ></el-divider - ><span style="font-size:14px;font-weight:bold">鍙傛暟闆�</span> + <el-divider class="pane-divider" direction="vertical"></el-divider><span + style="font-size:14px;font-weight:bold">鍙傛暟闆�</span> <div class="template-content-div"> - <el-select - v-model="currTemplateId" - placeholder="璇烽�夋嫨" - style="width: 300px;" - @change="tabParamsClick()" - clearable - > - <el-option - v-for="item in everyTabParams" - :key="item.id" - :label="item.operationTemplateName" - :value="item.id" - > + <el-select v-model="currTemplateId" placeholder="璇烽�夋嫨" style="width: 300px;" @change="tabParamsClick()" + clearable> + <el-option v-for="item in everyTabParams" :key="item.id" :label="item.operationTemplateName" + :value="item.id"> <div style="display: table;width: 300px;"> <div style="display: table-row;"> - <div - style="display: table-cell;width:50%;text-align: center;" - > + <div style="display: table-cell;width:50%;text-align: center;"> {{ item.systemNo }} </div> - <div - style="display: table-cell;text-align: center;" - > + <div style="display: table-cell;text-align: center;"> {{ item.operationTemplateName }} </div> </div> @@ -430,45 +352,21 @@ </div> </div> <div style="margin-top:14px;"> - <el-divider - class="pane-divider" - direction="vertical" - ></el-divider - ><span style="font-size:14px;font-weight:bold">鍙傛暟</span> + <el-divider class="pane-divider" direction="vertical"></el-divider><span + style="font-size:14px;font-weight:bold">鍙傛暟</span> <div class="params-content-div"> - <el-table - :data="params" - :height="tableHeight" - :header-cell-style="paramsTableHeaderStyle" - :row-class-name="tableRowClassName" - class="taskinfo-params-table" - > - <el-table-column - prop="code" - label="缂栧彿" - width="200" - align="center" - > + <el-table :data="params" :height="tableHeight" :header-cell-style="paramsTableHeaderStyle" + :row-class-name="tableRowClassName" class="taskinfo-params-table"> + <el-table-column prop="code" label="缂栧彿" width="200" align="center"> </el-table-column> - <el-table-column - prop="parameterItem" - label="鍚嶇О" - width="200" - align="center" - > + <el-table-column prop="parameterItem" label="鍚嶇О" width="200" align="center"> <template slot-scope="scope"> - <span - >{{ scope.row.parameterItem }}锛坽{ - scope.row.unit - }}锛�</span - > + <span>{{ scope.row.parameterItem }}锛坽{ + scope.row.unit + }}锛�</span> </template> </el-table-column> - <el-table-column - prop="paramValue" - label="鍊�" - align="center" - > + <el-table-column prop="paramValue" label="鍊�" align="center"> </el-table-column> </el-table> </div> @@ -482,7 +380,7 @@ </div> </el-tab-pane> <!--宸ヨ壓閰嶇疆鍗�--> - <el-tab-pane :label="tabNameExt0" :name="tabNameExt0" class="l-mes"> + <!-- <el-tab-pane :label="tabNameExt0" :name="tabNameExt0" class="l-mes"> --> <!-- <div style="margin-left: 40px"> <el-radio v-model="configContent.modelType" label="01" disabled >妯℃澘1</el-radio @@ -491,91 +389,44 @@ >妯℃澘2</el-radio > </div> --> - <el-divider content-position="left">閰嶇疆鍗曞唴瀹�</el-divider> + <!-- <el-divider content-position="left">閰嶇疆鍗曞唴瀹�</el-divider> --> <!--妯℃澘1--> - <div - class="node-content-remark" - v-if="configContent.modelType === '01'" - > - <el-form - class="configform1" - :inline="true" - ref="form" - label-width="80px" - > + <!-- <div class="node-content-remark" v-if="configContent.modelType === '01'"> + <el-form class="configform1" :inline="true" ref="form" label-width="80px"> <el-form-item label="璁㈠崟缂栧彿锛�"> <el-input v-model="configContent.proNo" readonly></el-input> </el-form-item> <el-form-item label="椤圭洰鍚嶇О锛�"> - <el-input - v-model="configContent.proName" - readonly - ></el-input> + <el-input v-model="configContent.proName" readonly></el-input> </el-form-item> - <el-form-item - label="鐢熶骇瑕佹眰鎻忚堪锛�" - style="width: 100%" - label-width="105px" - > + <el-form-item label="鐢熶骇瑕佹眰鎻忚堪锛�" style="width: 100%" label-width="105px"> <div class="ql-editor" v-html="configContent.remark1" /> </el-form-item> - </el-form> + </el-form> --> <!-- 鐢熶骇瑕佹眰鎻忚堪锛�--> - </div> + <!-- </div> --> <!--妯℃澘2--> - <div - class="node-content-remark2" - v-if="configContent.modelType === '02'" - > - <div - class="node-content-remark2" - style="width: 90%;margin-left: 30px;" - > - <el-form - class="configform2" - :inline="true" - ref="form" - label-width="80px" - > + <!-- <div class="node-content-remark2" v-if="configContent.modelType === '02'"> + <div class="node-content-remark2" style="width: 90%;margin-left: 30px;"> + <el-form class="configform2" :inline="true" ref="form" label-width="80px"> <el-form-item label="鍚堝悓缂栧彿锛�" style="width: 40%"> - <el-input - v-model="configContent.proNo" - readonly - ></el-input> + <el-input v-model="configContent.proNo" readonly></el-input> </el-form-item> <el-form-item label="椤圭洰鍚嶇О锛�" style="width: 40%"> - <el-input - v-model="configContent.proName" - readonly - ></el-input> + <el-input v-model="configContent.proName" readonly></el-input> </el-form-item> <el-form-item label="鍗板瓧瑕佹眰锛�" style="width: 100%"> - <el-input - v-model="configContent.printReq" - readonly - ></el-input> + <el-input v-model="configContent.printReq" readonly></el-input> </el-form-item> - <el-form-item - label="鐢熶骇瑙勬牸鍨嬪彿鍙婃暟閲忥細" - style="width: 100%" - label-width="140px" - > + <el-form-item label="鐢熶骇瑙勬牸鍨嬪彿鍙婃暟閲忥細" style="width: 100%" label-width="140px"> <div class="ql-editor" v-html="configContent.remark1" /> </el-form-item> - <el-form-item - label="鐢熶骇瑕佹眰鎻忚堪锛�" - style="width: 100%" - label-width="105px" - > + <el-form-item label="鐢熶骇瑕佹眰鎻忚堪锛�" style="width: 100%" label-width="105px"> <div class="ql-editor" v-html="configContent.remark2" /> </el-form-item> - <el-form-item - label="瀹為檯鍗板瓧瑕佹眰锛�" - style="width: 80%" - label-width="105px" - > + <el-form-item label="瀹為檯鍗板瓧瑕佹眰锛�" style="width: 80%" label-width="105px"> <el-input v-model="configContent.realPrintReq"></el-input> </el-form-item> <el-row class="bodyrow"> @@ -584,9 +435,7 @@ <div class="form-item" style="text-align: left"> <label>鍙戞场缂嗚姱(桅mm)</label> <div style="color: #7A9EFD"> - <el-input - v-model="configContent.cableCore" - ></el-input> + <el-input v-model="configContent.cableCore"></el-input> </div> </div> </div> @@ -603,9 +452,7 @@ <div class="form-item"> <label>妯¤姱(桅mm)</label> <div style="color: #7A9EFD"> - <el-input - v-model="configContent.modelCore" - ></el-input> + <el-input v-model="configContent.modelCore"></el-input> </div> </div> </div> @@ -615,33 +462,27 @@ <div class="form-item"> <label>妯″(桅mm)</label> <div style="color: #7A9EFD"> - <el-input - v-model="configContent.modelSleeve" - ></el-input> + <el-input v-model="configContent.modelSleeve"></el-input> </div> </div> </div> </el-col> - <el-col :span="3" - ><div class="param-top"> + <el-col :span="3"> + <div class="param-top"> <div class="form-item"> <label>瀹氬緞妯�(桅mm)</label> <div style="color: #7A9EFD"> - <el-input - v-model="configContent.sizingModel" - ></el-input> + <el-input v-model="configContent.sizingModel"></el-input> </div> </div> </div> </el-col> - <el-col :span="3" - ><div class="param-top"> + <el-col :span="3"> + <div class="param-top"> <div class="form-item"> <label>杩囨ā(桅mm)</label> <div style="color: #7A9EFD"> - <el-input - v-model="configContent.strandModel" - ></el-input> + <el-input v-model="configContent.strandModel"></el-input> </div> </div> </div> @@ -651,153 +492,72 @@ 浜у搧鐨勬�ц兘瑕佹眰锛�20鈩冩椂鐨勭數姘旂壒寰� </div> - <el-table - :data="configContent.processConfigDataList" - style="width: 100%;margin-top: 10px" - border - > + <el-table :data="configContent.processConfigDataList" style="width: 100%;margin-top: 10px" border> <el-table-column prop="date" label="棰戠巼(MHz)"> <template slot-scope="scope"> - <el-input - v-model="scope.row.frequency" - disabled - ></el-input> + <el-input v-model="scope.row.frequency" disabled></el-input> </template> </el-table-column> <el-table-column prop="name" label="鏈�澶т紶閫佽“鍑�(dB/km)"> <template slot-scope="scope"> - <el-input - v-model="scope.row.deliveryReduce" - disabled - ></el-input> + <el-input v-model="scope.row.deliveryReduce" disabled></el-input> </template> </el-table-column> - <el-table-column - prop="province" - label="鑰﹀悎鎹熻�梞ax(dB),2绫�,95%" - > + <el-table-column prop="province" label="鑰﹀悎鎹熻�梞ax(dB),2绫�,95%"> <template slot-scope="scope"> - <el-input - v-model="scope.row.couplingLoss" - disabled - ></el-input> + <el-input v-model="scope.row.couplingLoss" disabled></el-input> </template> </el-table-column> </el-table> - <el-form-item - label="宸ヤ綔棰戝甫鍐呴┗娉㈡瘮锛�" - style="width: 80%" - label-width="120px" - > - <el-input - v-model="configContent.workFrequency" - disabled - ></el-input> + <el-form-item label="宸ヤ綔棰戝甫鍐呴┗娉㈡瘮锛�" style="width: 80%" label-width="120px"> + <el-input v-model="configContent.workFrequency" disabled></el-input> </el-form-item> - <el-form-item - label="棰戠巼鑼冨洿锛�" - style="width: 80%" - label-width="120px" - > - <el-input - v-model="configContent.frequencyRange" - disabled - ></el-input> + <el-form-item label="棰戠巼鑼冨洿锛�" style="width: 80%" label-width="120px"> + <el-input v-model="configContent.frequencyRange" disabled></el-input> </el-form-item> - <el-form-item - label="鐩存祦鐢甸樆锛�" - style="width: 80%" - label-width="120px" - > - <el-input - v-model="configContent.resistance" - disabled - ></el-input> + <el-form-item label="鐩存祦鐢甸樆锛�" style="width: 80%" label-width="120px"> + <el-input v-model="configContent.resistance" disabled></el-input> </el-form-item> - <el-form-item - label="澶囨敞锛�" - style="width: 100%" - label-width="120px" - > + <el-form-item label="澶囨敞锛�" style="width: 100%" label-width="120px"> <div class="ql-editor" v-html="configContent.remark4" /> </el-form-item> </el-form> </div> </div> - </el-tab-pane> + </el-tab-pane> --> <!--宸ヨ壓闄勪欢--> - <el-tab-pane :label="tabNameExt1" :name="tabNameExt1"> - <el-table - :data="processConfigFileTableData" - border - style="width: 100%;" - :header-cell-style="{ - background: 'antiquewhite', - color: '#333' - }" - > - <el-table-column - prop="orderNumber" - label="璁㈠崟鍙�" - align="center" - ></el-table-column> - <el-table-column - prop="lineNumber" - label="琛屽彿" - align="center" - ></el-table-column> - <el-table-column - prop="originalFileName" - label="鏂囦欢鍚�" - align="center" - ></el-table-column> - <el-table-column - prop="createUser" - label="涓婁紶浜�" - align="center" - ></el-table-column> - <el-table-column - prop="createTime" - label="涓婁紶鏃堕棿" - align="center" - ></el-table-column> + <!-- <el-tab-pane :label="tabNameExt1" :name="tabNameExt1"> + <el-table :data="processConfigFileTableData" border style="width: 100%;" :header-cell-style="{ + background: 'antiquewhite', + color: '#333' + }"> + <el-table-column prop="orderNumber" label="璁㈠崟鍙�" align="center"></el-table-column> + <el-table-column prop="lineNumber" label="琛屽彿" align="center"></el-table-column> + <el-table-column prop="originalFileName" label="鏂囦欢鍚�" align="center"></el-table-column> + <el-table-column prop="createUser" label="涓婁紶浜�" align="center"></el-table-column> + <el-table-column prop="createTime" label="涓婁紶鏃堕棿" align="center"></el-table-column> <el-table-column label="鎿嶄綔"> <template slot-scope="scope"> - <el-button - @click="downloadProcessConfigFile(scope.row)" - type="text" - size="small" - >涓嬭浇</el-button - > + <el-button @click="downloadProcessConfigFile(scope.row)" type="text" size="small">涓嬭浇</el-button> </template> </el-table-column> </el-table> - </el-tab-pane> + </el-tab-pane> --> <!--缁撴瀯鍥�--> - <el-tab-pane :label="tabNameExt2" :name="tabNameExt2"> + <!-- <el-tab-pane :label="tabNameExt2" :name="tabNameExt2"> <div style="text-align: center; padding: 15px 15px;"> - <img - width="70%" - v-for="(image, index) in structureImages" - :key="index" - :src="image.url" - alt="" - /> + <img width="70%" v-for="(image, index) in structureImages" :key="index" :src="image.url" alt="" /> </div> - </el-tab-pane> + </el-tab-pane> --> </el-tabs> </div> <div style="height:100%;width:27%;"> <div style="height: 50px;line-height:50px;"> - <span style="color:#363636;font-size:16px;font-weight:700;" - >宸ヨ壓澶囨敞</span - > + <span style="color:#363636;font-size:16px;font-weight:700;">宸ヨ壓澶囨敞</span> </div> - <div - style="height:calc( 100% - 50px );overflow: auto;padding:10px 10px;" - > + <div style="height:calc( 100% - 50px );overflow: auto;padding:10px 10px;"> <div> <span v-html="this.currOperateTask.routingOperationRemark"></span> </div> @@ -805,26 +565,13 @@ </div> </div> </div> - <productOutByBatchFormDialog - :currshowlist.sync="showProductByBatchForm" - :productList="productList" - :discToolMeasurementVal="discToolMeasurementVal" - :parentInfo="parentInfo" - :currentDutyRecord="currentDutyRecord" - :personBoardList="personBoardList" - :groupStatus="groupStatus" - :orderSnGenerateIdList="orderSnGenerateIdList" - @refreshTaskDetailInfoList="getSegmentmergeTaskDetailInfoData" - /> - <isReproduceFormDialog - :currshowlist.sync="showIsReproduceForm" - :orderSnGenerateIdList="orderSnGenerateIdList" - @refreshTaskDetailInfoList="getSegmentmergeTaskDetailInfoData" - /> - <processConfigurationSheetDialog - :currshowlist.sync="showProcessConfigurationSheet" - :orderInfo="orderInfo" - /> + <productOutByBatchFormDialog :currshowlist.sync="showProductByBatchForm" :productList="productList" + :discToolMeasurementVal="discToolMeasurementVal" :parentInfo="parentInfo" :currentDutyRecord="currentDutyRecord" + :personBoardList="personBoardList" :groupStatus="groupStatus" :orderSnGenerateIdList="orderSnGenerateIdList" + @refreshTaskDetailInfoList="getSegmentmergeTaskDetailInfoData" /> + <isReproduceFormDialog :currshowlist.sync="showIsReproduceForm" :orderSnGenerateIdList="orderSnGenerateIdList" + @refreshTaskDetailInfoList="getSegmentmergeTaskDetailInfoData" /> + <processConfigurationSheetDialog :currshowlist.sync="showProcessConfigurationSheet" :orderInfo="orderInfo" /> </div> </template> <style lang="scss" scoped> @@ -834,13 +581,16 @@ justify-content: space-between; align-items: center; } + .taskinfo-header.is-active { transform: rotate(90deg); } + .taskinfo-header { transition: transform 0.3s; font-weight: 300; } + .taskinfo-div { height: 100%; overflow: auto; @@ -848,11 +598,13 @@ /*display: flex; flex-direction: column;*/ } + .taskinfo-pane-div { border: 0.5px solid #f8f8fb; border-radius: 10px; height: 120px; } + .taskinfo-main { /*flex-grow: 0; flex-shrink: 0;*/ @@ -861,10 +613,12 @@ justify-content: space-between; overflow: auto; } + .taskinfo-main-item { width: 33%; position: relative; } + .param-top { width: 100%; height: 30px; @@ -895,6 +649,7 @@ vertical-align: text-top; } } + /*.taskinfo-main-item img {*/ /* width: 100%;*/ /*}*/ @@ -904,45 +659,55 @@ margin-top: 5px; background-color: #fff; } -.taskinfo-body >>> .el-tabs { + +.taskinfo-body>>>.el-tabs { height: 100%; } -.taskinfo-body >>> .el-tabs__item.is-active { + +.taskinfo-body>>>.el-tabs__item.is-active { color: #363636; background-color: #fff; font-weight: bold; } -.taskinfo-body >>> .el-tabs__item:hover { + +.taskinfo-body>>>.el-tabs__item:hover { color: #363636; font-weight: bold; } -.taskinfo-body >>> .el-tabs__item { + +.taskinfo-body>>>.el-tabs__item { background-color: #f3f8fb; min-width: 115px; height: 49px; font-size: 16px !important; text-align: center; } -.taskinfo-body >>> .el-tabs__content { + +.taskinfo-body>>>.el-tabs__content { height: calc(100% - 65px); } -.taskinfo-body >>> .el-tabs__content .el-tab-pane { + +.taskinfo-body>>>.el-tabs__content .el-tab-pane { height: 100%; overflow: auto; } + .configform1 { .el-input { width: 300px; } } + .configform2 { /deep/ .el-form-item__content { width: 70% !important; } + .el-input { width: 100%; } } + .taskinfo-body-div { text-align: center; margin: auto; @@ -950,6 +715,7 @@ color: #9ec1eb; white-space: nowrap; } + .pane-div { height: 100%; padding: 5px 14px; @@ -959,17 +725,21 @@ width: 4px; background-color: #4283ee; } + .template-content-div { margin-top: 14px; } -.template-content-div > div:first-child img { + +.template-content-div>div:first-child img { width: 100%; } + .template-listbody-div { height: calc(100% - 94px); overflow: auto; } -.template-listbody-div > div { + +.template-listbody-div>div { width: 100%; height: 54px; margin-bottom: 4px; @@ -977,101 +747,122 @@ box-shadow: 0px 2px 14px 2px rgba(47, 47, 47, 0.06); border: solid 1px #f0f0f0; } + .template-unchecked-div { background-color: #fff; } + .template-checked-div { background-color: #6290ec; } + .template-checked-systemno { color: #fffdfd; } + .template-checked-templatename { color: #fffdfd; } + .template-unchecked-systemno { color: #4898fc; } + .template-unchecked-templatename { color: #3f3f3f; } -.template-listbody-div >>> .el-checkbox.is-disabled .el-checkbox__inner { + +.template-listbody-div>>>.el-checkbox.is-disabled .el-checkbox__inner { cursor: pointer; } -.template-listbody-div - >>> .el-checkbox.is-disabled.is-checked - .el-checkbox__inner { + +.template-listbody-div>>>.el-checkbox.is-disabled.is-checked .el-checkbox__inner { background-color: #fff; border-color: #409eff; } -.template-listbody-div - >>> .el-checkbox.is-disabled.is-checked - .el-checkbox__inner::after { + +.template-listbody-div>>>.el-checkbox.is-disabled.is-checked .el-checkbox__inner::after { border-color: #409eff; } + .params-content-div { margin-top: 14px; } -.el-table >>> .stripe-row { + +.el-table>>>.stripe-row { background: #eef3fd; } + .params-pagination { margin-top: 5px; text-align: right; } -.params-pagination >>> .el-icon-arrow-left { + +.params-pagination>>>.el-icon-arrow-left { background: url('/img/workbench/icon_previous.png') center center no-repeat; background-size: cover; } -.params-pagination >>> .el-icon-arrow-left:before { +.params-pagination>>>.el-icon-arrow-left:before { content: '鏇�'; font-size: 20px; visibility: hidden; } -.params-pagination >>> .el-icon-arrow-right { + +.params-pagination>>>.el-icon-arrow-right { background: url('/img/workbench/icon_next.png') center center no-repeat; background-size: cover; } -.params-pagination >>> .el-icon-arrow-right:before { +.params-pagination>>>.el-icon-arrow-right:before { content: '鎹�'; font-size: 20px; visibility: hidden; } -.params-pagination >>> .el-pager li { + +.params-pagination>>>.el-pager li { min-width: 28px; } -.params-pagination >>> button { + +.params-pagination>>>button { min-width: 23.5px; } -.params-pagination >>> .btn-prev { + +.params-pagination>>>.btn-prev { padding: 0px 4px 0px 2px; } -.params-pagination >>> .btn-next { + +.params-pagination>>>.btn-next { padding: 0px 2px 0px 4px; } -.taskinfo-params-table >>> td { + +.taskinfo-params-table>>>td { padding: 3px 0px; } -.taskInfoMainTab >>> .el-tabs__header { + +.taskInfoMainTab>>>.el-tabs__header { margin: 0 0; } -.taskInfoMainTab >>> .el-tabs__header { + +.taskInfoMainTab>>>.el-tabs__header { margin: 0 0; } -.taskInfoMainTab >>> .el-tabs__header .el-tabs__item { + +.taskInfoMainTab>>>.el-tabs__header .el-tabs__item { height: 28px; line-height: 28px; } + .bodyrow { .el-input { width: 80%; } + .form-item { text-align: center; } } + .ql-editor { color: #444; line-height: 20px; @@ -1080,26 +871,17 @@ font-size: 12px; border-bottom: 1px solid #ddd; } -.task-detail-info-table >>> .custom-table-div { + +.task-detail-info-table>>>.custom-table-div { margin-top: 0px !important; } -.task-detail-info-table - >>> .custom-table-div - .customTable - .el-table__body-wrapper - .el-table__row - .cell { +.task-detail-info-table>>>.custom-table-div .customTable .el-table__body-wrapper .el-table__row .cell { padding-left: 0px !important; padding-right: 0px !important; } -.task-detail-info-table - >>> .customTable - .el-table__header-wrapper - .el-table__header - .el-table-column--selection - .el-checkbox__input { +.task-detail-info-table>>>.customTable .el-table__header-wrapper .el-table__header .el-table-column--selection .el-checkbox__input { display: none; } </style> @@ -1481,8 +1263,8 @@ computed: { ...mapGetters(['userInfo']) }, - mounted() {}, - created() {}, + mounted() { }, + created() { }, methods: { handleClick() { if (this.taskInfoActiveName == '鎸夋壒娆℃姤宸�') { diff --git a/src/views/product/workbench/workReport-feed.vue b/src/views/product/workbench/workReport-feed.vue index bc17485..14b7f22 100644 --- a/src/views/product/workbench/workReport-feed.vue +++ b/src/views/product/workbench/workReport-feed.vue @@ -36,7 +36,7 @@ <el-table-column label="鎶ュ伐鍗曞彿" prop="productNo" align="center"> </el-table-column> <el-table-column - label="SN鍙�" + label="搴忓垪鍙�" prop="partBatchNo" align="center" :show-overflow-tooltip="true" @@ -287,6 +287,7 @@ } else { this.$message.error('鏇存柊鎶曞叆澶辫触') } + this.visible = false }) .catch((error) => {}) } else { @@ -307,6 +308,7 @@ } else { this.$message.error('娣诲姞鎶曞叆澶辫触') } + this.visible = false }) .catch((error) => {}) } diff --git a/src/views/product/workbench/workReportCard.vue b/src/views/product/workbench/workReportCard.vue index 3b5ea93..be4d807 100644 --- a/src/views/product/workbench/workReportCard.vue +++ b/src/views/product/workbench/workReportCard.vue @@ -12,16 +12,11 @@ <div class="tabDivClass"> <div class="product-out-header-left"> <div style="height:28px;line-height:28px;"> - <el-divider class="pane-divider" direction="vertical"></el-divider - ><span style="font-size:14px;font-weight:bold">浜у嚭</span> + <el-divider class="pane-divider" direction="vertical"></el-divider><span + style="font-size:14px;font-weight:bold">浜у嚭</span> <el-tooltip effect="dark" content="鍒锋柊鍒楄〃" placement="top"> - <el-button - class="step-refresh-btn" - icon="el-icon-refresh" - type="info" - circle - @click="getBatchReport(5)" - ></el-button> + <el-button class="step-refresh-btn" icon="el-icon-refresh" type="info" circle + @click="getBatchReport(5)"></el-button> </el-tooltip> </div> <div style="margin-left: 30px"> @@ -39,29 +34,21 @@ </div> </div> <div style="display:flex;flex-wrap:wrap;"> - <el-button - class="export-btn" - type="primary" - @click="exportOutProduct()" - >瀵煎嚭 + <el-button class="export-btn" type="primary" @click="exportOutProduct()">瀵煎嚭 </el-button> - <el-button + <!-- <el-button class="out-btn" type="primary" :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="!editShow" @click="addShiftProductOut()" >浜ょ彮浜у嚭 + </el-button> --> + <el-button class="batch-out-btn" type="primary" + :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="!editShow" + @click="addBatchProductOut()">姹囨姤浜у嚭 </el-button> - <el-button - class="batch-out-btn" - type="primary" - :disabled="currProductMainDisable || currentDutyRecord.isConfirm" - v-if="!editShow" - @click="addBatchProductOut()" - >鎵归噺浜у嚭 - </el-button> - <div class="print-button-class"> + <!-- <div class="print-button-class"> <el-button type="danger" class="print-btn" @click="batchPrint()" >澶ф爣绛炬墦鍗� </el-button> @@ -83,8 +70,8 @@ v-model="batchSmallPrintRadio" @change="labelTabChange2" ></el-checkbox> - </div> - <div + </div> --> + <!-- <div class="print-button-class" v-if="permissions.product_finished_productLabel1_unlimit" > @@ -110,8 +97,8 @@ v-model="warehousingPrintSingleRadio" @change="labelTabChange3" ></el-checkbox> - </div> - <div + </div> --> + <!-- <div class="print-button-class" v-if="permissions.product_finished_productLabel2" > @@ -126,78 +113,36 @@ v-model="warehousingSmalllPrintRadio" @change="labelTabChange4" ></el-checkbox> - </div> - <el-button - class="change-shift-out-btn" - type="primary" - :disabled="currProductMainDisable || currentDutyRecord.isConfirm" - v-if="!editShow" - @click="editList()" - >缂栬緫 + </div> --> + <el-button class="change-shift-out-btn" type="primary" + :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="!editShow" @click="editList()">缂栬緫 </el-button> - <el-button - class="batch-out-del-btn" - type="primary" - :disabled="currProductMainDisable || currentDutyRecord.isConfirm" - v-if="editShow" - @click="cancelSaveList()" - >鍙栨秷 + <el-button class="batch-out-del-btn" type="primary" + :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="editShow" @click="cancelSaveList()">鍙栨秷 </el-button> - <el-button - class="change-shift-out-btn" - type="primary" - :disabled="currProductMainDisable || currentDutyRecord.isConfirm" - v-if="editShow" - @click="saveList()" - >淇濆瓨 + <el-button class="change-shift-out-btn" type="primary" + :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="editShow" @click="saveList()">淇濆瓨 </el-button> <!-- <el-button class="tracking-out-revoke-btn" type="primary" icon="tracking-btn-out" :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="!editShow" >浜ょ彮 </el-button> --> - <el-button - class="submit-out-btn" - type="primary" - :disabled="currProductMainDisable || currentDutyRecord.isConfirm" - v-if="!editShow" - @click="submitList()" - :loading="submitLoading" - >鎻愪氦 + <el-button class="submit-out-btn" type="primary" + :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="!editShow" @click="submitList()" + :loading="submitLoading">鎻愪氦 </el-button> - <el-button - class="batch-out-del-btn" - type="primary" - :disabled="currProductMainDisable || currentDutyRecord.isConfirm" - v-if="!editShow" - @click="deleteList()" - >鍒犻櫎 + <el-button class="batch-out-del-btn" type="primary" + :disabled="currProductMainDisable || currentDutyRecord.isConfirm" v-if="!editShow" @click="deleteList()">鍒犻櫎 </el-button> - <el-button - v-if="permissions.product_main_revoke" - type="danger" - class="revoke-btn" - @click="revokeList()" - :loading="removeLoading" - >鎾ら攢</el-button - > - <el-button - v-if="permissions.product_state_reset" - type="primary" - class="change-shift-out-btn" - @click="goReset()" - :loading="resetLoading" - >鐘舵�侀噸缃�</el-button - > + <!-- v-if="permissions.product_main_revoke" --> + <el-button type="danger" class="revoke-btn" @click="revokeList()" :loading="removeLoading">鎾ら攢</el-button> + <!-- v-if="permissions.product_state_reset" --> + <el-button type="primary" class="change-shift-out-btn" @click="goReset()" + :loading="resetLoading">鐘舵�侀噸缃�</el-button> </div> </div> - <el-table - ref="productOutTable" - :data="productOutputList" - height="calc(100% - 118px)" - :header-cell-style="productOutTableHeaderCellStyle" - :row-class-name="productOutTableRowClassName" - class="tracking-table" - @selection-change="handleSelectionChange" - > + <el-table ref="productOutTable" :data="productOutputList" height="calc(100% - 118px)" + :header-cell-style="productOutTableHeaderCellStyle" :row-class-name="productOutTableRowClassName" + class="tracking-table" @selection-change="handleSelectionChange"> <el-table-column type="selection" width="55"> </el-table-column> <el-table-column label="搴忓彿" width="50px"> @@ -208,74 +153,43 @@ <el-table-column label="鎶ュ伐鍗曞彿" prop="productNo" align="center"> </el-table-column> - <el-table-column - label="鐘舵��" - prop="state" - align="center" - :formatter="formatState" - width="120" - > + <el-table-column label="鐘舵��" prop="state" align="center" :formatter="formatState" width="120"> <template slot="header" slot-scope="scope"> <div style="line-height: 14px;">鐘舵��</div> <div class="th" @click.stop> <template> - <el-select - clearable - v-model="paramObject.state" - placeholder="鍏ㄩ儴鐘舵��" - @change="getBatchReport(5)" - style="width: 100%" - > - <el-option - v-for="item in stateTagArr" - :key="item.id" - :label="item.label" - :value="item.value" - /> + <el-select clearable v-model="paramObject.state" placeholder="鍏ㄩ儴鐘舵��" @change="getBatchReport(5)" + style="width: 100%"> + <el-option v-for="item in stateTagArr" :key="item.id" :label="item.label" :value="item.value" /> </el-select> </template> </div> </template> </el-table-column> - <el-table-column - label="闆朵欢缂栧彿" - prop="partNo" - align="center" - :show-overflow-tooltip="true" - > + <el-table-column label="闆朵欢缂栧彿" prop="partNo" align="center" :show-overflow-tooltip="true"> </el-table-column> - <el-table-column - label="闆朵欢鍚嶇О" - prop="partName" - align="center" - :show-overflow-tooltip="true" - > + <el-table-column label="闆朵欢鍚嶇О" prop="partName" align="center" :show-overflow-tooltip="true"> </el-table-column> - <el-table-column - label="SN鍙�" - prop="outBatchNo" - align="center" - width="120" - :show-overflow-tooltip="true" - > - <template slot="header" slot-scope="scope"> - <div style="line-height: 14px;">SN鍙�</div> + <el-table-column label="搴忓垪鍙�" prop="outBatchNo" align="center" width="120" :show-overflow-tooltip="true"> + <template slot-scope="scope"> + <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" v-if="scope.row.isEdit" + v-model="scope.row.outBatchNo" placeholder="搴忓垪鍙�"></el-input> + <template v-if="!scope.row.isEdit">{{ + scope.row.outBatchNo + }}</template> + </template> + <!-- <template slot="header" slot-scope="scope"> + <div style="line-height: 14px;">搴忓垪鍙�</div> <div class="th" @click.stop> <template> - <el-input - clearable - @keyup.enter.native="getBatchReport(5)" - v-model="paramObject.outBatchNo" - placeholder="SN鍙�" - @clear="getBatchReport(5)" - style="width: 100%" - > + <el-input clearable @keyup.enter.native="getBatchReport(5)" v-model="paramObject.outBatchNo" + placeholder="搴忓垪鍙�" @clear="getBatchReport(5)" style="width: 100%"> </el-input> </template> </div> - </template> + </template> --> </el-table-column> - <el-table-column + <!-- <el-table-column label="杞藉叿缂栧彿" prop="reelNumber" align="center" @@ -294,8 +208,8 @@ scope.row.reelNumber }}</template> </template> - </el-table-column> - <el-table-column + </el-table-column> --> + <!-- <el-table-column label="璧峰绫虫爣" prop="startMeterMark" align="center" @@ -332,15 +246,26 @@ scope.row.endMeterMark }}</template> </template> + </el-table-column> --> + <el-table-column label="鐢熶骇鏁伴噺" prop="productQty" align="center" width="100"> + <template slot-scope="scope"> + <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" v-if="scope.row.isEdit" + v-model="scope.row.productQty" placeholder="鐢熶骇鏁伴噺"></el-input> + <template v-if="!scope.row.isEdit">{{ + scope.row.productQty + }}</template> + </template> </el-table-column> - <el-table-column - label="鐢熶骇鏁伴噺" - prop="productQty" - align="center" - width="100" - > + <el-table-column label="WDR鍙�" prop="wdr" align="center" width="100"> + <template slot-scope="scope"> + <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" v-if="scope.row.isEdit" + v-model="scope.row.wdr" placeholder="WDR鍙�"></el-input> + <template v-if="!scope.row.isEdit">{{ + scope.row.wdr + }}</template> + </template> </el-table-column> - <el-table-column label="鍒嗘鎻忚堪" prop="segmentDesc" align="center"> + <!-- <el-table-column label="鍒嗘鎻忚堪" prop="segmentDesc" align="center"> <template slot-scope="scope"> <el-input :id="'idReport_' + +scope.$index" @@ -353,69 +278,43 @@ scope.row.segmentDesc }}</template> </template> - </el-table-column> + </el-table-column> --> <el-table-column label="鎶ュ簾鏁伴噺" prop="scrapQty" align="center"> <template slot-scope="scope"> - <el-input - :id="'idReport_' + +scope.$index" - :ref="'reference_' + scope.$index" - v-if="scope.row.isEdit" - v-model="scope.row.scrapQty" - placeholder="鎶ュ簾鏁伴噺" - ></el-input> + <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" v-if="scope.row.isEdit" + v-model="scope.row.scrapQty" placeholder="鎶ュ簾鏁伴噺"></el-input> <template v-if="!scope.row.isEdit">{{ scope.row.scrapQty }}</template> </template> </el-table-column> - <el-table-column - label="IFS鎵规鍙�" - prop="ifsBatchNo" - align="center" - width="120" - > - <template slot="header" slot-scope="scope"> + <el-table-column label="IFS鎵规鍙�" prop="ifsBatchNo" align="center" width="120"> + <!-- <template slot="header" slot-scope="scope"> <div style="line-height: 14px;">IFS鎵规鍙�</div> <div class="th" @click.stop> <template> - <el-input - clearable - @keyup.enter.native="getBatchReport(5)" - v-model="paramObject.ifsBatchNo" - placeholder="IFS鎵规鍙�" - @clear="getBatchReport(5)" - style="width: 100%" - > + <el-input clearable @keyup.enter.native="getBatchReport(5)" v-model="paramObject.ifsBatchNo" + placeholder="IFS鎵规鍙�" @clear="getBatchReport(5)" style="width: 100%"> </el-input> </template> </div> </template> <template slot-scope="scope"> - <el-input - :id="'idReport_' + +scope.$index" - :ref="'reference_' + scope.$index" - v-if="scope.row.isIfsBatchNoEdit" - v-model="scope.row.ifsBatchNo" - placeholder="IFS鎵规鍙�" - ></el-input> + <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" + v-if="scope.row.isIfsBatchNoEdit" v-model="scope.row.ifsBatchNo" placeholder="IFS鎵规鍙�"></el-input> <template v-if="!scope.row.isIfsBatchNoEdit">{{ scope.row.ifsBatchNo }}</template> - </template> + </template> --> </el-table-column> <el-table-column label="澶囨敞" prop="remark" align="center"> <template slot-scope="scope"> - <el-input - :id="'idReport_' + +scope.$index" - :ref="'reference_' + scope.$index" - v-if="scope.row.isEdit" - v-model="scope.row.remark" - placeholder="澶囨敞" - ></el-input> + <el-input :id="'idReport_' + +scope.$index" :ref="'reference_' + scope.$index" v-if="scope.row.isEdit" + v-model="scope.row.remark" placeholder="澶囨敞"></el-input> <template v-if="!scope.row.isEdit">{{ scope.row.remark }}</template> </template> </el-table-column> - <el-table-column label="鐩樺叿閲嶉噺" prop="reelWeight" align="center"> + <!-- <el-table-column label="鐩樺叿閲嶉噺" prop="reelWeight" align="center"> <template slot-scope="scope"> <el-input :id="'idReport_' + +scope.$index" @@ -442,39 +341,29 @@ scope.row.grossWeight }}</template> </template> - </el-table-column> - <el-table-column label="绯荤粺鍙�" prop="systemNo" align="center"> - </el-table-column> + </el-table-column> --> + <!-- <el-table-column label="绯荤粺鍙�" prop="systemNo" align="center"> + </el-table-column> --> <el-table-column label="宸ュ簭鍚嶇О" prop="operationName" align="center"> </el-table-column> <el-table-column label="鍗曚綅" prop="unit" align="center"> </el-table-column> - <el-table-column + <!-- <el-table-column label="浜ょ彮鐘舵��" prop="shiftState" align="center" :formatter="formatshiftState" > - </el-table-column> - <el-table-column label="鎵撳嵃娆℃暟" prop="printNum" align="center"> - </el-table-column> - <el-table-column - label="鎿嶄綔" - align="center" - width="190px" - fixed="right" - > + </el-table-column> --> + <!-- <el-table-column label="鎵撳嵃娆℃暟" prop="printNum" align="center"> + </el-table-column> --> + <el-table-column label="鎿嶄綔" align="center" width="80" fixed="right"> <template slot-scope="scope"> <el-tooltip effect="dark" content="鎶曞叆" placement="top-start"> - <el-button - type="text" - size="small" - class="blue-but" - @click="searchDetail(scope.$index, scope.row)" - >鎶曞叆</el-button - > + <el-button type="text" size="small" class="blue-but" + @click="searchDetail(scope.$index, scope.row)">鎶曞叆</el-button> </el-tooltip> - <el-tooltip effect="dark" content="浜ょ彮" placement="top-start"> + <!-- <el-tooltip effect="dark" content="浜ょ彮" placement="top-start"> <el-button type="text" size="small" @@ -509,8 +398,8 @@ " >鍙栨秷浜ょ彮</el-button > - </el-tooltip> - <el-tooltip + </el-tooltip> --> + <!-- <el-tooltip effect="dark" content="鏍囩" placement="top-start" @@ -537,98 +426,63 @@ @click="smallPrintLabel(scope.row)" >灏忔爣绛�</el-button > - </el-tooltip> + </el-tooltip> --> </template> </el-table-column> </el-table> <div class="pagin-page"> - <el-pagination - :current-page="queryReport.current" - :page-sizes="[10, 15, 20, 50, 100]" - :page-size="queryReport.size" - layout="total, sizes, prev, pager, next, jumper" - @size-change="handleSizeChangeReport" - @current-change="handleCurrentChangeReport" - :total="queryReport.total" - > + <el-pagination :current-page="queryReport.current" :page-sizes="[10, 15, 20, 50, 100]" + :page-size="queryReport.size" layout="total, sizes, prev, pager, next, jumper" + @size-change="handleSizeChangeReport" @current-change="handleCurrentChangeReport" :total="queryReport.total"> </el-pagination> </div> - <batchProductOutFormDialog - :currshowlist.sync="showBatchProductForm" - :productList="productList" - :parentInfo="parentInfo" - :currentDutyRecord="currentDutyRecord" - :personBoardList="personBoardList" - @refreshProductOutputList="refreshProductOutputList" - :groupStatus="groupStatus" - /> - <shiftProductoutFormDialog - :currshowlist.sync="showShiftProductForm" - :productList="productList" - :parentInfo="parentInfo" - :currentDutyRecord="currentDutyRecord" - :personBoardList="personBoardList" - @refreshProductOutputList="refreshProductOutputList" - /> - <workReportFeed - v-if="searchFeed" - ref="searchFeed" - @refreshFeedsForDel="refreshFeedsForDel" - ></workReportFeed> + <batchProductOutFormDialog :currshowlist.sync="showBatchProductForm" :productList="productList" + :parentInfo="parentInfo" :currentDutyRecord="currentDutyRecord" :personBoardList="personBoardList" + @refreshProductOutputList="refreshProductOutputList" :groupStatus="groupStatus" /> + <shiftProductoutFormDialog :currshowlist.sync="showShiftProductForm" :productList="productList" + :parentInfo="parentInfo" :currentDutyRecord="currentDutyRecord" :personBoardList="personBoardList" + @refreshProductOutputList="refreshProductOutputList" /> + <workReportFeed v-if="searchFeed" ref="searchFeed" @refreshFeedsForDel="refreshFeedsForDel"></workReportFeed> - <productOutFormDialog - :currshowlist.sync="showProductForm" - :productList="productList" - :parentInfo="parentInfo" - :currentDutyRecord="currentDutyRecord" - :personBoardList="personBoardList" - @refreshProductOutputList="refreshProductOutputList" - /> - <TaskSecretForm - :currshowlist.sync="showTaskSecretForm" - @confirmSecret="confirmSecret" - :tackingList="confirmList" - :tipeInfo="tipeInfo" - /> - <printSecretFormDialog - :currshowlist.sync="showPrintSecretForm" - :outputs="selectOutputs" - :statusCheck="statusCheck" - @goOnPrint="goOnPrint" - @cancelClose="cancelClose" - @cancelCloseCancel="cancelCloseCancel" - /> + <productOutFormDialog :currshowlist.sync="showProductForm" :productList="productList" :parentInfo="parentInfo" + :currentDutyRecord="currentDutyRecord" :personBoardList="personBoardList" + @refreshProductOutputList="refreshProductOutputList" /> + <TaskSecretForm :currshowlist.sync="showTaskSecretForm" @confirmSecret="confirmSecret" :tackingList="confirmList" + :tipeInfo="tipeInfo" /> + <printSecretFormDialog :currshowlist.sync="showPrintSecretForm" :outputs="selectOutputs" :statusCheck="statusCheck" + @goOnPrint="goOnPrint" @cancelClose="cancelClose" @cancelCloseCancel="cancelCloseCancel" /> </div> <div> - <iframe - id="frame" - style="width:2480px;overflow:hidden;margin-top: 200px;" - :src="jimusrc" - ></iframe> + <iframe id="frame" style="width:2480px;overflow:hidden;margin-top: 200px;" :src="jimusrc"></iframe> </div> + <el-dialog title="浜у嚭鍚堟牸搴撲綅" :visible.sync="dialogVisible" width="30%"> + <span>鍚堟牸搴撲綅锛�</span> + <el-select v-model="locationIdValue" placeholder="璇烽�夋嫨"> + <el-option v-for="item in options" :key="item.index" :label="`${item.locNo}+${item.locName}`" :value="item.id"> + </el-option> + </el-select> + <span slot="footer" class="dialog-footer"> + <el-button @click="dialogVisible = false; isTrue = false">鍙� 娑�</el-button> + <el-button type="primary" @click="clickSureSubmit">纭� 瀹�</el-button> + </span> + </el-dialog> </div> </template> <style lang="scss" scoped> .cancel-btn { - background-image: -webkit-linear-gradient( - 90deg, - rgba(254, 100, 84, 0.8) 0%, - rgba(252, 84, 75, 0.8) 50%, - rgba(250, 69, 65, 0.8) 100% - ); - background-image: -moz-linear-gradient( - 90deg, - rgba(254, 100, 84, 0.8) 0%, - rgba(252, 84, 75, 0.8) 50%, - rgba(250, 69, 65, 0.8) 100% - ); - background-image: linear-gradient( - 90deg, - rgba(254, 100, 84, 0.8) 0%, - rgba(252, 84, 75, 0.8) 50%, - rgba(250, 69, 65, 0.8) 100% - ); + background-image: -webkit-linear-gradient(90deg, + rgba(254, 100, 84, 0.8) 0%, + rgba(252, 84, 75, 0.8) 50%, + rgba(250, 69, 65, 0.8) 100%); + background-image: -moz-linear-gradient(90deg, + rgba(254, 100, 84, 0.8) 0%, + rgba(252, 84, 75, 0.8) 50%, + rgba(250, 69, 65, 0.8) 100%); + background-image: linear-gradient(90deg, + rgba(254, 100, 84, 0.8) 0%, + rgba(252, 84, 75, 0.8) 50%, + rgba(250, 69, 65, 0.8) 100%); color: #fff; border-color: #fbecec; border-radius: 10px; @@ -636,40 +490,34 @@ height: 32px; } -.cancel-btn >>> span { +.cancel-btn>>>span { margin-left: 3px; } -.tracking-change-state-div >>> .tracking-btn-cancel { +.tracking-change-state-div>>>.tracking-btn-cancel { background: url('/img/workbench/icon_cancel.png') center center no-repeat; background-size: cover; } -.tracking-change-state-div >>> .tracking-btn-cancel:before { +.tracking-change-state-div>>>.tracking-btn-cancel:before { content: '娑�'; font-size: 14px; visibility: hidden; } .submit-btn { - background-image: -webkit-linear-gradient( - 90deg, - rgba(80, 213, 118, 0.8) 0%, - rgba(73, 209, 87, 0.8) 50%, - rgba(65, 205, 58, 0.8) 100% - ); - background-image: -moz-linear-gradient( - 90deg, - rgba(80, 213, 118, 0.8) 0%, - rgba(73, 209, 87, 0.8) 50%, - rgba(65, 205, 58, 0.8) 100% - ); - background-image: linear-gradient( - 90deg, - rgba(80, 213, 118, 0.8) 0%, - rgba(73, 209, 87, 0.8) 50%, - rgba(65, 205, 58, 0.8) 100% - ); + background-image: -webkit-linear-gradient(90deg, + rgba(80, 213, 118, 0.8) 0%, + rgba(73, 209, 87, 0.8) 50%, + rgba(65, 205, 58, 0.8) 100%); + background-image: -moz-linear-gradient(90deg, + rgba(80, 213, 118, 0.8) 0%, + rgba(73, 209, 87, 0.8) 50%, + rgba(65, 205, 58, 0.8) 100%); + background-image: linear-gradient(90deg, + rgba(80, 213, 118, 0.8) 0%, + rgba(73, 209, 87, 0.8) 50%, + rgba(65, 205, 58, 0.8) 100%); color: #fff; border-color: #fbecec; border-radius: 10px; @@ -677,38 +525,31 @@ height: 32px; } -.submit-btn >>> span { +.submit-btn>>>span { margin-left: 3px; } -.tracking-change-state-div >>> .tracking-btn-submit { - background: url('/img/workbench/icon_tracking_submit.png') center center - no-repeat; +.tracking-change-state-div>>>.tracking-btn-submit { + background: url('/img/workbench/icon_tracking_submit.png') center center no-repeat; background-size: cover; } -.tracking-change-state-div >>> .tracking-btn-submit:before { +.tracking-change-state-div>>>.tracking-btn-submit:before { content: '浜�'; font-size: 14px; visibility: hidden; } .revoke-btn { - background-image: -webkit-linear-gradient( - 90deg, - rgba(254, 91, 53, 0.8) 0%, - rgba(245, 68, 50, 0.8) 100% - ); - background-image: -moz-linear-gradient( - 90deg, - rgba(254, 91, 53, 0.8) 0%, - rgba(245, 68, 50, 0.8) 100% - ); - background-image: linear-gradient( - 90deg, - rgba(254, 91, 53, 0.8) 0%, - rgba(245, 68, 50, 0.8) 100% - ); + background-image: -webkit-linear-gradient(90deg, + rgba(254, 91, 53, 0.8) 0%, + rgba(245, 68, 50, 0.8) 100%); + background-image: -moz-linear-gradient(90deg, + rgba(254, 91, 53, 0.8) 0%, + rgba(245, 68, 50, 0.8) 100%); + background-image: linear-gradient(90deg, + rgba(254, 91, 53, 0.8) 0%, + rgba(245, 68, 50, 0.8) 100%); color: #fff; border-color: #fbecec; border-radius: 15px; @@ -716,27 +557,21 @@ font-size: 14px; } -.revoke-btn >>> span { +.revoke-btn>>>span { margin-left: 3px; font-size: 12px; } .print-btn { - background-image: -webkit-linear-gradient( - 90deg, - rgba(83, 53, 254, 0.8) 0%, - rgba(52, 50, 213, 0.8) 100% - ); - background-image: -moz-linear-gradient( - 90deg, - rgba(83, 53, 254, 0.8) 0%, - rgba(52, 50, 213, 0.8) 100% - ); - background-image: linear-gradient( - 90deg, - rgba(83, 53, 254, 0.8) 0%, - rgba(52, 50, 213, 0.8) 100% - ); + background-image: -webkit-linear-gradient(90deg, + rgba(83, 53, 254, 0.8) 0%, + rgba(52, 50, 213, 0.8) 100%); + background-image: -moz-linear-gradient(90deg, + rgba(83, 53, 254, 0.8) 0%, + rgba(52, 50, 213, 0.8) 100%); + background-image: linear-gradient(90deg, + rgba(83, 53, 254, 0.8) 0%, + rgba(52, 50, 213, 0.8) 100%); color: #fff; border-color: #fbecec; border-radius: 15px; @@ -744,17 +579,17 @@ font-size: 14px; } -.print-btn >>> span { +.print-btn>>>span { margin-left: 3px; font-size: 12px; } -.tracking-change-state-div >>> .tracking-btn-revoke { +.tracking-change-state-div>>>.tracking-btn-revoke { background: url('/img/workbench/icon_back.png') center center no-repeat; background-size: cover; } -.tracking-change-state-div >>> .tracking-btn-revoke:before { +.tracking-change-state-div>>>.tracking-btn-revoke:before { content: '鎾�'; font-size: 14px; visibility: hidden; @@ -778,13 +613,13 @@ align-items: center; } -.product-out-header >>> .tracking-btn-out { +.product-out-header>>>.tracking-btn-out { background: url('/img/workbench/icon_bgcc.png') center center no-repeat; background-size: cover; font-size: 14px; } -.product-out-header >>> .tracking-btn-out:before { +.product-out-header>>>.tracking-btn-out:before { content: '浜�'; font-size: 14px; visibility: hidden; @@ -806,7 +641,7 @@ font-size: 14px; } -.export-btn >>> span { +.export-btn>>>span { margin-left: 3px; font-size: 12px; } @@ -822,7 +657,7 @@ font-size: 14px; } -.out-btn >>> span { +.out-btn>>>span { margin-left: 3px; font-size: 12px; } @@ -838,7 +673,7 @@ font-size: 14px; } -.batch-out-btn >>> span { +.batch-out-btn>>>span { margin-left: 3px; font-size: 12px; } @@ -854,7 +689,7 @@ font-size: 14px; } -.submit-out-btn >>> span { +.submit-out-btn>>>span { margin-left: 3px; font-size: 12px; } @@ -870,7 +705,7 @@ font-size: 14px; } -.change-shift-out-btn >>> span { +.change-shift-out-btn>>>span { margin-left: 3px; font-size: 12px; } @@ -1020,6 +855,7 @@ getProductMainV1, batchUpdateProductMain, batchChange, + batchChangeCopy, batchCancelProductMain, productOutPutStateByMainId, getPrintUrl, @@ -1031,12 +867,15 @@ validateIsLastOperation, validateChangeProductOut, resetState, - updatePrintNum + updatePrintNum, + cancellationOfWorkApplication } from '@/api/product/personboard' import { batchLabelPrint, checkBatchLabelPrint, - batchLabelPrintTimes + batchLabelPrintTimes, + qualifiedLocation, + isProductionCounting } from '@/api/product/handymantype' import batchProductOutFormDialog from './batchproductout-form-new.vue' import { mapGetters } from 'vuex' @@ -1090,6 +929,7 @@ }, data() { return { + dialogVisible: false, showPrintSecretForm: false, printLabelType: null, printData: null, @@ -1097,7 +937,7 @@ { value: '01draft', label: '鑽夌' }, { value: '02submitted', label: '宸叉彁浜�' }, { value: '04processing', label: '澶勭悊涓�' }, - { value: '03changeshift', label: '浜ょ彮' } + // { value: '03changeshift', label: '浜ょ彮' } ], tableData: [], multipleSelection: [], @@ -1178,14 +1018,27 @@ warehousingPrintSingleRadio: false, warehousingSmalllPrintRadio: false, statusCheck: true, - selectOutputs: [] + selectOutputs: [], + isProductionCountingShow: false, + isTrue: false, + options: [], + locationIdValue: null, } }, - created() {}, + created() { + }, + updated() { this.isProductionCounting() }, computed: { ...mapGetters(['permissions', 'userInfo']) }, methods: { + isProductionCounting() { + isProductionCounting({ + taskId: this.currOperateTask.taskId + }).then(res => { + this.isProductionCountingShow = res.data + }) + }, cancelClose() { this.statusCheck = true }, @@ -3222,11 +3075,12 @@ }, saveList() { const list = JSON.parse(JSON.stringify(this.productOutputList)) + console.log(`output->list`, list) const data = [] list.forEach((el) => { if (el.isEdit) { var productVo = {} - productVo.id = el.id + productVo.id = el.outputId productVo.operationTaskId = this.currOperateTask.id productVo.workstationId = el.workstationId var productOuts = [] @@ -3235,7 +3089,9 @@ productOut.endMeterMark = el.endMeterMark productOut.productQty = el.productQty productOut.segmentDesc = el.segmentDesc + productOut.outBatchNo = el.outBatchNo productOut.scrapQty = el.scrapQty + productOut.wdr = el.wdr productOut.ifsBatchNo = el.ifsBatchNo productOut.reelNumber = el.reelNumber productOut.reelWeight = el.reelWeight @@ -3252,64 +3108,58 @@ validateOverProduction(data).then((response) => { const resData = response.data if (resData.code === 0) { - if (resData.data.success) { - validateOverFeed(data) - .then((resp) => { - const respData = resp.data - if (respData.code == 0) { - if (respData.data.success) { - batchUpdateProductMain(data).then((res) => { - this.$message.success('缂栬緫鎴愬姛') - this.editShow = false - this.getBatchReport(3) - }) - } else { - // 鎶曟枡涓嶈冻锛屾彁绀轰汉宸ラ�夋嫨 - // respData.data.message - let confirmInfo = '' - const confirmMessage = respData.data.message - confirmMessage.forEach((item) => { - confirmInfo = confirmInfo + item + ';<br>' - }) - this.$confirm( - confirmInfo + - '<span style="color:red;">鏄惁缁х画鎶ュ伐?</span>', - '鎻愮ず', - { - confirmButtonText: '纭畾', - cancelButtonText: '鍙栨秷', - type: 'warning', - customClass: 'validate-over-feed-message', - dangerouslyUseHTMLString: true, - closeOnClickModal: false - } - ) - .then(() => { - batchUpdateProductMain(data).then((res) => { - this.$message.success('缂栬緫鎴愬姛') - this.editShow = false - this.getBatchReport(3) - }) - }) - .catch(() => { - this.$message({ - type: 'info', - message: '宸插彇娑堟姤宸�' - }) - }) - } + validateOverFeed(data) + .then((resp) => { + const respData = resp.data + if (respData.code == 0) { + if (respData.data.success) { + batchUpdateProductMain(data).then((res) => { + this.$message.success('缂栬緫鎴愬姛') + this.editShow = false + this.getBatchReport(3) + }) } else { - this.$message.error('鎶曟枡鏄惁鍏呰冻鏍¢獙澶辫触') + // 鎶曟枡涓嶈冻锛屾彁绀轰汉宸ラ�夋嫨 + // respData.data.message + let confirmInfo = '' + const confirmMessage = respData.data.message + confirmMessage.forEach((item) => { + confirmInfo = confirmInfo + item + ';<br>' + }) + this.$confirm( + confirmInfo + + '<span style="color:red;">鏄惁缁х画鎶ュ伐?</span>', + '鎻愮ず', + { + confirmButtonText: '纭畾', + cancelButtonText: '鍙栨秷', + type: 'warning', + customClass: 'validate-over-feed-message', + dangerouslyUseHTMLString: true, + closeOnClickModal: false + } + ) + .then(() => { + batchUpdateProductMain(data).then((res) => { + this.$message.success('缂栬緫鎴愬姛') + this.editShow = false + this.getBatchReport(3) + }) + }) + .catch(() => { + this.$message({ + type: 'info', + message: '宸插彇娑堟姤宸�' + }) + }) } - }) - .catch((error) => { - console.log('澶辫触' + new Date().getTime()) - }) - } else { - this.tipeInfo = resData.data.message - this.showTaskSecretForm = true - this.confirmList = data - } + } else { + this.$message.error('鎶曟枡鏄惁鍏呰冻鏍¢獙澶辫触') + } + }) + .catch((error) => { + console.log('澶辫触' + new Date().getTime()) + }) } else { this.$message.error('宸ュ崟鏁伴噺鏍¢獙澶辫触') } @@ -3319,6 +3169,7 @@ // 鍙栨秷缂栬緫 cancelSaveList() { this.editShow = false + this.getBatchReport(2) this.productOutputList.forEach((element) => { if (element.isEdit) { element.isEdit = false @@ -3338,6 +3189,10 @@ this.paramObject ) const _that = this + /* if (!this.isProductionCountingShow) { + this.$message.error('褰撳墠宸ュ崟鏃犻渶鎶ュ伐鎿嶄綔') + return + } */ getProductMainV1(obj).then((res) => { _that.productOutputList = res.data.data.records // console.log(_that.productOutputList) @@ -3407,122 +3262,145 @@ // 鎻愪氦鎶ュ憡 submitList() { if (this.multipleSelection.length > 0) { - if (this.multipleSelection.length > 10) { - this.$message.error('鏈�澶氬彧鑳介�夋嫨10鏉¤褰曡繘琛屾彁浜わ紒') + if (this.multipleSelection.length > 1) { + this.$message.error('鏈�澶氬彧鑳介�夋嫨1鏉¤褰曡繘琛屾彁浜わ紒') return false - } - const list = this.multipleSelection - if (this.getFlag(list)) { - this.submitLoading = true - var event = 'SUBMIT' - var submitSize = 0 - let successSize = 0 - const errorMsg = '' - var toProcessIds = [] - list.forEach((ele) => { - toProcessIds.push(ele.id) + } else { + qualifiedLocation(this.multipleSelection[0].workstationId).then(res => { + this.options = res.data.data + if (this.options.length > 1) { + this.dialogVisible = true + } else { + this.locationIdValue = this.options[0].id + this.submitListApi() + } }) - // 1銆佺姸鎬佹敼鎴愯繘琛屼腑 - productProcessState(toProcessIds, event) - .then((response) => { - // 鍒ゆ柇鏄惁鎼哄甫鎵撳嵃 - if (this.batchPrintRadio) { - this.statusCheck = false - this.batchPrint() - } else if (this.batchSmallPrintRadio) { - this.statusCheck = false - this.batchSmallPrint() - } else if (this.warehousingPrintSingleRadio) { - this.statusCheck = false - this.warehousingPrintSingle() - } else if (this.warehousingSmalllPrintRadio) { - this.statusCheck = false - this.warehousingSmalllPrint() - } - this.submitLoading = false - this.$message.success('鎻愪氦鎴愬姛锛屽埛鏂版煡鐪嬫彁浜ょ粨鏋�') - this.getBatchReport(5) - // 2銆佸鐞嗘彁浜� - list.forEach((ele) => { - var outIds = [] - outIds.push(ele.id) - batchChange(outIds, event) - .then((response) => { - successSize++ - submitSize++ - if (submitSize === list.length) { - // this.submitLoading = false - // if (successSize === list.length) { - // this.$message.success('鎻愪氦鎴愬姛') - // } else { - // this.$message.error(errorMsg + '鎻愪氦澶辫触') - // } - // this.getBatchReport(5) - } - if ( - this.batchPrintRadio || - this.batchSmallPrintRadio || - this.warehousingPrintSingleRadio || - this.warehousingSmalllPrintRadio - ) { - updatePrintNum({ ids: [ele.outputId] }).then( - (response) => { - this.getBatchReport(7) - } - ) - } - }) - .catch(() => { - // errorMsg = errorMsg + ele.outBatchNo + ';' - // submitSize++ - // console.log('submitSize', submitSize) - // this.submitLoading = false - // console.log('successSize', successSize) - // console.log('瓒呮椂......', error) - // if (submitSize === list.length) { - // console.log('submitSizeFinal', submitSize) - // this.submitLoading = false - // console.log('successSizeFinal', successSize) - // if (successSize === 0) { - // this.$message.error('澶勭悊澶辫触') - // } else { - // this.$message.error(errorMsg + '澶勭悊澶辫触') - // } - // this.getBatchReport(5) - // } - if ( - this.batchPrintRadio || - this.batchSmallPrintRadio || - this.warehousingPrintSingleRadio || - this.warehousingSmalllPrintRadio - ) { - updatePrintNum({ ids: [ele.outputId] }).then( - (response) => { - this.getBatchReport(7) - } - ) - } - }) - }) - }) - .catch((error) => {}) - - // this.submitLoading = false; - // this.$message.success('鎻愪氦鎴愬姛'); - // this.getBatchReport(5); - // var outIds = list.map((ele) => { - // return ele.id - // }) - // batchChange(outIds, event) - // .then((response) => { - // this.submitLoading = false; - // this.$message.success('鎻愪氦鎴愬姛') - // this.getBatchReport(5) - // }) - // .catch((error) => {}) } } else { this.$message.error('璇烽�夋嫨闇�瑕佹彁浜ょ殑瀵硅薄') + } + }, + clickSureSubmit() { + this.dialogVisible = false + this.submitListApi() + }, + submitListApi() { + const list = this.multipleSelection + if (this.getFlag(list)) { + this.submitLoading = true + var event = 'SUBMIT' + var submitSize = 0 + let successSize = 0 + const errorMsg = '' + var toProcessIds = [] + list.forEach((ele) => { + toProcessIds.push(ele.id) + }) + // 1銆佺姸鎬佹敼鎴愯繘琛屼腑 + productProcessState(toProcessIds, event) + .then((response) => { + // 鍒ゆ柇鏄惁鎼哄甫鎵撳嵃 + if (this.batchPrintRadio) { + this.statusCheck = false + this.batchPrint() + } else if (this.batchSmallPrintRadio) { + this.statusCheck = false + this.batchSmallPrint() + } else if (this.warehousingPrintSingleRadio) { + this.statusCheck = false + this.warehousingPrintSingle() + } else if (this.warehousingSmalllPrintRadio) { + this.statusCheck = false + this.warehousingSmalllPrint() + } + this.submitLoading = false + this.$message.success('鎻愪氦鎴愬姛锛屽埛鏂版煡鐪嬫彁浜ょ粨鏋�') + this.getBatchReport(5) + // 2銆佸鐞嗘彁浜� + list.forEach((ele) => { + var outIds = [] + outIds.push(ele.id) + const qury = Object.assign({ + ids: outIds, + locationId: this.locationIdValue, + outputId: this.multipleSelection[0].outputId + }) + batchChangeCopy(qury, event) + .then((response) => { + this.locationIdValue = null + this.isTrue = false + successSize++ + submitSize++ + if (submitSize === list.length) { + // this.submitLoading = false + // if (successSize === list.length) { + // this.$message.success('鎻愪氦鎴愬姛') + // } else { + // this.$message.error(errorMsg + '鎻愪氦澶辫触') + // } + // this.getBatchReport(5) + } + if ( + this.batchPrintRadio || + this.batchSmallPrintRadio || + this.warehousingPrintSingleRadio || + this.warehousingSmalllPrintRadio + ) { + updatePrintNum({ ids: [ele.outputId] }).then( + (response) => { + this.getBatchReport(7) + } + ) + } + }) + .catch(() => { + // errorMsg = errorMsg + ele.outBatchNo + ';' + // submitSize++ + // console.log('submitSize', submitSize) + // this.submitLoading = false + // console.log('successSize', successSize) + // console.log('瓒呮椂......', error) + // if (submitSize === list.length) { + // console.log('submitSizeFinal', submitSize) + // this.submitLoading = false + // console.log('successSizeFinal', successSize) + // if (successSize === 0) { + // this.$message.error('澶勭悊澶辫触') + // } else { + // this.$message.error(errorMsg + '澶勭悊澶辫触') + // } + // this.getBatchReport(5) + // } + if ( + this.batchPrintRadio || + this.batchSmallPrintRadio || + this.warehousingPrintSingleRadio || + this.warehousingSmalllPrintRadio + ) { + updatePrintNum({ ids: [ele.outputId] }).then( + (response) => { + this.getBatchReport(7) + } + ) + } + }) + }) + }) + .catch((error) => { }) + + // this.submitLoading = false; + // this.$message.success('鎻愪氦鎴愬姛'); + // this.getBatchReport(5); + // var outIds = list.map((ele) => { + // return ele.id + // }) + // batchChange(outIds, event) + // .then((response) => { + // this.submitLoading = false; + // this.$message.success('鎻愪氦鎴愬姛') + // this.getBatchReport(5) + // }) + // .catch((error) => {}) } }, // 鎾ら攢鎶ュ憡 @@ -3539,7 +3417,9 @@ var outIds = list.map((ele) => { return ele.id }) - batchChange(outIds, event) + cancellationOfWorkApplication({ + mainId: outIds[0] + }) .then((response) => { this.removeLoading = false this.$message.success('鎾ら攢鎴愬姛') diff --git a/src/views/quality/finishedProductInspection/finishedProduct-form.vue b/src/views/quality/finishedProductInspection/finishedProduct-form.vue index 72a20c6..a09ed00 100644 --- a/src/views/quality/finishedProductInspection/finishedProduct-form.vue +++ b/src/views/quality/finishedProductInspection/finishedProduct-form.vue @@ -8,7 +8,7 @@ <h2 v-else>缂栬緫-浜у搧妫�楠屽崟</h2> </div> <div class="btn-group header-right"> - <el-button @click="addTestProject" type="primary" v-if="processInspectVo.id==null">鐢熸垚妫�楠岄」鐩�</el-button> + <el-button @click="addTestProject" v-if="processInspectVo.id==null">鐢熸垚妫�楠岄」鐩�</el-button> </div> </div> <div class="page-main"> @@ -134,7 +134,7 @@ </div> </template> </el-table-column> - <el-table-column prop="inspectionValue" :key="index" + <el-table-column prop="inspectionValue" :key="index" label="妫�楠屾弿杩�" width="240" style="text-align: center;"> <template slot-scope="scope"> <el-col v-if="scope.row.itype === '1'"> @@ -276,7 +276,7 @@ this.init() }, methods: { - + submitSave(){ let pro = 0 this.inspectionItems.forEach(item => { @@ -390,15 +390,26 @@ }) }, updateDevice(row,index){ - updateDeviceById({deviceId:row.eId,fpid:row.iId}).then(res=>{ + let rowId=JSON.stringify(row.iid) + console.log(row); + updateDeviceById({deviceId:row.eId,fpid:row.iid}).then(res=>{ this.inspectionItems.forEach(obj=>{ - if(obj.children){ - obj.children[index-1].inspectionValue = '' - obj.children[index-1].iresult = null - obj.children[index-1].empiricalValueAddss = [] - obj.children[index-1].inote='' + obj.children.forEach(c=>{ + if(c.iid==rowId){ + c.inspectionValue = null + c.iresult = null + c.empiricalValueAddss = [] + c.inote='' + } + }) - } + // if(obj.children){ + // obj.children[index-1].inspectionValue = '' + // obj.children[index-1].iresult = null + // obj.children[index-1].empiricalValueAddss = [] + // obj.children[index-1].inote='' + + // } }) }).catch(error=>{ console.log(error) diff --git a/src/views/quality/finishedProductInspection/finishedProducter-print.vue b/src/views/quality/finishedProductInspection/finishedProducter-print.vue new file mode 100644 index 0000000..fd826ba --- /dev/null +++ b/src/views/quality/finishedProductInspection/finishedProducter-print.vue @@ -0,0 +1,1668 @@ +<template> + <div id="20230721_24921" align=center x:publishsource="Excel" style="margin-top: 20pt;"> + <table border=0 cellpadding=0 cellspacing=0 width=1194 style='border-collapse:collapse;table-layout:fixed;width:607pt'> + <tr class=xl6524921 height=20 style='mso-height-source:userset;height:30.0pt'> + <td colspan=3 rowspan=2 height=40 width=122 style='width:150pt;border: 1pt solid windowtext'> + <span style='mso-ignore:vglayout;margin-left:12px;margin-top:14px;width:104px;height:42px'> + <img width=174 height=58 src="../../../../public/img/image001.jpg"> + </span> + </td> + <td colspan=6 class=xl6624921 width=399 style='border-right:.5pt solid black;border-left:none;width:250pt'>璁板綍鍚嶇О:杩炴帴鍣ㄥ強鎴愬搧妫�楠岃褰曡〃</td> + <td colspan=3 class=xl6624921 width=226 style='border-left:none;width: 150pt'>淇濆瓨鏈熼檺:25骞�</td> + <td rowspan=2 colspan=3 class=xl6824921 width=235 style='width:126pt' >鐗堟湰鍙�: A/0</td> + </tr> + <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'> + <td colspan=6 height=33 class=xl6624921 style='border-right:.5pt solid black; + height:25.05pt;border-left:none'>璁板綍缂栧彿:ZTT/QR-8.6-05锛圓/0)</td> + <td colspan=3 class=xl6624921 style='border-top:none;border-left:none'>褰掓。閮ㄩ棬:璐ㄩ噺淇濊瘉閮�</td> + <td colspan=2 class=xl6824921 style='border-top:none'></td> + </tr> + <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'> + <td colspan=16 height=33 class=xl7424921 width=1194 style='height:25.05pt; + width:897pt'>杩炴帴鍣ㄥ強鎴愬搧妫�楠岃褰曡〃</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>椤圭洰鍚嶇О:</td> + <td colspan=5 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>銆� + <p class="MsoNormal" align="center" style="text-align:center"> + <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="deviceStr"></span></p> + </td> + <td colspan=2 class=xl6924921 style='border-top:none;border-left:none'>妫�楠屼緷鎹�:</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> +銆� </td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>浜у搧鍚嶇О:</td> + <td colspan=4 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> + <p class="MsoNormal" align="center" style="text-align:center"> + <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="product"></span></p> + </td> + <td colspan=2 class=xl6924921 style='border-top:none;border-left:none'>浜у搧鍨嬪彿:</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> + <p class="MsoNormal" align="center" style="text-align:center"> + <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="typedata"></span></p> + </td> + <td colspan=2 class=xl6924921 style='border-top:none;border-left:none'>浜у搧鏁伴噺:</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> + <p class="MsoNormal" align="center" style="text-align:center"> + <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="number"></span></p> + </td> + </tr> + + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>妫�楠屽唴瀹�:</td> + <td colspan=14 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>妫�楠岀粨鏋�</td> + </tr> + + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>閫氭柇/绾垮簭</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>閫氭柇: 鈻″悎鏍� 鈻′笉鍚堟牸</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; +border-left:none'>绾垮簭: 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>缁濈紭鐢甸樆鈮�</p><p>______00M惟</p><p>_____00VDC</p></td> + <td colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>娴嬭瘯缁�</p><p>鏋滄渶灏�</p><p>鍊�</p></td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td> + <td colspan=3 rowspan="3" class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>鈻″悎鏍�</p><p>鈻′笉鍚堟牸</p></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=9 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>閫氭柇/绾垮簭</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>1600VCD, lmin: 鈻″悎鏍� 鈻′笉鍚堟牸</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; +border-left:none'>2200VCD, lmin: 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>4500VCD, lmin: 鈻″悎鏍� 鈻′笉鍚堟牸</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; +border-left:none'>00VCD, min: 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=4 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>閫氫俊</p><p>( 1 鎴� 2)</p></td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>1</td> + <td colspan=9 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>绗﹀悎TIA Cat 5e Channel鏍囧噯锛� 鈻″悎鏍� 鈻′笉鍚堟牸</td> + <td colspan=3 rowspan="4" class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>鈻″悎鏍�</p><p>鈻′笉鍚堟牸</p></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>2</td> + <td colspan=9 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>鍗冨厗缃戦�氫俊娴嬭瘯閫熺巼鈮�800Mbps/鐧惧厗缃戦�氫俊娴嬭瘯閫熺巼鈮�80Mbps</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>鎻掑叆鎹熻�椻墹</p> <p> _________dB</p><p>鈻�1310,鈻�1550</p></td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + <td colspan=3 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>鈻″悎鏍�</p><p>鈻′笉鍚堟牸</p></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>鍥炴尝鎹熻�椻墹</p> <p> _________dB</p><p>鈻�1310,鈻�1550</p></td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + <td colspan=3 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>鈻″悎鏍�</p><p>鈻′笉鍚堟牸</p></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>姘斿瘑鎬�</td> + <td colspan=14 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>鎻掑骇锛�0.3MPa@60s锛夛細 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>姘村瘑鎬�</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>15MPa淇濆帇10min, 2娆� 鈻″悎鏍� 鈻′笉鍚堟牸</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 36MPa淇濆帇2h, 2娆� 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>36MPa淇濆帇10min, 2娆� 鈻″悎鏍� 鈻′笉鍚堟牸</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 75MPa淇濆帇2h, 2娆� 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>MPa淇濆帇 min, 2娆� 鈻″悎鏍� 鈻′笉鍚堟牸</td> + <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> MPa淇濆帇 h, 2娆� 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>姘村帇鍚庨�氭柇</td> + <td colspan=14 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>姘村帇鍚庣粷缂樼數闃�</p><p>(瑕佹眰鍚屼笂)</p></td> + <td colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>娴嬭瘯鍊�</p><p>缁撴灉鏈�灏忓��</p></td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>鈻″悎鏍�</p><p>鈻′笉鍚堟牸</p></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=9 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>澶栬妫�鏌�</td> + <td colspan=14 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>鐢电紗闀垮害(m)</p><p>鎴栧绾块暱搴�(cm)</p></td> + <td colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>娴嬭瘯缁撴灉</p><p>鍋忓樊鏈�澶у��</p></td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>鈻″悎鏍�</p><p>鈻′笉鍚堟牸</p></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=9 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>鎻掗拡楂樹綆钀藉樊</p><p>鈮�0.6mm</p></td> + <td colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>娴嬭瘯缁撴灉</p><p>鍋忓樊鏈�澶у��</p></td> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'>浜у搧_</td> + <td colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'><p>鈻″悎鏍�</p><p>鈻′笉鍚堟牸</p></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td><td colspan=1 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=9 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>鐢电紗寮洸鍗婂緞</td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 瑕佹眰</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 瀹炴祴</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'></td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=16 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>鍙戣揣</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>浜у搧鍨嬪彿鏍稿</td> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>涓庤绠辨竻鍗曞瀷鍙蜂竴鑷�:</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>浜у搧鏁伴噺娓呯偣</td> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>涓庤绠辨竻鍗曟暟閲忎竴鑷�:</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>浜у搧鍞涘ご妫�鏌�</td> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>涓庤绠辨竻鍗曞唴瀹逛竴鑷�,绮樿创涓庢樉鐪间綅缃�,娌℃湁鎹熷潖:</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=2 rowspan=6 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>浜у搧鍖呰妫�鏌�</td> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>鍚屼竴鍨嬪彿浜у搧鍗曠嫭鍖呰:</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>杩炲附棰滆壊涓庢枃浠惰姹備竴鑷�</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>绾哥浣跨敤閫忔槑鑳跺甫鎴栨媺浼歌啘瑁圭揣</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr><tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'>鏈ㄧ鍐呴儴蹇呴』鍨ソ娉℃搏绾�,閽夌揣鏈ㄧ,閽㈠甫鎵庣揣</td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr><tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>浣跨敤鐝嶇彔妫夋澘鍥哄畾鎻掑ご銆佹彃搴т綅缃紝鍥哄畾鎻掑骇灏剧嚎浣嶇疆</p> <p>鐢ㄦ媺绁炶啘灏嗕骇鍝佸浐瀹氬湪鐝嶇彔闈㈡澘鍐�</p></td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=10 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt'><p>鍙戝嚭浜у搧涓嶅緱鍑虹幇浠讳綍褰㈠紡鐨勪緵搴斿晢淇℃伅锛屽寘鎷紗鐩樹笂鐨勬爣绛俱�佺數缂�</p><p>涓婁緵搴斿晢鍚嶇О绛�</p></td> + <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; + border-left:none'> 鈻″悎鏍� 鈻′笉鍚堟牸</td> + </tr> + <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <td colspan=8 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt;text-align: left;'><p> 妫�楠�/鏃堕棿:</p></td> + <td colspan=8 height=53 class=xl7624921 style='border-right:.5pt solid black; + height:40.05pt;text-align: left;'><p> 瀹℃壒:</p></td> + </tr> + + <tr height=0 style='display:none'> + <td width=64 style='width:48pt'></td> + <td width=58 style='width:44pt'></td> + <td width=137 style='width:103pt'></td> + <td width=262 style='width:197pt'></td> + <td width=212 style='width:159pt'></td> + <td width=226 style='width:170pt'></td> + <td width=235 style='width:176pt'></td> + </tr> + </table> + </div> +</template> + +<script> +export default { + props:{ + formData:{ + type: Object, + default:()=>{ + return {} + } + } + }, + data(){ + return{ + tableData: null, + projectList: [], + deviceStr: null, + product:null, + number:null, + typedata:null, + childrenData: [], + typedata:null, + num:null, + } + }, + created(){ + this.tableData = this.formData + console.log("============",this.tableData) + this.initData() + // this.initProjectList(this.projectList) + }, + methods:{ + initData(){ + this.deviceStr = this.tableData.projectName + this.product = this.tableData.material + this.number = this.tableData.quantity + this.typedata = this.tableData.specs + }, + }, + watch:{ + formData(newVal){ + if(newVal){ + this.projectList = [] + console.log(newVal) + this.tableData = newVal + this.initData() + // this.initProjectList(this.projectList) + } + } + }, +} +</script> + +<style scoped> +table{ + mso-displayed-decimal-separator: "\."; + mso-displayed-thousand-separator: "\,"; +} + +.xl6524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 10.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl6624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl6724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl6824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl6924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl7124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: top; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl7224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: top; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl7324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7424921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 14.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl7524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 14.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl7924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl8024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl8124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl8224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl8324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8424921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl8924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl9024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: none; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl9424921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: top; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: top; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl9924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: top; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl10024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl10124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl10224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: general; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 700; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: left; + vertical-align: middle; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10424921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: none; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10524921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10624921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10724921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: nowrap; +} + +.xl10824921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: none; + border-bottom: none; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl10924921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: .5pt solid windowtext; + border-right: .5pt solid windowtext; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl11024921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: none; + border-bottom: none; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl11124921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: .5pt solid windowtext; + border-bottom: none; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl11224921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: none; + border-bottom: .5pt solid windowtext; + border-left: .5pt solid windowtext; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +.xl11324921 { + padding: 0px; + mso-ignore: padding; + color: black; + font-size: 12.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-number-format: General; + text-align: center; + vertical-align: middle; + border-top: none; + border-right: .5pt solid windowtext; + border-bottom: .5pt solid windowtext; + border-left: none; + mso-background-source: auto; + mso-pattern: auto; + white-space: normal; +} + +ruby { + ruby-align: left; +} + +rt { + color: windowtext; + font-size: 9.0pt; + font-weight: 400; + font-style: normal; + text-decoration: none; + font-family: 瀹嬩綋; + mso-generic-font-family: auto; + mso-font-charset: 134; + mso-char-type: none; +} +</style> \ No newline at end of file diff --git a/src/views/quality/finishedProductInspection/index.vue b/src/views/quality/finishedProductInspection/index.vue index 3206e04..def20b0 100644 --- a/src/views/quality/finishedProductInspection/index.vue +++ b/src/views/quality/finishedProductInspection/index.vue @@ -16,7 +16,7 @@ top="10vh" title="鎵撳嵃棰勮" :visible.sync="printDialogVisible" - width="65%"> + width="70%"> <div style="width:100%;height: 60vh;overflow-y: scroll;"> <printTemplate id="printRaw" :formData="printFormData"></printTemplate> </div> @@ -35,7 +35,7 @@ import finishedProductInspectionAdd from './finishedProduct-form' import { page,deletePro,exportExaminationProducts,queryById } from '@/api/quality/finishedProduct' import { transform } from '@/util/fileTransform' - import printTemplate from './finishedProduct-print.vue' + import printTemplate from './finishedProducter-print.vue' import PrintJS from 'print-js' export default { components: { @@ -210,17 +210,7 @@ } }, methods: { - //鏌ョ湅鎶ュ憡鎸夐挳 - // showPrint(row){ - // queryById(row.id).then(res=>{ - // console.log(res); - // this.printFormData = res.data.data - // this.printDialogVisible = true - // }) - // .catch(error=>{ - // console.log(error); - // }) - // }, + //鎵撳嵃鎸夐挳 printFun() { this.printDialogVisible = false; @@ -234,7 +224,9 @@ orientation: 'portrait' }); }, + //鏌ョ湅鎶ュ憡鎸夐挳 showPrint(row){ + console.log('----------'); queryById(row.id).then(res=>{ this.printFormData = res.data.data this.printDialogVisible = true diff --git a/src/views/quality/rawMaterial/rawMaterial-form.vue b/src/views/quality/rawMaterial/rawMaterial-form.vue index 6fd3a62..7b80424 100644 --- a/src/views/quality/rawMaterial/rawMaterial-form.vue +++ b/src/views/quality/rawMaterial/rawMaterial-form.vue @@ -39,7 +39,7 @@ </el-col> <el-col :span="6"> <el-form-item prop="formTime" label="鏉ユ枡鏃ユ湡"> - <el-date-picker + <el-date-picker style="width:100%" v-model="dataForm.formTime" type="datetime" @@ -98,7 +98,7 @@ </div> - + <div class="rawMaterial-detail"> <el-row style="width:100%;z-index: 10;height:50px;"> <el-col :span="18">妫�楠岄」鐩�</el-col> @@ -114,16 +114,16 @@ </el-row> <el-row style="width:100%;"> <el-col :span="24"> - <el-table - :header-cell-style="{textAlign:'center',color:'black',backgroundColor:'#fafafa'}" + <el-table + :header-cell-style="{textAlign:'center',color:'black',backgroundColor:'#fafafa'}" :cell-style="{textAlign:'center'}" ref="table" - :data="list" - border + :data="list" + border style="width: 100%;" height="400" - row-key="iid" - default-expand-all + row-key="iid" + default-expand-all :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> <el-table-column type="index" label="搴忓彿" width="60"> </el-table-column> @@ -146,7 +146,7 @@ <el-input :disabled="dataForm.id != null" v-model="scope.row.unit" placeholder="璇疯緭鍏ュ崟浣�"></el-input> </div> </template> - + </el-table-column> <el-table-column prop="required" label="鏍囧噯鍊�" width="260"> <template slot-scope="scope"> @@ -174,9 +174,9 @@ <el-table-column prop="deviceName" label="璇曢獙璁惧" min-width="260"> <template slot-scope="scope"> <div v-if="!scope.row.children"> - <el-select :disabled="dataForm!=null && resultVal!=null" style="width:100%" + <el-select :disabled="dataForm!=null && resultVal!=null" style="width:100%" v-model="scope.row.deviceId" filterable @change="updateDevice(scope.row,scope.$index)"> - <el-option v-for="(item,index) in deviceList" + <el-option v-for="(item,index) in deviceList" :key="index" :value="item.id" :label="item.code +'-'+ item.name"></el-option> </el-select> </div> @@ -211,7 +211,7 @@ </el-col> </el-row> </div> - + <div class="rawMaterial-result"> <el-row> @@ -220,7 +220,7 @@ <el-row style="width:100%"> <el-col :span="24"> <el-table border height="90" :data="conclusionTable" ref="conclusion" v-model="conclusion" - :header-cell-style="{textAlign:'center',color:'black',backgroundColor:'#fafafa'}" + :header-cell-style="{textAlign:'center',color:'black',backgroundColor:'#fafafa'}" :cell-style="{textAlign:'center'}"> <el-table-column prop="code" label="鐗╂枡缂栧彿"></el-table-column> <el-table-column prop="name" label="鐗╂枡鍚嶇О"></el-table-column> @@ -261,7 +261,7 @@ </template> <script> -import { +import { selectDevice, addRawInspects, getObj, @@ -358,7 +358,6 @@ }, // 纭鍥炶皟 selectPart(param, nodePart, index) { - console.log(param) if (typeof param !== 'undefined') { this.dataForm.code = param.code this.dataForm.name = param.name @@ -400,7 +399,7 @@ console.log(error) }) }, - + // updateDevice(row,index){ // if(this.dataForm.id != null){ // updateDeviceById({deviceId:row.deviceId,rpId:row.rpId}).then(res=>{ @@ -528,8 +527,8 @@ updateTestValue(row,index){ console.log(row); if(row.rpId == null){ - - + + return } let val = row.testValueList.join(","); @@ -550,7 +549,7 @@ this.$message.error(error) }) }, - + init(){ if(this.dataForm.id){ @@ -582,11 +581,11 @@ userNameList.push(obj.userName) } let arr= [] - + if(obj.testValue){ arr = obj.testValue.split(",") } - + let o = { deviceId: obj.deviceId, deviceName: obj.deviceName, @@ -605,7 +604,7 @@ }) this.list.push(ele) } - }) + }) this.conclusionTable = [{ code: data.code, name: data.name, @@ -626,7 +625,7 @@ row.testValueList.forEach(e => { val += e + "," }) - + // if (note === undefined || note === '' || note === null) { // return // } @@ -636,7 +635,7 @@ return } - + let obj = { deviceId: row.deviceId, rpId: row.rpId, @@ -695,7 +694,21 @@ row.children.push(obj) }, save(){ + let data = this.dataForm + console.log('--------',data); + console.log("-----",this.list); + this.list.forEach(item=>{ + item.children.forEach(c=>{ + let arr=c.testValueList + let val='' + arr.forEach(a=>{ + val+=a+"," + }) + let end=val.substring(0,val.length-1) + c.testValue=end + }) + }) data.rawInsProducts = this.list addRawInspects(data).then(res=>{ this.$message.success("淇濆瓨鎴愬姛") diff --git a/vue.config.js b/vue.config.js index e73dd2f..733109c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -2,9 +2,8 @@ * 閰嶇疆鍙傝��: * https://cli.vuejs.org/zh/config/ */ -// const url = 'http://192.168.0.23:9999' -// const url = 'http://192.168.0.51:9999' -const url = 'http://192.168.0.23:9999' +const url = 'http://localhost:9999' +// const url = 'http://ztt-gateway:9999' // const url = 'http://ztt-gateway:9999' const localUrl = 'http://localhost:8089' //const localUrl = 'http://10.88.15.95:8089' -- Gitblit v1.9.3