Commit a8e00462 by LJM

js

parent 64e9a006
Showing with 327 additions and 597 deletions
......@@ -156,19 +156,15 @@ img {
display: flex;
flex-direction: row;
}
/* 两侧对齐 */
.bothSide {
justify-content: space-between;
}
/* 平均分布 */
.avarage {
justify-content: space-around;
}
/* 水平居中 */
.rowCenter {
justify-content: center;
}
/* 垂直居中 */
.verCenter {
align-items: center;
}
......@@ -201,7 +197,6 @@ body {
.f-red1 {
color: #FC1F00;
}
/**element-ui 样式重写**/
.el-pagination {
text-align: right;
margin-top: 20px;
......@@ -209,106 +204,6 @@ body {
.pagex {
padding: 20px;
}
.pagex .el-input__inner {
height: 38px;
border-radius: 2px;
border: 1px solid #BEC9DF;
font-size: 14px;
}
.pagex .el-input__inner:focus {
border: 1px solid #387FFF;
}
.pagex .el-form-item__label {
color: #666;
}
.pagex .el-range-editor.el-input__inner {
width: 257px;
}
.pagex .el-select .el-input.is-focus .el-input__inner,
.pagex .el-range-editor.is-active,
.pagex .el-range-editor.is-active:hover {
border-color: #387FFF;
}
.pagex .el-select {
width: 202px;
}
.pagex .el-form--inline .el-form-item {
margin-right: 30px;
}
.pagex .el-message--info {
min-width: auto !important;
border: 0px !important;
background: rgba(0, 0, 0, 0.4) !important;
}
.pagex .el-message--info .el-icon-info {
display: none;
}
.pagex .el-message--info .el-message__content {
color: #fff !important;
}
.pagex .el-input__inner {
color: #333 !important;
}
.pagex input::-webkit-input-placeholder {
color: #A1ACC1 !important;
}
.pagex .placehoload input::-webkit-input-placeholder {
color: #333 !important;
}
.pagex .el-table,
.pagex .el-table thead {
color: #333;
}
.pagex .el-checkbox__input.is-checked .el-checkbox__inner,
.pagex .el-checkbox__input.is-indeterminate .el-checkbox__inner {
background-color: #1969F9;
border-color: #1969F9;
}
.pagex .el-select .el-input__inner:focus {
border-color: #C0C4CC;
}
.pagex .el-table__header th {
font-weight: normal;
}
.pagex .el-table__header th {
background-color: #F1F4FA;
}
.pagex .el-table--enable-row-hover .el-table__body tr:hover > td,
.pagex .el-table__body tr.hover-row.current-row > td,
.pagex .el-table__body tr.hover-row.el-table__row--striped.current-row > td,
.pagex .el-table__body tr.hover-row.el-table__row--striped > td,
.pagex .el-table__body tr.hover-row > td {
background: #F1F8FF !important;
}
.pagex ::-webkit-scrollbar {
width: 10px;
height: 10px;
background: transparent;
}
.pagex ::-webkit-scrollbar-track {
background: transparent;
}
.pagex ::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #c1c1c1;
}
.pagex ::-webkit-scrollbar-thumb:hover {
background-color: #a8a8a8;
}
.pagex .el-table td,
.pagex .el-table th.is-leaf,
.pagex .el-table--border,
.pagex .el-table--group {
border-color: #D2D9E7;
}
.pagex .el-table--border::after,
.pagex .el-table--group::after,
.pagex .el-table::before {
background-color: #D2D9E7;
}
.pagex .el-table__fixed-body-wrapper {
z-index: 4;
}
.zdypop .el-form-item__label {
color: #333;
}
......@@ -320,17 +215,6 @@ body {
background-color: #F1F4FA;
border-color: #F1F4FA;
}
.el-button--primary {
background: #1969F9;
border-color: #1969F9;
}
.el-cascader-panel {
min-height: 150px;
max-height: 300px;
}
.placehoload .el-input__inner::-webkit-input-placeholder {
color: #333;
}
.el-tooltip__popper {
box-shadow: 1px 2px 10px 0px rgba(119, 135, 145, 0.5);
border: 1px solid #387FFF !important;
......@@ -471,4 +355,19 @@ body {
color: #5e6d82;
line-height: 1.5em;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
background: transparent;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #c1c1c1;
}
::-webkit-scrollbar-thumb:hover {
background-color: #a8a8a8;
}
/*# sourceMappingURL=common.min.css.map */
\ 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;AACA;EACE,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,SAAA;EACA,UAAA;;AAGF;AACA;AACA;AACA;EACE,eAAA;EACA,YAAA;EACA,wBAAA;;AAGF,KAAK;AACL,KAAK;AACL,KAAK;EACH,eAAA;;AAGF;EACE,yBAAA;EACA,iBAAA;;AAGF;AACA;AACA;EACE,gBAAA;;AAGF;AACA;AACA;AACA;AACA;AACA;EACE,eAAA;EACA,gBAAA;;AAGF;AACA;AACA;EACE,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,sBAAA;;AAGF;EACE,sBAAA;;AAIF;EACE,qBAAA;EACA,gBAAA;EACA,OAAA;EACA,sBAAA;EACA,oBAAA;;AAGF;EACE,uBAAA;EACA,mBAAA;;AAGF;EACE,iBAAA;EACA,UAAA;EACA,YAAA;EACA,YAAA;EACA,sBAAA;;AAGF;EACE,8BAAA;EACA,sBAAA;;AAGF;EACE,aAAA;EACA,sBAAA;;AAGF;EACE,aAAA;EACA,mBAAA;;;AAIF;EACE,8BAAA;;;AAIF;EACE,6BAAA;;;AAIF;EACE,uBAAA;;;AAIF;EACE,mBAAA;;AAGF;EACE,mBAAA;EACA,gBAAA;EACA,eAAA;EACA,WAAA;EACA,OAAA;;AAGF;AACA;EACE,WAAA;EACA,YAAA;EACA,iCAAA;;AAGF;EACE,kBAAA;EACA,mBAAA;;AAGF;EACE,cAAA;;AAGF;EACE,cAAA;;A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,cAErB;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;AACD,qBAbF,WAaG;AAAD,cAbF,WAaG;EACC,cAAA;EACA,mBAAA;EACA,yBAAA;;AAGF,qBAnBF,WAmBG;AAAD,cAnBF,WAmBG;EACC,yBAAA;EACA,WAAA;EACA,mBAAA;;AAEA,qBAxBJ,WAmBG,mBAKE;AAAD,cAxBJ,WAmBG,mBAKE;AACD,qBAzBJ,WAmBG,mBAME;AAAD,cAzBJ,WAmBG,mBAME;EACC,WAAA;EACA,mBAAA;EACA,yBAAA;;AAOR;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,qBAAA;;AAIJ;EACE,iBAAA;EACA,yBAAA;EACA,kBAAA;EACA,8BAAA;EACA,cAAA;;AALF,UAOE;EACE,eAAA;EACA,cAAA;EACA,kBAAA","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,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;EAC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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
......@@ -11,7 +11,7 @@
<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">
<font class="fl">{{item.title}}</font>
<font class="fl">{{ item.title }}</font>
<span class="icon iconfont fl" @click.stop="closetab(item.path)"></span>
</a>
</div>
......@@ -27,7 +27,7 @@
<div class="login-v fl">
<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 namex">{{ userinfo.contacts_name || '猎芯网用户' }}</div>
<div class="fl lo-box-drop">
<span class="icon iconfont"></span>
<div class="drop-box">
......@@ -125,6 +125,9 @@
<div class="item" :class="{'act':tabSure==5}">
<span class="icon iconfont"></span>
</div>
<div class="item" :class="{'act':tabSure==6}">
<span class="icon iconfont"></span>
</div>
</div>
<div class="kf-box">
<el-tooltip placement="left" effect="light">
......@@ -138,14 +141,6 @@
<span>邮箱:</span>
<font>vendor@ichunt.com</font>
</div>
<!-- <div class="itemg">
<span>手机号:</span>
<font></font>
</div>
<div class="itemg">
<span>电话:</span>
<font></font>
</div> -->
<div class="itemg">
<span>QQ:</span>
<font>
......@@ -177,22 +172,19 @@
<el-button type="primary" @click="submitForm('ruleForm')">确 定</el-button>
</el-form-item>
</el-form>
</el-dialog>
</div>
</template>
<script>
import Vue from 'vue';
import Util from "../tool";
import {Form, FormItem, Input, Menu, MenuItem, Submenu, MenuItemGroup, Message, Dialog, Button, 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);
import Vue from 'vue';
import Util from "../tool";
import {Form, FormItem, Input, Menu, MenuItem, Submenu, MenuItemGroup, Message, Dialog, Button, 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);
export default {
export default {
name: 'menus',
props: {},
created() {
......@@ -396,11 +388,11 @@
})
}
}
}
}
</script>
<style lang="less">
.kf-boxs {
.kf-boxs {
width: 200px;
padding: 0 10px;
padding-bottom: 20px;
......@@ -424,14 +416,14 @@
margin-top: 20px;
}
}
}
#app {
#app {
padding-left: 226px;
padding-top: 56px;
}
}
.kf-box {
.kf-box {
position: fixed;
right: 0px;
width: 61px;
......@@ -445,9 +437,9 @@
width: 61px;
cursor: pointer;
}
}
}
.nav-top {
.nav-top {
position: fixed;
left: 0px;
top: 0px;
......@@ -691,9 +683,9 @@
}
}
}
}
.nav-left2 {
.nav-left2 {
width: 62px;
background: #fff;
position: fixed;
......@@ -752,9 +744,9 @@
color: #646B78;
}
}
}
}
.nav-left {
.nav-left {
width: 226px;
background: #fff;
position: fixed;
......@@ -912,5 +904,5 @@
background: #D2D9E7;
}
}
}
}
</style>
\ No newline at end of file
<template>
<div class="brandxk pagex">
<div class="brand-con">
<el-form :inline="true" :model="formInline" class="demo-form-inline">
<el-form :inline="true" :model="formParam" class="demo-form-inline">
<el-form-item label="品牌">
<el-autocomplete v-model="formInline.brand_name" :trigger-on-focus="false" @keyup.enter.native="submit"
:fetch-suggestions="querySearchAsync2" placeholder="请输入品牌" @select="handleSelectBrandName">
</el-autocomplete>
<el-autocomplete v-model="formParam.brand_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsyncBrand" placeholder="请输入品牌" clearable></el-autocomplete>
</el-form-item>
<el-form-item label="关键词">
<el-input v-model="formInline.keyword" placeholder="请输入关键词" @keyup.enter.native="submit"></el-input>
<el-input v-model="formParam.keyword" placeholder="请输入关键词" @keyup.enter.native="submit" clearable></el-input>
</el-form-item>
<el-form-item>
......@@ -22,10 +21,8 @@
<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 style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="37">
</el-table-column>
<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>
<el-table-column prop="brand_name" label="品牌" min-width="15%">
......@@ -37,7 +34,6 @@
<img :src="scope.row.brand_logo" class="brand-img" alt="">
</template>
</el-table-column>
<el-table-column prop="sku_num" label="型号量" min-width="10%">
</el-table-column>
<el-table-column prop="remark" label="品牌备注" min-width="15%">
......@@ -46,17 +42,14 @@
</el-table-column>
<el-table-column prop="update_time" label="更新时间" min-width="15%">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next,jumper" :page-size="limit" :total="total"
@current-change="handleCurrentChange" :current-page="page">
</el-pagination>
<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>
<!--修改品牌弹窗-->
<el-dialog title="修改品牌" :visible.sync="dialogVisible" width="1000px">
<div class="kc-mask">
<el-table :data="updateBranddata" border style="width: 100%">
<el-table :data="updateBranddata" border max-height="600">
<el-table-column prop="brand_name" label="品牌" width="180">
</el-table-column>
<el-table-column prop="region" label="地区" width="100">
......@@ -86,34 +79,20 @@
</el-dialog>
</div>
<Menu />
<Menu/>
</div>
</template>
<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'
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 {
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'
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() {
......@@ -124,9 +103,8 @@
limit: 10,
page: 1,
downHref: "",
formInline: {
formParam: {
brand_name: '',
brand_id: '',
keyword: ''
},
disabled: false,
......@@ -135,42 +113,26 @@
multipleSelection: []
};
},
watch: {
'formInline.brand_name'(val){
if(!val){
this.formInline.brand_id=""
return
}
var arr_=[]
this.brandList=this.brandList||[]
for(var i=0;i<this.brandList.length;i++){
arr_.push(this.brandList[i].value)
}
if(arr_.indexOf(val)==-1){
this.formInline.brand_id=""
}
}
},
created() {
this.getData();
},
computed: {},
methods: {
getData() {
this.$http('get', "/api/brand/get_brand_list", {
page: this.page,
limit: this.limit,
brand_id: this.formInline.brand_id,
brand_name: this.formInline.brand_name,
keyword: this.formInline.keyword,
brand_id: this.formParam.brand_id,
brand_name: this.formParam.brand_name,
keyword: this.formParam.keyword
}).then(res => {
if (res.code === 0) {
this.tableData = res.data.list || [];
this.total = Number(res.data.total) || 0;
} else {
this.$message(res.msg);
this.$message({
message: res.msg,
type: 'warning'
});
}
})
},
......@@ -194,55 +156,58 @@
}
this.$http('post', "/api/brand/update_brand", arr_).then(res => {
if (res.code == 0) {
this.$message("修改成功");
this.$message({
message: '修改成功',
type: 'success'
});
this.getData()
this.dialogVisible = false
} else {
this.$message(res.msg);
this.$message({
message: res.msg,
type: 'warning'
});
}
})
},
querySearchAsync2(queryString, cb) {
this.$http('get', "/api/search/getbrand", {
brand_name: this.formInline.brand_name
//品牌
querySearchAsyncBrand(queryString, cb) {
this.$http('get', "/api/brand/get_stand_brand", {
brand: queryString
}).then(res => {
if (res.code == 0) {
var arrlist_ = res.data || [];
this.brandList = []
this.formInline.brand_id = ""
if (res.data.list.length > 0) {
var arrlist_ = res.data.list || [];
var arr_ = []
for (var i = 0; i < arrlist_.length; i++) {
this.brandList.push({
value: arrlist_[i]['brand_name'],
brand_id: arrlist_[i]['brand_id']
arr_.push({
value: arrlist_[i]
})
}
cb(this.brandList);
cb(arr_);
} else {
cb([]);
}
}
})
},
handleSelectBrandName(item) {
console.log(this.brandList)
this.formInline.brand_name = item.value;
this.formInline.brand_id = item.brand_id;
},
submit() {
if(this.formInline.keyword&&this.formInline.keyword.length==1){
if (this.formParam.keyword && this.formParam.keyword.length == 1) {
this.$message("关键词不能少于2个字符");
return
}
this.page = 1;
this.getData();
},
downOut() {
if (this.disabled) {
this.$message("正在导出中,请不要重复点击");
return
}
this.$http('post', "/api/brand/export_brand", {
brand_id: this.formInline.brand_id,
brand_name: this.formInline.brand_name,
keyword: this.formInline.keyword,
brand_id: this.formParam.brand_id,
brand_name: this.formParam.brand_name,
keyword: this.formParam.keyword,
}).then(res => {
if (res.code == 0) {
this.disabled = true
......@@ -263,7 +228,10 @@
}).then(res => {
if (res.code == 0) {
this.disabled = false
this.$message("导出成功")
this.$message({
message: '导出成功',
type: 'success'
});
this.downHref = res.data
setTimeout(() => {
this.$refs.downs.click()
......@@ -290,9 +258,7 @@
}
MessageBox.confirm('确认到删除当前勾选数据吗?', {
type: 'error'
})
.then(() => {
}).then(() => {
this.$http('post', "/api/brand/delete_brand", {
id: arr.join(",")
}).then(res => {
......@@ -303,10 +269,13 @@
this.$message(res.msg);
}
})
}).catch(()=>{
}).catch(() => {
})
},
handleSizeChange(val) {
this.limit = val;
this.getData();
},
handleCurrentChange(val) {
this.page = val;
......@@ -314,15 +283,14 @@
},
handleSelectionChange(val) {
this.multipleSelection = val || [];
console.log(this.multipleSelection)
}
},
components: {
Menu
}
};
};
</script>
<style scoped>
@import "../../assets/css/goods/brand.min.css";
@import "../../assets/css/goods/brand.min.css";
</style>
\ No newline at end of file
......@@ -51,7 +51,7 @@
</div>
<div class="data-box th-all">
<el-table :data="quote_list" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table :data="quote_list" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="40" align="center"></el-table-column>
<el-table-column prop="goods_name" label="报价型号" width="200"></el-table-column>
<el-table-column prop="brand_name" label="报价品牌" width="200"></el-table-column>
......
......@@ -44,7 +44,7 @@
<el-button type="primary">生成发货单</el-button>
</div>
<div class="data-box th-all" v-if="tableData">
<el-table :data="tableData" border style="width: 100%" @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="spu_name" label="订货公司" min-width="15%"></el-table-column>
<el-table-column prop="brand_name" label="订单状态" min-width="15%"></el-table-column>
......
......@@ -28,7 +28,7 @@
<el-button type="primary">取消发货</el-button>
</div>
<div class="data-box th-all" v-if="tableData">
<el-table :data="tableData" border style="width: 100%" @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="spu_name" label="发货单号" min-width="15%"></el-table-column>
<el-table-column prop="brand_name" label="型号" min-width="15%"></el-table-column>
......@@ -57,7 +57,7 @@
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Pagination);
Vue.use(TableColumn).use(Table).use(Cascader).use(Autocomplete);
export default {
name: "orderTrackGoods",
name: "orderTrackInvoice",
data() {
return {
dialogVisible: false,
......
......@@ -34,7 +34,7 @@
</div>
</el-form>
<div class="data-box th-all" v-if="tableData">
<el-table :data="tableData" border style="width: 100%" @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="spu_name" label="发货单号" min-width="15%"></el-table-column>
<el-table-column prop="brand_name" label="型号" min-width="15%"></el-table-column>
......
......@@ -9,7 +9,6 @@
<el-option label="处理中" value="2"></el-option>
<el-option label="已处理" value="3"></el-option>
<el-option label="失败" value="4"></el-option>
</el-select>
</el-form-item>
<el-form-item label="更新日期">
......@@ -23,19 +22,18 @@
<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>
<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">
<el-table :data="tableData" border style="width: 100%" @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 label="单号" min-width="20%">
<template slot-scope="scope">
<a :href="'/#/listDetail?sn='+scope.row.up_sn+'&id='+scope.row.id" class="f-blue">{{scope.row.up_sn}}</a>
<a :href="'/#/listDetail?sn='+scope.row.up_sn+'&id='+scope.row.id" class="f-blue">{{ scope.row.up_sn }}</a>
</template>
</el-table-column>
<el-table-column prop="file_name" label="文件名字" min-width="20%">
......@@ -53,24 +51,22 @@
<el-table-column prop="create_time" label="上传时间" min-width="20%">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next,jumper" :page-size="limit" :total="total"
@current-change="handleCurrentChange" :current-page="page">
</el-pagination>
<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>
</div>
<Menu />
<Menu/>
</div>
</template>
<script>
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import Tool from '../../tool'
import {
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import Tool from '../../tool'
import {
NODE_ENVS
} from "../../ajax";
import {
} from "../../ajax";
import {
Form,
FormItem,
Select,
......@@ -88,11 +84,12 @@
Dialog,
Upload,
Pagination
} from 'element-ui'
Vue.prototype.$message=Message
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Pagination)
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Upload)
export default {
} from 'element-ui'
Vue.prototype.$message = Message
Vue.use(Button).use(Form).use(Select).use(Option).use(Input).use(FormItem).use(Dialog).use(Pagination)
Vue.use(DatePicker).use(Dropdown).use(DropdownMenu).use(DropdownItem).use(TableColumn).use(Table).use(Upload)
export default {
name: "enter",
data() {
......@@ -100,10 +97,10 @@
total: 0,
limit: 10,
page: 1,
downHref:"",
downHref: "",
uploadUrl: NODE_ENVS + '/api/uploadSku/import',
fileData:{token:Tool.getCookie('token')},
downUrl:NODE_ENVS + '/api/uploadSku/downUploadCsv?token='+Tool.getCookie('token') ,
fileData: {token: Tool.getCookie('token')},
downUrl: NODE_ENVS + '/api/uploadSku/downUploadCsv?token=' + Tool.getCookie('token'),
formInline: {
status: '',
date: ''
......@@ -113,9 +110,9 @@
};
},
watch: {
'formInline.date'(val){
if(!val){
this.formInline.date=[]
'formInline.date'(val) {
if (!val) {
this.formInline.date = []
}
}
},
......@@ -133,11 +130,13 @@
end_time: this.formInline.date[1]
}).then(res => {
if (res.code === 0) {
this.tableData = res.data.list || [];
this.total = Number(res.data.total) || 0;
} else {
this.$message(res.msg);
this.$message({
message: res.msg,
type: 'warning'
});
}
})
},
......@@ -146,12 +145,14 @@
this.getData();
},
handleChange(file, fileList) {
console.log(file.response);
if (!file.response) {
return
return false;
}
if (file.response.code === 0) {
this.$message("导入成功")
this.$message({
message: '导入成功',
type: 'success'
});
this.page = 1;
this.getData();
} else {
......@@ -161,14 +162,20 @@
},
checkdr() {
if (this.multipleSelection.length > 1) {
this.$message("只能选择一条数据导入")
this.$message({
message: '只能选择一条数据导入',
type: 'warning'
});
return
}
if (this.multipleSelection.length == 0) {
this.$message("请至少选择一条数据导入")
this.$message({
message: '请至少选择一条数据导入',
type: 'warning'
});
return
}
this.downHref = NODE_ENVS + '/api/uploadSku/downResult?id=' + this.multipleSelection[0]['id']+'&token='+Tool.getCookie('token')
this.downHref = NODE_ENVS + '/api/uploadSku/downResult?id=' + this.multipleSelection[0]['id'] + '&token=' + Tool.getCookie('token')
setTimeout(() => {
this.$refs.downs.click()
}, 10)
......@@ -176,8 +183,11 @@
},
del() {
if (this.multipleSelection.length == 0) {
this.$message("请至少选择一条数据")
return
this.$message({
message: '请至少选择一条数据',
type: 'warning'
});
return;
}
var arr = [];
for (var i = 0; i < this.multipleSelection.length; i++) {
......@@ -185,23 +195,30 @@
}
MessageBox.confirm('确认到删除当前勾选数据吗?', {
type: 'error'
})
.then(() => {
}).then(() => {
this.$http('get', "/api/uploadSku/del", {
log_ids: arr.join(",")
}).then(res => {
if (res.code === 0) {
this.$message("删除成功");
this.$message({
message: '删除成功',
type: 'success'
});
this.getData()
} else {
this.$message(res.msg);
this.$message({
message: res.msg,
type: 'warning'
});
}
})
}).catch(()=>{
}).catch(() => {
})
},
handleSizeChange(val) {
this.limit = val;
this.getData();
},
handleCurrentChange(val) {
this.page = val;
......@@ -209,15 +226,13 @@
},
handleSelectionChange(val) {
this.multipleSelection = val || [];
console.log(this.multipleSelection)
}
},
components: {
Menu
}
};
};
</script>
<style scoped>
@import "../../assets/css/store/enter.min.css";
@import "../../assets/css/store/enter.min.css";
</style>
\ No newline at end of file
<template>
<section class="store pagex">
<div class="store-con">
<el-form :inline="true" :model="formInline" class="demo-form-inline">
<el-form :inline="true" :model="formParam" class="demo-form-inline">
<el-form-item label="型号">
<el-autocomplete v-model="formInline.goods_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsync" placeholder="请输入型号"></el-autocomplete>
<el-autocomplete v-model="formParam.goods_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsync" placeholder="请输入型号" clearable></el-autocomplete>
</el-form-item>
<el-form-item label="品牌">
<el-autocomplete v-model="formInline.brand_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsyncBrand" placeholder="请输入品牌"></el-autocomplete>
<el-autocomplete v-model="formParam.brand_name" :trigger-on-focus="false" @keyup.enter.native="onSubmit" :fetch-suggestions="querySearchAsyncBrand" placeholder="请输入品牌" clearable></el-autocomplete>
</el-form-item>
<el-form-item label="状态">
<el-select v-model="formParam.join_inquiry" placeholder="全部" clearable>
<el-option label="全部" value=""></el-option>
<el-option label="参与询价" value="1"></el-option>
<el-option label="不参与询价" value="2"></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="onSubmit">搜索</el-button>
......@@ -16,11 +23,11 @@
<el-button type="primary" @click="addBestgoodsChange">新增</el-button>
<el-button type="primary" @click="updateBestgoods">修改</el-button>
<el-button type="danger" @click="delBestgoods">删除</el-button>
<el-button type="primary">参与询价</el-button>
<el-button type="primary">不参与询价</el-button>
<el-button type="primary" @click="isJoinInquiryChange(1)">参与询价</el-button>
<el-button type="primary" @click="isJoinInquiryChange(2)">不参与询价</el-button>
</div>
<div class="data-box">
<el-table :data="list" border style="width: 100%" @selection-change="handleSelectionChange">
<el-table :data="list" border max-height="600" @selection-change="handleSelectionChange">
<el-table-column fixed type="selection" width="37"></el-table-column>
<el-table-column prop="goods_name" label="型号" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="brand_name" label="品牌" :show-overflow-tooltip="true"></el-table-column>
......@@ -31,7 +38,7 @@
<el-table-column prop="stock_number" label="库存" width="120" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="join_inquiry_str" label="状态" width="120" :show-overflow-tooltip="true">
<template slot-scope="scope">
<el-tag :type="scope.row.join_inquiry === 1 ? 'success' : 'primary'" disable-transitions>{{scope.row.join_inquiry_str}}</el-tag>
<el-tag :type="scope.row.join_inquiry === 1 ? 'success' : 'primary'" disable-transitions>{{ scope.row.join_inquiry_str }}</el-tag>
</template>
</el-table-column>
<el-table-column prop="create_time" label="创建时间" width="160" :show-overflow-tooltip="true"></el-table-column>
......@@ -102,7 +109,7 @@
</div>
<div class="content row">
<ul class="row year-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in year" :class="{curr:yearIndex==indexY}" @click="tabChange(indexY,1)">{{v}}年</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in year" :class="{curr:yearIndex==indexY}" @click="tabChange(indexY,1)">{{ v }}年</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -116,7 +123,7 @@
</div>
<div class="content row">
<ul class="row period-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndex==indexY}" @click="tabChange(indexY,2)">{{v}}</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndex==indexY}" @click="tabChange(indexY,2)">{{ v }}</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -130,7 +137,7 @@
</div>
<div class="content row">
<ul class="row period-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndexTwo==indexY}" @click="tabChange(indexY,3)">{{v}}</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndexTwo==indexY}" @click="tabChange(indexY,3)">{{ v }}</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -217,7 +224,7 @@
</div>
<div class="content row">
<ul class="row year-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in year" :class="{curr:yearIndex==indexY}" @click="tabChange(indexY,1)">{{v}}年</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in year" :class="{curr:yearIndex==indexY}" @click="tabChange(indexY,1)">{{ v }}年</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -231,7 +238,7 @@
</div>
<div class="content row">
<ul class="row period-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndex==indexY}" @click="tabChange(indexY,2)">{{v}}</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndex==indexY}" @click="tabChange(indexY,2)">{{ v }}</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -245,7 +252,7 @@
</div>
<div class="content row">
<ul class="row period-list">
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndexTwo==indexY}" @click="tabChange(indexY,3)">{{v}}</li>
<li class="row rowCenter verCenter" v-for="(v,indexY) in period" :class="{curr:periodIndexTwo==indexY}" @click="tabChange(indexY,3)">{{ v }}</li>
</ul>
</div>
<div class="footer-btn row verCenter">
......@@ -332,7 +339,7 @@ export default {
}
],
updateBestgoodsParam: [],
formInline: {
formParam: {
goods_name: '',
brand_name: '',
join_inquiry: ''
......@@ -352,7 +359,7 @@ export default {
updateBestgoods() {
if (this.multipleSelection.length != 1) {
this.$message({
message: '请勾选一条数据',
message: '请支持修改一条数据',
type: 'warning'
});
return false;
......@@ -549,6 +556,40 @@ export default {
});
},
//是否参与询价
isJoinInquiryChange(type) {
var self = this;
if (this.multipleSelection.length <= 0) {
this.$message({
message: '请勾选数据',
type: 'warning'
});
return false;
}
var best_goods_ids = this.multipleSelection.map(obj => {
return obj.id;
})
this.$http('post', "/api/bestgoods/isJoinInquiry", {join_inquiry: type, best_goods_ids: best_goods_ids.join(',')}).then(res => {
if (res.code === 0) {
this.$message({
message: res.msg,
type: 'success',
duration: 2000,
onClose() {
self.getData();
}
});
} else {
this.$message({
message: res.msg,
type: 'warning'
});
}
})
},
//批次关闭
clear(type, index) {
if (type == 1) {
......@@ -697,10 +738,8 @@ export default {
}
},
getData() {
this.$http('GET', "/api/bestgoods/getBestGoodsList", {
page: this.page,
limit: this.limit
}).then(res => {
var params = Object.assign({}, {page: this.page, limit: this.limit}, this.formParam);
this.$http('GET', "/api/bestgoods/getBestGoodsList", params).then(res => {
if (res.code === 0) {
this.list = res.data.list || [];
this.total = Number(res.data.count) || 0;
......@@ -709,6 +748,7 @@ export default {
}
})
},
//型号
querySearchAsync(queryString, cb) {
this.$http('get', "/api/search/getspu", {
spu_name: queryString
......@@ -729,6 +769,7 @@ export default {
}
})
},
//品牌
querySearchAsyncBrand(queryString, cb) {
this.$http('get', "/api/brand/get_stand_brand", {
brand: queryString
......
......@@ -12,7 +12,7 @@
</span>
</div>
<div class="data-box" v-if="tableData">
<el-table :data="tableData" border style="width: 100%">
<el-table :data="tableData" border max-height="600">
<el-table-column fixed prop="item_id" label="ID" width="75">
</el-table-column>
<el-table-column prop="status" fixed label="状态" width="120">
......
......@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="http://yunxin.liexindev.net/favicon.ico">
<title>猎芯云芯商家</title>
<link href="http://yunxin.liexindev.net/static/js/0.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/1.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/10.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/11.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/12.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/13.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/14.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/15.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/16.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/17.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/18.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/19.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/2.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/20.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/21.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/22.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/23.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/24.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/25.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/26.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/27.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/28.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/29.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/3.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/30.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/31.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/32.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/33.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/4.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/5.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/6.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/7.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/8.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/9.1663813342121.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/app.1663813342121.js" rel="preload" as="script"></head>
<link href="http://yunxin.liexindev.net/static/js/0.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/1.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/10.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/11.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/12.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/13.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/14.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/15.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/16.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/17.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/18.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/19.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/2.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/20.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/21.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/22.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/23.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/24.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/25.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/26.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/27.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/28.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/29.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/3.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/30.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/31.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/32.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/33.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/4.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/5.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/6.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/7.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/8.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/9.1663821732443.js" rel="prefetch"><link href="http://yunxin.liexindev.net/static/js/app.1663821732443.js" rel="preload" as="script"></head>
<body>
<noscript>
<strong>网络异常,请稍后加载</strong>
......@@ -16,5 +16,5 @@
<script>
window.userInfo=""
</script>
<script type="text/javascript" src="http://yunxin.liexindev.net/static/js/app.1663813342121.js"></script></body>
<script type="text/javascript" src="http://yunxin.liexindev.net/static/js/app.1663821732443.js"></script></body>
</html>
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