| | |
| | | |
| | | 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> |
| | |
| | | <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) |
| | | }, |
| | |
| | | */ |
| | | |
| | | |
| | | // 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' |