Commit 277f92a0 by 肖康

x

parent dbe19557
.inquireDetail {
.inquiry-information {
position: relative;
height: 162px;
......@@ -118,56 +117,7 @@
}
}
.dcg {
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;
color: #1969F9;
margin-left: 10px;
font-size: 14px;
transition: all 0.5s;
&:hover {
background: #1969F9;
cursor: pointer;
color: #fff;
}
&.heti {
width: 56px;
background: #fff;
&:hover {
background: #E5EEFF;
color: #1969F9;
}
}
&.xjk {
position: relative;
left: -11px;
border-left: 1px solid #1969F9;
&:hover {
border-left: 1px solid #1969F9;
}
}
&.delbtn {
border: 1px solid #FC1F00;
background: #FFE7E3;
color: #FC1F00;
&:hover {
background: #FF715D;
color: #fff;
}
}
}
.updatex {
width: 66px;
......@@ -231,6 +181,62 @@
}
}
}
.dcg {
display: block;
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;
color: #1969F9;
margin-left: 10px;
font-size: 14px;
transition: all 0.5s;
&:hover {
background: #1969F9;
cursor: pointer;
color: #fff;
}
&.disabled{
background: #ccc;
color:#fff;
border-color:#ccc;
cursor: not-allowed;
}
&.heti {
width: 56px;
background: #fff;
&:hover {
background: #E5EEFF;
color: #1969F9;
}
}
&.xjk {
position: relative;
left: -11px;
border-left: 1px solid #1969F9;
&:hover {
border-left: 1px solid #1969F9;
}
}
&.delbtn {
border: 1px solid #FC1F00;
background: #FFE7E3;
color: #FC1F00;
&:hover {
background: #FF715D;
color: #fff;
}
}
}
}
.xx {
......
.inquireDetail .inquiry-information {
position: relative;
height: 162px;
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #E5EBF6;
padding-top: 20px;
padding-left: 17px;
margin-bottom: 20px;
}
.inquireDetail .inquiry-information:after {
position: absolute;
top: 20px;
left: 0;
width: 5px;
height: 21px;
background: #1969F9;
content: '';
display: block;
}
.inquireDetail .inquiry-information .tit {
font-size: 16px;
color: #333333;
font-weight: bold;
}
.inquireDetail .inquiry-information .input-box {
margin-top: 14px;
margin-bottom: 20px;
}
.inquireDetail .inquiry-information .input-box .p-text {
font-size: 14px;
color: #333333;
vertical-align: middle;
margin-right: 10px;
}
.inquireDetail .inquiry-information .input-box input {
height: 38px;
background: #F1F4FA;
border-radius: 2px;
vertical-align: middle;
box-sizing: border-box;
text-indent: 12px;
font-size: 14px;
color: #333333;
}
.inquireDetail .inquiry-information .text span {
font-size: 16px;
color: #333333;
font-weight: bold;
}
.inquireDetail .inquiry-information .text em {
font-size: 16px;
color: #CC8200;
font-weight: bold;
}
.inquireDetail .quote {
position: relative;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 17px;
background: #FFFFFF;
}
.inquireDetail .quote:after {
position: absolute;
top: 20px;
left: 0;
width: 5px;
height: 21px;
background: #1969F9;
content: '';
display: block;
}
.inquireDetail .quote .tit {
font-size: 16px;
color: #333333;
font-weight: bold;
}
.inquireDetail .quote .btn-nav {
margin-top: 17px;
margin-bottom: 20px;
}
.inquireDetail .quote .btn-nav .update {
height: 26px;
line-height: 26px;
text-align: center;
background: #FFEEDD;
border: 1px solid #FF870D;
border-radius: 2px;
color: #FF870D;
font-size: 14px;
cursor: pointer;
width: 66px;
}
.inquireDetail .quote .btn-nav .update i {
margin-left: 3px;
}
.inquireDetail .quote .btn-nav .update:hover {
background: #FCA955;
color: #fff;
}
.inquireDetail .quote .btn-nav .dcg {
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;
color: #1969F9;
margin-left: 10px;
font-size: 14px;
transition: all 0.5s;
}
.inquireDetail .quote .btn-nav .dcg:hover {
background: #1969F9;
cursor: pointer;
color: #fff;
}
.inquireDetail .quote .btn-nav .dcg.heti {
width: 56px;
background: #fff;
}
.inquireDetail .quote .btn-nav .dcg.heti:hover {
background: #E5EEFF;
color: #1969F9;
}
.inquireDetail .quote .btn-nav .dcg.xjk {
position: relative;
left: -11px;
border-left: 1px solid #1969F9;
}
.inquireDetail .quote .btn-nav .dcg.xjk:hover {
border-left: 1px solid #1969F9;
}
.inquireDetail .quote .btn-nav .dcg.delbtn {
border: 1px solid #FC1F00;
background: #FFE7E3;
color: #FC1F00;
}
.inquireDetail .quote .btn-nav .dcg.delbtn:hover {
background: #FF715D;
color: #fff;
}
.inquireDetail .quote .btn-nav .updatex {
height: 26px;
line-height: 26px;
text-align: center;
background: #FFEEDD;
border: 1px solid #FF870D;
border-radius: 2px;
color: #FF870D;
font-size: 14px;
cursor: pointer;
width: 66px;
}
.inquireDetail .quote .btn-nav .updatex:hover {
background: #FCA955;
color: #fff;
}
.inquireDetail .assistant {
padding-top: 3px;
padding-bottom: 20px;
padding-left: 17px;
background: #FFFFFF;
}
.inquireDetail .assistant .ic {
width: 248px;
height: 44px;
background: url("../../images/x.png") no-repeat center;
background-size: cover;
display: block;
}
.inquireDetail .assistant .tab {
border: 1px solid #E5EBF6;
margin-bottom: 10px;
}
.inquireDetail .assistant .tab li {
width: 102px;
height: 42px;
background: #F1F4FA;
border-radius: 2px 2px 0px 0px;
font-size: 14px;
color: #646b78;
cursor: pointer;
}
.inquireDetail .assistant .tab li.curr {
position: relative;
top: 1px;
background: #FFFFFF;
font-size: 16px;
color: #333333;
border-bottom: 1px solid #FFFFFF;
}
.xx .el-form-item__label {
white-space: nowrap;
}
.xx .dialog-footer {
text-align: center !important;
}
.xx .updatebox {
position: relative;
}
.xx .updatebox .selectdw {
height: 36px;
width: 36px;
position: absolute;
top: 1px;
right: 2px;
}
.xx .updatebox .selectdw .el-select {
width: 36px;
height: 37px;
border-left: 1px solid #C0C4CC;
}
.xx .updatebox .selectdw .el-select input {
border: 0px;
padding: 0px;
height: 31px;
width: 36px;
font-size: 14px;
color: #333;
text-align: center;
}
.xx .updatebox .selectdw .el-select .el-input__prefix,
.xx .updatebox .selectdw .el-select .el-input__suffix {
display: none !important;
}
.price-more .more-search-btn {
width: 70px;
height: 26px;
background: #F1F4FA;
border-radius: 2px;
border: 1px solid #BEC9DF;
font-size: 12px;
color: #1969F9;
text-align: center;
transition: all 0.5s;
position: relative;
cursor: pointer;
}
.price-more .more-search-btn:hover {
border: 1px solid #1969F9;
}
/*# sourceMappingURL=inquireDetail.min.css.map */
\ No newline at end of file
.inquireDetail .inquiry-information{position:relative;height:162px;background:#FFFFFF;border-radius:4px;border:1px solid #E5EBF6;padding-top:20px;padding-left:17px;margin-bottom:20px}.inquireDetail .inquiry-information:after{position:absolute;top:20px;left:0;width:5px;height:21px;background:#1969F9;content:'';display:block}.inquireDetail .inquiry-information .tit{font-size:16px;color:#333333;font-weight:bold}.inquireDetail .inquiry-information .input-box{margin-top:14px;margin-bottom:20px}.inquireDetail .inquiry-information .input-box .p-text{font-size:14px;color:#333333;vertical-align:middle;margin-right:10px}.inquireDetail .inquiry-information .input-box input{height:38px;background:#F1F4FA;border-radius:2px;vertical-align:middle;box-sizing:border-box;text-indent:12px;font-size:14px;color:#333333}.inquireDetail .inquiry-information .text span{font-size:16px;color:#333333;font-weight:bold}.inquireDetail .inquiry-information .text em{font-size:16px;color:#CC8200;font-weight:bold}.inquireDetail .quote{position:relative;padding-top:20px;padding-bottom:20px;padding-left:17px;background:#FFFFFF}.inquireDetail .quote:after{position:absolute;top:20px;left:0;width:5px;height:21px;background:#1969F9;content:'';display:block}.inquireDetail .quote .tit{font-size:16px;color:#333333;font-weight:bold}.inquireDetail .quote .btn-nav{margin-top:17px;margin-bottom:20px}.inquireDetail .quote .btn-nav .update{height:26px;line-height:26px;text-align:center;background:#FFEEDD;border:1px solid #FF870D;border-radius:2px;color:#FF870D;font-size:14px;cursor:pointer;width:66px}.inquireDetail .quote .btn-nav .update i{margin-left:3px}.inquireDetail .quote .btn-nav .update:hover{background:#FCA955;color:#fff}.inquireDetail .quote .btn-nav .updatex{height:26px;line-height:26px;text-align:center;background:#FFEEDD;border:1px solid #FF870D;border-radius:2px;color:#FF870D;font-size:14px;cursor:pointer;width:66px}.inquireDetail .quote .btn-nav .updatex:hover{background:#FCA955;color:#fff}.inquireDetail .assistant{padding-top:3px;padding-bottom:20px;padding-left:17px;background:#FFFFFF}.inquireDetail .assistant .ic{width:248px;height:44px;background:url("../../images/x.png") no-repeat center;background-size:cover;display:block}.inquireDetail .assistant .tab{border:1px solid #E5EBF6;margin-bottom:10px}.inquireDetail .assistant .tab li{width:102px;height:42px;background:#F1F4FA;border-radius:2px 2px 0px 0px;font-size:14px;color:#646b78;cursor:pointer}.inquireDetail .assistant .tab li.curr{position:relative;top:1px;background:#FFFFFF;font-size:16px;color:#333333;border-bottom:1px solid #FFFFFF}.inquireDetail .dcg{display:block;width:66px;height:26px;border-radius:2px;text-align:center;line-height:26px;border:1px solid #1969F9;background:#E5EEFF;color:#1969F9;margin-left:10px;font-size:14px;transition:all .5s}.inquireDetail .dcg:hover{background:#1969F9;cursor:pointer;color:#fff}.inquireDetail .dcg.disabled{background:#ccc;color:#fff;border-color:#ccc;cursor:not-allowed}.inquireDetail .dcg.heti{width:56px;background:#fff}.inquireDetail .dcg.heti:hover{background:#E5EEFF;color:#1969F9}.inquireDetail .dcg.xjk{position:relative;left:-11px;border-left:1px solid #1969F9}.inquireDetail .dcg.xjk:hover{border-left:1px solid #1969F9}.inquireDetail .dcg.delbtn{border:1px solid #FC1F00;background:#FFE7E3;color:#FC1F00}.inquireDetail .dcg.delbtn:hover{background:#FF715D;color:#fff}.xx .el-form-item__label{white-space:nowrap}.xx .dialog-footer{text-align:center !important}.xx .updatebox{position:relative}.xx .updatebox .selectdw{height:36px;width:36px;position:absolute;top:1px;right:2px}.xx .updatebox .selectdw .el-select{width:36px;height:37px;border-left:1px solid #C0C4CC}.xx .updatebox .selectdw .el-select input{border:0px;padding:0px;height:31px;width:36px;font-size:14px;color:#333;text-align:center}.xx .updatebox .selectdw .el-select .el-input__prefix,.xx .updatebox .selectdw .el-select .el-input__suffix{display:none !important}.price-more .more-search-btn{width:70px;height:26px;background:#F1F4FA;border-radius:2px;border:1px solid #BEC9DF;font-size:12px;color:#1969F9;text-align:center;transition:all .5s;position:relative;cursor:pointer}.price-more .more-search-btn:hover{border:1px solid #1969F9}
\ No newline at end of file
......@@ -22,7 +22,7 @@
</el-form>
<div class="fl up-box">
<img :src="userinfo.avatar" class="imspre" />
<el-upload class="avatar-uploader" :action="upUrl" :show-file-list="false" :on-success="handleAvatarSuccess"
<el-upload class="avatar-uploader" :data="fileData" :action="upUrl" :show-file-list="false" :on-success="handleAvatarSuccess"
:before-upload="beforeAvatarUpload">
<span class="icon iconfont fl"></span>
<div class="fl">更换头像</div>
......@@ -38,6 +38,7 @@
import {
NODE_ENVS
} from "../../ajax";
import Tool from '../../tool'
import {
Form,
FormItem,
......@@ -52,6 +53,7 @@
data() {
return {
upUrl: NODE_ENVS + '/api/user/setavatar',
fileData:{token:Tool.getCookie('token')},
userinfo: {
company_name: '',
contacts_name: '',
......
......@@ -31,6 +31,7 @@
<div class="fl dcg updatex" @click="modify">修改</div>
<div class="fl dcg delbtn" @click="del">删除</div>
</div>
<div class="data-box th-all">
<el-table :data="quote_list" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="40" align="center"></el-table-column>
......@@ -79,9 +80,9 @@
<!--匹配库存-->
<template v-if="active==0">
<el-table :data="tableData" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column fixed label="操作" width="100" align="center" v-if="'show'">
<el-table-column fixed label="操作" width="108" align="center" v-if="'show'">
<template slot-scope="scope">
<el-button type="primary" plain size="mini" @click="handle(scope.$index, scope.row)">确认</el-button>
<span class="dcg" @click="handle(scope.$index, scope.row)">确认</span>
</template>
</el-table-column>
<el-table-column fixed prop="goods_name" label="型号" width="180"></el-table-column>
......@@ -141,9 +142,10 @@
<!--历史报价-->
<template v-else-if="active==1">
<el-table :data="historyList" border style="width: 100%">
<el-table-column fixed label="操作" width="100" align="center" v-if="'show'">
<el-table-column fixed label="操作" width="108" align="center" v-if="'show'">
<template slot-scope="scope">
<el-button type="primary" plain size="mini" @click="handle(scope.$index, scope.row)">确认</el-button>
<!-- <span class="dcg disabled" @click="handle(scope.$index, scope.row)">确认</span> -->
<span class="dcg " @click="handle(scope.$index, scope.row)">确认</span>
</template>
</el-table-column>
<el-table-column prop="goods_name" label="报价型号" width="200"></el-table-column>
......
......@@ -24,12 +24,13 @@
</el-form>
<div class="btn-nav clr">
<el-upload class="upload-demo fl" :action="uploadUrl" :on-change="handleChange" multiple>
<el-upload class="upload-demo fl" :data="fileData" :action="uploadUrl" :on-change="handleChange" multiple>
<div class="fl dcg">导入</div>
</el-upload>
<div class="fl dcg long" @click="checkdr">查看导入结果</div>
<div class="fl dcg" @click="downwj">下载模版</div>
<a :href="downHref" ref="downs" target="_blank" style="display:none">下载</a>
<a class="fl dcg" :href="downUrl" target="_blank">下载模版</a>
<div class="fl dcg delbtn" @click="del">删除</div>
</div>
<div class="data-box th-all" v-if="tableData">
......@@ -102,7 +103,10 @@
total: 0,
limit: 10,
page: 1,
downHref:"",
uploadUrl: NODE_ENVS + '/api/uploadSku/import',
fileData:{token:Tool.getCookie('token')},
downUrl:NODE_ENVS + '/api/uploadSku/downUploadCsv?token='+Tool.getCookie('token') ,
formInline: {
status: '',
date: ''
......@@ -161,14 +165,12 @@
Message("请至少选择一条数据导入")
return
}
window.location.href = NODE_ENVS + '/api/uploadSku/downResult?id=' + this.multipleSelection[0]['id']
this.downHref = NODE_ENVS + '/api/uploadSku/downResult?id=' + this.multipleSelection[0]['id']+'&token='+Tool.getCookie('token')
setTimeout(() => {
this.$refs.downs.click()
}, 10)
},
downwj() {
this.$http('get', "/api/uploadSku/downUploadCsv", {}).then(res => {
})
},
del() {
if (this.multipleSelection.length == 0) {
Message("请至少选择一条数据")
......
......@@ -6,12 +6,12 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="http://yunxin.liexindev.net/favicon.ico">
<title>cloudsystem</title>
<link href="http://yunxin.liexindev.net/js/0.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/1.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/10.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/11.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/12.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/13.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/14.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/15.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/16.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/17.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/18.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/19.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/2.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/20.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/21.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/22.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/23.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/24.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/25.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/3.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/4.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/5.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/6.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/7.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/8.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/9.js" rel="prefetch"><link href="http://yunxin.liexindev.net/app.cf15e70d78d480cfe8d0.js" rel="preload" as="script"></head>
<link href="http://yunxin.liexindev.net/js/0.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/1.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/10.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/11.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/12.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/13.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/14.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/15.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/16.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/17.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/18.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/19.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/2.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/20.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/21.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/22.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/23.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/24.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/25.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/3.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/4.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/5.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/6.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/7.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/8.js" rel="prefetch"><link href="http://yunxin.liexindev.net/js/9.js" rel="prefetch"><link href="http://yunxin.liexindev.net/app.2260e0f05c27708c1528.js" rel="preload" as="script"></head>
<body>
<noscript>
<strong>网络异常,请稍后加载</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="text/javascript" src="http://yunxin.liexindev.net/app.cf15e70d78d480cfe8d0.js"></script></body>
<script type="text/javascript" src="http://yunxin.liexindev.net/app.2260e0f05c27708c1528.js"></script></body>
</html>
This diff could not be displayed because it is too large.
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