Commit 0dab1f2a by 肖康

Merge branch 'dev/ver/2.0.0' of http://git.ichunt.net/xiaokang/cloudSystem into dev/ver/2.0.0

parents 5d419b52 06e7af88
......@@ -190,47 +190,20 @@ body {
padding: 20px;
}
//js跟随提示框
.el-tooltip__popper {
box-shadow: 1px 2px 10px 0px rgba(119, 135, 145, 0.5);
border: 1px solid #387FFF !important;
border-radius: 0px !important;
.boxxrth2021 {
width: 150px;
background: #fff;
font-size: 12px;
color: #333;
p {
height: 28px;
line-height: 28px;
span {
width: 50%
}
}
.zdypop {
.el-form-item__label {
color: #333
}
}
.el-tooltip__popper[x-placement="top"] .popper__arrow {
border-top-color: #387FFF !important
}
.el-tooltip__popper[x-placement="bottom"] .popper__arrow {
border-bottom-color: #387FFF !important
}
.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow {
border-top-color: #387FFF !important
}
.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow {
border-bottom-color: #387FFF !important
}
.el-input.is-disabled {
background-color: #F1F4FA;
border-color: #F1F4FA
}
.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow {
border-left-color: #387FFF !important
.el-input.is-disabled .el-input__inner {
background-color: #F1F4FA;
border-color: #F1F4FA
}
}
//弹窗公共样式
......
......@@ -204,38 +204,16 @@ body {
.pagex {
padding: 20px;
}
.el-tooltip__popper {
box-shadow: 1px 2px 10px 0px rgba(119, 135, 145, 0.5);
border: 1px solid #387FFF !important;
border-radius: 0px !important;
}
.el-tooltip__popper .boxxrth2021 {
width: 150px;
background: #fff;
font-size: 12px;
.zdypop .el-form-item__label {
color: #333;
}
.el-tooltip__popper .boxxrth2021 p {
height: 28px;
line-height: 28px;
.zdypop .el-input.is-disabled {
background-color: #F1F4FA;
border-color: #F1F4FA;
}
.el-tooltip__popper .boxxrth2021 p span {
width: 50%;
}
.el-tooltip__popper[x-placement="top"] .popper__arrow {
border-top-color: #387FFF !important;
}
.el-tooltip__popper[x-placement="bottom"] .popper__arrow {
border-bottom-color: #387FFF !important;
}
.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow {
border-top-color: #387FFF !important;
}
.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow {
border-bottom-color: #387FFF !important;
}
.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow {
border-left-color: #387FFF !important;
.zdypop .el-input.is-disabled .el-input__inner {
background-color: #F1F4FA;
border-color: #F1F4FA;
}
.el-dialog__body {
padding: 20px !important;
......
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AAAM;EACJ,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AAAM;AAAK;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAK;AAAM;AAAM;AAAU;AAAQ;AAAO;AAAU;AAAG;AAAY;AAAI;AAAI;AAAI;AAAQ;AAAS;AAAO;AAAS;AAAY;AAAQ;AAAQ;AAAQ;AAAM;AAAK;EACxN,SAAA;EACA,UAAA;;AAGF;AAAQ;AAAO;AAAQ;EACrB,eAAA;EACA,YAAA;EACA,wBAAA;;AAGF,KAAK;AAAe,KAAK;AAAa,KAAK;EACzC,eAAA;;AAGF;EACE,yBAAA;EACA,iBAAA;;AAGF;AAAI;AAAI;EACN,gBAAA;;AAGF;AAAI;AAAI;AAAI;AAAI;AAAI;EAClB,eAAA;EACA,gBAAA;;AAGF;AAAI;AAAG;EACL,kBAAA;;AAGF;EACE,qBAAA;;AAGF;EACE,YAAA;;AAGF;EACE,QAAA;EACA,WAAA;;AAGF,IAAI;EACF,SAAS,GAAT;EACA,WAAA;EACA,SAAA;EACA,kBAAA;EACA,cAAA;;AAGF;EACE,WAAA;EACA,gBAAA;;AAGF;EACE,YAAA;EACA,gBAAA;;AAGF;EACE,mBAAA;;AAGF;EACE,sB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;AAOJ;EACE,qBAAA;;AAGF,wBAAyB;EACvB,WAAA;EACA,eAAA;;AAGF,uBAAuB;EACrB,cAAA;EACA,eAAA;;AAGF,sBAAsB;EACpB,SAAS,OAAT;;AAGF,qBACE;AADqB,cACrB;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,YAAA;;AAEA,qBAZF,WAYG;AAAD,cAZF,WAYG;AAAQ,qBAZX,WAYY;AAAD,cAZX,WAYY;EACR,cAAA;EACA,mBAAA;EACA,yBAAA;;AAGF,qBAlBF,WAkBG;AAAD,cAlBF,WAkBG;EACC,yBAAA;EACA,WAAA;EACA,mBAAA;;AAEA,qBAvBJ,WAkBG,mBAKE;AAAD,cAvBJ,WAkBG,mBAKE;AAAQ,qBAvBb,WAkBG,mBAKW;AAAD,cAvBb,WAkBG,mBAKW;EACR,WAAA;EACA,mBAAA;EACA,yBAAA;;AAMR;EACE,kBAAA;;AADF,OAGE;EACE,WAAA;EACA,gBAAA;;AALJ,OAQE;EACE,YAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA;EACA,gBAAA;EACA,gBAAA;;AAIJ,iBACE;EACE,UAAA;;AAIJ;EACE,iBAAA;EACA,yBAAA;EACA,kBAAA;EACA,8BAAA;EACA,cAAA;;AALF,UAOE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;;AAIJ;EACE,WAAA;EACA,YAAA;EACA,uBAAA;;AAGF;EACE,uBAAA;;AAGF;EACE,kBAAA;EACA,yBAAA;;AAGF,yBAAyB;EACvB,yBAAA","file":"common.min.css"}
\ No newline at end of file
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AAAM;EACJ,8CAA8C,6BAA9C;EACA,kBAAA;EACA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EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA;EACA,gBAAA;EACA,gBAAA;;AAIJ,iBACE;EACE,UAAA;;AAIJ;EACE,iBAAA;EACA,yBAAA;EACA,kBAAA;EACA,8BAAA;EACA,cAAA;;AALF,UAOE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;;AAIJ;EACE,WAAA;EACA,YAAA;EACA,uBAAA;;AAGF;EACE,uBAAA;;AAGF;EACE,kBAAA;EACA,yBAAA;;AAGF,yBAAyB;EACvB,yBAAA","file":"common.min.css"}
\ No newline at end of file
......@@ -4,13 +4,11 @@
<div class="con-box clr">
<div class="logo fl">云芯系统</div>
<div class="tab-box fl" ref="scrollbox">
<div class="item-boxs" ref="scrollboxinner" :style="'width:'+(tabs.length*95+48)+'px'">
<a class="item fl first" href="/#/" :class="{'act':$route.path=='/','scrollsg':rpcg}">
<div class="item-boxs row verCenter" ref="scrollboxinner">
<a class="item first row rowCenter verCenter" href="/#/" :class="{'act':$route.path=='/','scrollsg':rpcg}">
<font class="fl">概况</font>
</a>
<a class="item fl"
:class="{'scrollsg':rpcg,'act':(JSON.stringify(item)==JSON.stringify({path: $route.path,title: $route.meta.title,query:$route.query}))}"
@click="tabUrl(item)" v-for="item in tabs">
<a class="item row rowCenter verCenter" :class="{'scrollsg':rpcg,'act':(JSON.stringify(item)==JSON.stringify({path: $route.path,title: $route.meta.title,query:$route.query}))}" @click="tabUrl(item)" v-for="item in tabs">
<font class="fl">{{ item.title }}</font>
<span class="icon iconfont fl" @click.stop="closetab(item.path)"></span>
</a>
......@@ -25,8 +23,7 @@
<a href="/云芯操作手册.pdf" class="fl" target="_blank" title="操作手册"><span class="icon iconfont iconwendangguanli fl"></span></a>
<div class="line"></div>
<div class="login-v fl">
<img class="fl" :src="userinfo.avatar||'https://www.ichunt.com/v3/dist/res/home/images/headimg/boy1.png'"
alt="">
<img class="fl" :src="userinfo.avatar||'https://www.ichunt.com/v3/dist/res/home/images/headimg/boy1.png'" alt="">
<div class="fl namex">{{ userinfo.contacts_name || '猎芯网用户' }}</div>
<div class="fl lo-box-drop">
<span class="icon iconfont"></span>
......@@ -179,7 +176,7 @@
<script>
import Vue from 'vue';
import Util from "../tool";
import {Form, FormItem, Input, Menu, MenuItem, Submenu, MenuItemGroup, Message, Dialog, Button, Tooltip} from 'element-ui'
import {Button, Dialog, Form, FormItem, Input, Menu, MenuItem, MenuItemGroup, Message, Submenu, Tooltip} from 'element-ui'
Vue.prototype.$message = Message;
Vue.use(Menu).use(MenuItem).use(MenuItemGroup).use(Submenu).use(Form).use(FormItem).use(Dialog).use(Button).use(Tooltip).use(Input);
......@@ -472,21 +469,6 @@ export default {
position: relative;
width: calc(100vw - 584px);
&::-webkit-scrollbar {
height: 5px;
}
&::-webkit-scrollbar-thumb {
border-radius: 5px;
background: #fff;
-webkit-box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
}
&::-webkit-scrollbar-track {
border-radius: 0;
background: rgba(0, 0, 0, 0);
}
.item-boxs {
position: absolute;
left: 0px;
......@@ -494,34 +476,38 @@ export default {
.item {
color: #646B78;
font-size: 14px;
margin-left: 20px;
font-size: 13px;
height: 40px;
line-height: 40px;
cursor: pointer;
transition: all 0.4s ease;
padding: 0 17px;
&.act {
background-color: #F1F4FA;
position: relative;
font {
color: #333;
color: #1969f9;
}
&::after {
content: "";
position: absolute;
bottom: -8px;
width: 32px;
height: 5px;
top: 0;
width: 100%;
height: 2px;
background: #1969F9;
left: 50%;
margin-left: -22px;
left: 0;
right: 0;
margin: 0 auto;
text-align: center;
}
&.first {
background-color: transparent;
&::after {
margin-left: -15px;
display: none;
}
}
}
......@@ -555,7 +541,7 @@ export default {
}
.icon {
font-size: 14px;
font-size: 13px;
margin-left: 5px;
}
}
......
......@@ -64,7 +64,7 @@ const routes = [
name: 'Brand',
meta: {
title: '品牌列表'
},
component: Brand
},
......@@ -73,7 +73,7 @@ const routes = [
name: 'List',
meta: {
title: '库存列表'
},
component: List
},
......@@ -154,7 +154,7 @@ const routes = [
name: 'Login',
meta: {
title: '猎芯云芯商家-登录',
},
component: Login
},
......@@ -163,7 +163,7 @@ const routes = [
name: 'notfound',
meta: {
title: '猎芯网',
},
component: notfound
},
......@@ -172,7 +172,7 @@ const routes = [
name: 'BindError',
meta: {
title: '微信重新绑定',
},
component: BindError
},
......
......@@ -3,13 +3,11 @@
<div class="brand-con">
<el-form :inline="true" :model="formParam" class="demo-form-inline">
<el-form-item label="品牌">
<el-autocomplete v-model="formParam.brand_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsyncBrand" placeholder="请输入品牌" clearable></el-autocomplete>
<el-autocomplete v-model="formParam.brand_name" :trigger-on-focus="false" @keyup.enter.native="submit" :fetch-suggestions="querySearchAsyncBrand" placeholder="请输入品牌" clearable></el-autocomplete>
</el-form-item>
<el-form-item label="关键词">
<el-input v-model="formParam.keyword" placeholder="请输入关键词" @keyup.enter.native="submit" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="submit">搜索</el-button>
</el-form-item>
......@@ -21,7 +19,7 @@
<a :href="downHref" ref="downs" target="_blank" style="display:none">下载</a>
</div>
<div class="data-box th-all" v-if="tableData">
<el-table :data="tableData" border max-height="600" @selection-change="handleSelectionChange">
<el-table :data="tableData" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="37"></el-table-column>
<el-table-column prop="internal_standard_name" label="内部标准名称" min-width="15%">
</el-table-column>
......@@ -69,7 +67,6 @@
<el-input v-model="scope.row.remark" placeholder="点击修改"></el-input>
</template>
</el-table-column>
</el-table>
</div>
<span slot="footer" class="dialog-footer">
......@@ -86,15 +83,13 @@
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import Tool from '../../tool'
import {Form, FormItem, Select, Option, Input, Button, Table, TableColumn, Message, MessageBox, Dialog, Pagination, Autocomplete} from 'element-ui'
import {Autocomplete, Button, Dialog, Form, FormItem, Input, Message, MessageBox, Option, Pagination, Select, Table, TableColumn} from 'element-ui'
Vue.prototype.$message = Message
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Pagination).use(Autocomplete)
Vue.use(TableColumn).use(Table)
export default {
name: "brand",
data() {
return {
dialogVisible: false,
......@@ -127,7 +122,7 @@ export default {
}).then(res => {
if (res.code === 0) {
this.tableData = res.data.list || [];
this.total = Number(res.data.total) || 0;
this.total = Number(res.data.count) || 0;
} else {
this.$message({
message: res.msg,
......
......@@ -30,18 +30,19 @@
<div class="data-box th-all">
<el-table :data="tableData" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="40" align="center"></el-table-column>
<el-table-column prop="goods_name" fixed="left" label="型号" width="200">
<el-table-column prop="quote_sn" fixed="left" label="报价单号" width="200"></el-table-column>
<el-table-column prop="inquiry_goods_name" fixed="left" label="型号" width="200">
<template slot-scope="scope">
<div class="price-mores">
<el-tooltip effect="light" placement="bottom-start" popper-class="popper-class-box">
<div slot="content">
<el-popover effect="light" trigger="hover" placement="bottom-start" popper-class="popper-class-box">
<div>
<p class="p-text row verCenter">
<em class="row">型号</em>
<span class="row verCenter boxsiz">{{ scope.row.goods_name }}</span>
<span class="row verCenter boxsiz">{{ scope.row.inquiry_goods_name }}</span>
</p>
<p class="p-text row verCenter">
<em class="row">品牌</em>
<span class="row verCenter boxsiz">{{ scope.row.brand_name }}</span>
<span class="row verCenter boxsiz">{{ scope.row.inquiry_brand_name }}</span>
</p>
<p class="p-text row verCenter">
<em class="row">数量</em>
......@@ -56,24 +57,21 @@
<span class="row verCenter boxsiz">{{ scope.row.delivery_time }}</span>
</p>
</div>
<div class="more-search-btn">{{ scope.row.goods_name }}</div>
</el-tooltip>
<div slot="reference" class="more-search-btn">{{ scope.row.inquiry_goods_name }}</div>
</el-popover>
</div>
</template>
</el-table-column>
<el-table-column prop="brand_name" fixed="left" label="品牌" width="200"></el-table-column>
<el-table-column prop="inquiry_brand_name" fixed="left" label="品牌" width="200"></el-table-column>
<el-table-column prop="inquiry_sn" label="询价单号" width="200"></el-table-column>
<el-table-column prop="quote_goods_name" label="报价型号" width="200"></el-table-column>
<el-table-column prop="quote_brand_name" label="报价品牌" width="200"></el-table-column>
<el-table-column prop="status" label="状态" width="100">
<template slot-scope="scope">
<span v-if="scope.row.status==1" class="f-green">比价中</span>
<span v-else-if="scope.row.status==2" class="f-yellow1">已选中</span>
<span v-else-if="scope.row.status==3">已确认</span>
<span v-else-if="scope.row.status==4">已成单</span>
<span v-else-if="scope.row.status==5" class="f-red1">已关闭</span>
<span v-else-if="scope.row.status==9" class="f-red1">已删除</span>
<span v-else-if="scope.row.status==-1" class="f-red1">已撤销</span>
<span v-if="scope.row.quote_status==1" class="f-green">确认中</span>
<span v-else-if="scope.row.quote_status==2" class="f-yellow1">已选中</span>
<span v-else-if="scope.row.quote_status==3">已成单</span>
<span v-else-if="scope.row.quote_status==4" class="f-red1">已关闭</span>
</template>
</el-table-column>
<el-table-column prop="expire_status_val" label="是否有效" width="100"></el-table-column>
......@@ -96,7 +94,7 @@
</el-table-column>
<el-table-column prop="expire_time" label="报价有效期" width="200"></el-table-column>
<el-table-column prop="remark" label="备注" width="200"></el-table-column>
<el-table-column prop="create_time" label="最近报价时间" width="200"></el-table-column>
<el-table-column prop="quote_time" label="最近报价时间" width="200"></el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :page-sizes="[10, 20, 50, 100, 200]" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page"></el-pagination>
</div>
......@@ -107,12 +105,12 @@
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import {Form, FormItem, Select, Option, Input, DatePicker, Button, Dropdown, DropdownMenu, DropdownItem, Table, TableColumn, MessageBox, Message, Dialog, Pagination, Autocomplete, Tooltip} from 'element-ui'
import {Form, FormItem, Select, Option, Input, DatePicker, Button, Dropdown, DropdownMenu, DropdownItem, Table, TableColumn, MessageBox, Message, Dialog, Pagination, Autocomplete, Tooltip,Popover} from 'element-ui'
import {NODE_ENVS} from "../../ajax";
import Tool from '../../tool'
Vue.prototype.$message = Message
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Autocomplete).use(Tooltip);
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Autocomplete).use(Tooltip).use(Popover);
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Pagination);
export default {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment