Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
| | |
| | | |
| | | export function list(query) { |
| | | return request({ |
| | | url: '/mes//qualityPackageBoxDetail/list', |
| | | url: '/mes/qualityPackageBoxDetail/list', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | export function selById(query) { |
| | | return request({ |
| | | url: '/mes/qualityPackageBox/selById', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | export function customerpage(query) { |
| | | return request({ |
| | | url: '/mes/customer/page', |
| | |
| | | copyright: 'Copyright © 2021 chinaztt.com. All rights reserved.', |
| | | isFirstPage: true, // é
ç½®é¦é¡µä¸å¯å
³é |
| | | key: 'ztt', // é
置主é®,ç®åç¨äºåå¨ |
| | | whiteList: ['/login', '/404', '/401', '/lock'], // é
ç½®æ æéå¯ä»¥è®¿é®çé¡µé¢ |
| | | whiteTagList: ['/login', '/404', '/401', '/lock'], // é
ç½®ä¸æ·»å tagsé¡µé¢ ï¼'/advanced-router/mutative-detail/*'ââ*为éé
ç¬¦ï¼ |
| | | whiteList: ['/login', '/404', '/401', '/lock','/pack'], // é
ç½®æ æéå¯ä»¥è®¿é®çé¡µé¢ |
| | | whiteTagList: ['/login', '/404', '/401', '/lock','/pack'], // é
ç½®ä¸æ·»å tagsé¡µé¢ ï¼'/advanced-router/mutative-detail/*'ââ*为éé
ç¬¦ï¼ |
| | | fistPage: { |
| | | label: 'é¦é¡µ', |
| | | value: '/wel/index', |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div > |
| | | <el-card class="box-card" v-for="(el,item) in testStandardParams" > |
| | | <div> |
| | | <el-form :model="el" label-width="80px"> |
| | | <el-form-item label="åºå·:"> |
| | | {{ item + 1 }} |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form :model="el" label-width="80px"> |
| | | <el-form-item label="产å:"> |
| | | {{ el.product }} |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form :model="el" label-width="80px"> |
| | | <el-form-item label="产åç¼å·ï¼"> |
| | | {{ el.productNo }} |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form :model="el" label-width="80px"> |
| | | <el-form-item label="æ¹æ¬¡å·ï¼"> |
| | | {{ el.outBatchNo }} |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form :model="el" label-width="80px"> |
| | | <el-form-item label="è§æ ¼åå·ï¼"> |
| | | {{ el.specs }} |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form :model="el" label-width="80px"> |
| | | <el-form-item label="åä½ï¼"> |
| | | {{ el.unit }} |
| | | </el-form-item> |
| | | </el-form> |
| | | <el-form :model="el" label-width="80px"> |
| | | <el-form-item label="æ°éï¼"> |
| | | {{ el.number }} |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import {selById} from '@/api/quality/Packaging_ledger' |
| | | |
| | | export default{ |
| | | data(){ |
| | | return{ |
| | | testStandardParams:[] |
| | | } |
| | | }, |
| | | created() { |
| | | let aa = this.$route.query |
| | | console.log(this.$route.query,"id"); |
| | | this.chuaxun(aa) |
| | | }, |
| | | methods: { |
| | | chuaxun(aa){ |
| | | selById({id:aa.id}).then((res) =>{ |
| | | this.testStandardParams = res.data.data |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | |
| | | </script> |
| | | |
| | | <style> |
| | | .box-card{ |
| | | margin: 20px; |
| | | border-radius: 40px; |
| | | } |
| | | .inputDeep { |
| | | |
| | | } |
| | | </style> |
| | |
| | | router.beforeEach((to, from, next) => { |
| | | NProgress.start(); |
| | | const meta = to.meta || {}; |
| | | const whiteList = ['/login', '/404', '/401', '/lock','/pack'] |
| | | if (store.getters.access_token) { |
| | | if (store.getters.isLock && to.path !== '/lock') { |
| | | next({ path: '/lock' }); |
| | |
| | | // 页é¢å¤å¼ï¼è½½å
¥localStorageçauthåæ° By Luxn |
| | | let auth = JSON.parse(localStorage.getItem("authorization") || "{}"); |
| | | if ( meta.isAuth === false) { |
| | | next(); |
| | | //没ætokençæ
åµ |
| | | if (whiteList.indexOf(to.path) !== -1) { |
| | | // 妿å¨ç½ååå
åç´æ¥è·³è½¬ |
| | | next() |
| | | } else { |
| | | // å
¶ä½é¡µé¢éå®åå°ç»å½é¡µ |
| | | next('/login') |
| | | } |
| | | // next(); |
| | | }else{ |
| | | if (auth.date_time) { |
| | | let key = ["access_token", "refresh_token", "expires_in", "user_info", "language"]; |
| | |
| | | }else{ |
| | | next('/login'); |
| | | } |
| | | |
| | | } |
| | | } |
| | | }) |
| | |
| | | |
| | | export default [ |
| | | { |
| | | path: '/pack', |
| | | name: 'å
è£
详æ
', |
| | | component: () => import(/* webpackChunkName: "page" */ '@/page/PackingLedgerDetails/index'), |
| | | meta: { |
| | | keepAlive: true, |
| | | isTab: false, |
| | | isAuth: false |
| | | } |
| | | }, |
| | | { |
| | | path: '/thirdpartylogin', |
| | | name: 'ç¬¬ä¸æ¹ç»å½é¡µ', |
| | | component: () => |
| | |
| | | </el-dialog> |
| | | </basic-container> |
| | | <!-- æ ç¾æå° --> |
| | | <el-dialog title="æ ç¾å表" :visible.sync="diaPrintTab" width="500px" top="5vh"> |
| | | <el-dialog title="æ ç¾å表" :visible.sync="diaPrintTab" width="28%" top="5vh"> |
| | | <div style="width:100%;height: 400px;overflow-y: auto;"> |
| | | <div class="dia_body"> |
| | | <el-checkbox |
| | |
| | | <vueQr :text="JSON.stringify(item.code)" :size="80" :margin="2"></vueQr> |
| | | </el-col> |
| | | </el-row> --> |
| | | <div style="display: flex;"> |
| | | <div> |
| | | <el-row style="font-size: 14px;padding-left: 20px;"> |
| | | <el-col style="font-weight: bold;">{{ item.pName }}</el-col> |
| | | </el-row> |
| | | <div style="display: flex;"> |
| | | <div> |
| | | <el-col :span="8" :offset="2"> |
| | | <el-col :span="8" :offset="4"> |
| | | <vueQr :text="JSON.stringify(item.code)" :size="120" :margin="2"></vueQr> |
| | | </el-col> |
| | | </div> |
| | | <div style="margin-left: 20px;width: 100%;"> |
| | | <el-row > |
| | | <el-col style="font-weight: bold;"><span>æ¹æ¬¡å·: </span>{{ item.code.moNo2 }}</el-col> |
| | | <div style="margin-left: 50px;width: 100%;"> |
| | | <el-row style="margin-top: 10px;"> |
| | | <el-col style="font-weight: bold;font-size: 14px;"><span>æ¹ æ¬¡ å·: </span>{{ item.code.moNo2 }}</el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 5px;"> |
| | | <el-col style="font-weight: bold;"><span>订åå·: </span>{{ item.orderNo }}</el-col> |
| | | <el-row style="margin-top: 9px;font-size: 14px;"> |
| | | <el-col style="font-weight: bold;"><span>订 å å·: </span>{{ item.orderNo }}</el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 5px;"> |
| | | <el-row style="margin-top: 9px;font-size: 14px;"> |
| | | <el-col style="font-weight: bold;"><span>客æ·åç§°: </span>{{ item.cName }}</el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 5px;"> |
| | | <el-col style="font-weight: bold;">{{ item.pName }}</el-col> |
| | | </el-row> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | | </el-checkbox-group> |
| | |
| | | <div class="el-dialog__body" style="width:448.8px;overflow-y: auto;position: absolute;top:9999px;margin-top: 0;"> |
| | | <div id="printMOrder"> |
| | | <el-card class="box-card" v-for="(item, i) in checkDataList" :key="i" style="margin-top-top:0px;margin-bottom:10px;font-size: 16px !important;"> |
| | | <el-row style="font-size:12px;"> |
| | | <!-- <el-row style="font-size:12px;"> |
| | | <el-col :span="10" :offset="3">æ¹æ¬¡å·</el-col> |
| | | <el-col :span="10" style="font-weight: bold;">{{ item.code.moNo2 }}</el-col> |
| | | </el-row> |
| | |
| | | <el-col :span="10"> |
| | | <vueQr :text="JSON.stringify(item.code)" :size="80" :margin="2"></vueQr> |
| | | </el-col> |
| | | </el-row> |
| | | </el-row> --> |
| | | <el-row style="font-size: 14px;padding-left: 20px;"> |
| | | <el-col style="font-weight: bold;">{{ item.pName }}</el-col> |
| | | </el-row> |
| | | <div style="display: flex;"> |
| | | <div> |
| | | <el-col :span="8" :offset="4"> |
| | | <vueQr :text="JSON.stringify(item.code)" :size="120" :margin="2"></vueQr> |
| | | </el-col> |
| | | </div> |
| | | <div style="margin-left: 50px;width: 100%;"> |
| | | <el-row style="margin-top: 10px;"> |
| | | <el-col style="font-weight: bold;font-size: 14px;"><span>æ¹ æ¬¡ å·: </span>{{ item.code.moNo2 }}</el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 9px;font-size: 14px;"> |
| | | <el-col style="font-weight: bold;"><span>订 å å·: </span>{{ item.orderNo }}</el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 9px;font-size: 14px;"> |
| | | <el-col style="font-weight: bold;"><span>客æ·åç§°: </span>{{ item.cName }}</el-col> |
| | | </el-row> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </div> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="é¶ä»¶" prop="partId"> |
| | | <el-tooltip class="item" effect="dark" :content="partStr" > |
| | | <el-input v-model="partStr" placeholder="" readonly> |
| | | <el-button |
| | | v-if="!this.dataForm.id" |
| | |
| | | @click="openRoutingDialog()" |
| | | ></el-button> |
| | | </el-input> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-col :span="10"> |
| | | <el-form-item label="å·¥ä½ä¸å¿" prop="workCenter"> |
| | | <el-select v-model="dataForm.workCenter" :disabled="!editable" filterable placeholder="è¯·éæ©å·¥ä½ä¸å¿" |
| | | style="width:100%" @change="changeWorkCenter"> |
| | |
| | | :key="index"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="15"> |
| | | <el-form-item label="è®¡åæ¶é´" prop="localDateTimes"> |
| | | <el-date-picker :class="tattimest ? 'sed' : ''" v-model="dataForm.localDateTimes" |
| | | type="datetimerange" range-separator="è³" start-placeholder="å¼å§" end-placeholder="ç»æ" |
| | | value-format="yyyy-MM-dd HH:mm:ss" @change="selectChangedplannedDate"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="14"> |
| | | <el-form-item label="è®¡åæ¶é´" prop="localDateTimes"> |
| | | <el-date-picker :class="tattimest ? 'sed' : ''" v-model="dataForm.localDateTimes" |
| | | type="datetimerange" range-separator="è³" start-placeholder="å¼å§" end-placeholder="ç»æ" |
| | | value-format="yyyy-MM-dd HH:mm:ss" @change="selectChangedplannedDate"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="10"> |
| | | <el-form-item label="è®¡åæ°é" prop="plannedQuantity"> |
| | | <el-input v-model="dataForm.plannedQuantity" :disabled="!editable" placeholder="è®¡åæ°é" |
| | | style="width:calc(100% - 30px)"></el-input> |
| | | <span>{{ dataForm.unit }}</span> |
| | | </el-form-item> |
| | | </el-col></el-row> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="é¶ä»¶" prop="partName"> |
| | | <el-input v-model="dataForm.partName" placeholder="é¶ä»¶" disabled></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="é¶ä»¶å·" prop="partNo"> |
| | | <el-input v-model="dataForm.partNo" placeholder="é¶ä»¶å·" disabled></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-col :span="10"> |
| | | <el-form-item label="å·¥åæéæ¶é´" prop="taskTheoreticalTime"> |
| | | <el-input v-model="dataForm.taskTheoreticalTime" placeholder="å·¥åæéæ¶é´" |
| | | style="width:calc(100% - 30px)"></el-input> |
| | | <span>min</span> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="10"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="é¶ä»¶" prop="partName"> |
| | | <el-tooltip class="item" effect="dark" :content="dataForm.partName" > |
| | | <el-input v-model="dataForm.partName" placeholder="é¶ä»¶" disabled></el-input> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="10"> |
| | | <el-form-item label="é¶ä»¶å·" prop="partNo"> |
| | | <el-tooltip class="item" effect="dark" :content="dataForm.partNo" > |
| | | <el-input v-model="dataForm.partNo" placeholder="é¶ä»¶å·" disabled></el-input> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="10"> |
| | | <span style="float:right; margin-right:30px; margin-top: 55px"> |
| | |
| | | <el-row> |
| | | <el-col :span="10" :offset="3">å
è£
å°è´¦äºç»´ç ï¼</el-col> |
| | | <el-col :span="10"> |
| | | <vueQr :text="JSON.stringify(item)" :size="110" :margin="1"></vueQr> |
| | | <vueQr :text=str+item.packageBoxId :size="110" :margin="1"></vueQr> |
| | | </el-col> |
| | | </el-row> |
| | | </el-card> |
| | |
| | | export default { |
| | | data(){ |
| | | return { |
| | | str:"http://192.168.2.213:8080/#/pack?id=", |
| | | qrData:[], |
| | | diaPrintTab: false, |
| | | multipleSelection: [], |
| | |
| | | }, |
| | | handleSelectionChange(val){ |
| | | this.multipleSelection = val |
| | | console.log(this.multipleSelection[0].id,"æ°æ®"); |
| | | let lastRow = val[val.length - 1] |
| | | this.handleCurrentChange(lastRow) |
| | | }, |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="产ååç§°ï¼"> |
| | | <el-tooltip class="item" effect="dark" :content="processInspectVo.material"> |
| | | <el-select style="width: 100%" @change="changeOptionsSamplename" :disabled="processInspectVo.id != null" |
| | | v-model="processInspectVo.material" size="small" placeholder="è¯·éæ©äº§ååç§°"> |
| | | <el-option v-for="(item,index) in optionsSamplename" :key="index" :label="item.material" |
| | | :value="item.materialCode"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="è§æ ¼åå·ï¼"> |
| | | <el-tooltip class="item" effect="dark" :content="processInspectVo.specificationsModel"> |
| | | <el-input disabled v-model="processInspectVo.specificationsModel" autocomplete="off" /> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="产ååç§°ï¼"> |
| | | <el-tooltip class="item" effect="dark" :content="processInspectVo.material"> |
| | | <el-select style="width: 100%" @change="changeOptionsSamplename" |
| | | :disabled="processInspectVo.id != null" v-model="processInspectVo.material" |
| | | size="small" placeholder="è¯·éæ©äº§ååç§°"> |
| | |
| | | :label="item.material" :value="item.materialCode"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="è§æ ¼åå·ï¼"> |
| | | <el-tooltip class="item" effect="dark" :content="processInspectVo.specs"> |
| | | <el-input disabled v-model="processInspectVo.specs" |
| | | autocomplete="off" /> |
| | | </el-tooltip> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | |
| | | isShowQuery: false, |
| | | uploadInfo: { |
| | | // æ¯å¦å±ç¤ºä¸ä¼ EXCEL以å对åºçurl |
| | | isShow: true, |
| | | isShow: false, |
| | | url: '/mes/testStandard/upload' |
| | | }, |
| | | prelang: 'operation', |
| | |
| | | */ |
| | | |
| | | |
| | | // const url = 'http://192.168.2.7:9999' |
| | | const url = 'http://192.168.2.7:9999' |
| | | // const url = 'http://192.168.32.45:9999' |
| | | // const url = 'http://192.168.2.7:9999' |
| | | // const url = 'http://192.168.32.45:9999' |
| | | //const url = 'http://192.168.2.7:9999' |
| | | //const url = 'http://192.168.32.45:9999' |
| | | // const url = 'http://192.168.0.23:9999' |
| | | |
| | | const url = 'http://localhost:9999' |
| | | // const url = 'http://localhost:9999' |
| | | |
| | | |
| | | const localUrl = 'http://localhost:8089' |