Commit dbe2f9d7 by 肖康

x

parent 14ac325b
<template>
<div id="app">
<keep-alive exclude="index,listDetail,inquireDetail">
<keep-alive >
<router-view class="router-view"></router-view>
</keep-alive>
</div>
......
......@@ -65,6 +65,7 @@
<el-menu-item-group>
<el-menu-item :index="'/inquire'">询价管理</el-menu-item>
<el-menu-item :index="'/quote'">报价管理</el-menu-item>
<el-menu-item :index="'/inquire/detail'" style="display:none">报价详情</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="3">
......@@ -75,6 +76,7 @@
<el-menu-item-group>
<el-menu-item :index="'/list'">库存列表</el-menu-item>
<el-menu-item :index="'/enter'">库存导入</el-menu-item>
<el-menu-item :index="'/listDetail'" style="display:none">导入详情</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="4">
......@@ -191,6 +193,7 @@
isIndexTab: true,
tabSure: "",
tabs: "",
width:"",
dialogVisible: false,
ruleForm: {
old_password: '',
......@@ -218,6 +221,7 @@
},
watch: {
$route(to, from) {
let tab_arr = sessionStorage.getItem('tabs')
if (tab_arr) {
this.tabs = JSON.parse(tab_arr);
......@@ -266,10 +270,10 @@
if (lk == "/") {
this.tabSure = 1
}
if (lk == "/inquire" || lk == "/quote") {
if (lk == "/inquire" || lk == "/quote"||lk=='/inquire/detail') {
this.tabSure = 2
}
if (lk == "/list" || lk == "/enter") {
if (lk == "/list" || lk == "/enter"||lk=='/listDetail') {
this.tabSure = 3
}
if (lk == "/goods" || lk == "/brand") {
......
......@@ -74,7 +74,7 @@ const routes = [
path: '/listDetail',
name: 'ListDetail',
meta: {
title: '库存导入详情'
title: '导入详情'
},
component: ListDetail
......
......@@ -590,7 +590,7 @@
if (res.err_code == 0) {
var arrlist_ = res.data || [];
this.brandList = [];
this.ruleForm.brand = "";
//this.ruleForm.brand = "";
for (var i = 0; i < arrlist_.length; i++) {
this.brandList.push({
value: arrlist_[i]['brand_name'],
......
......@@ -15,12 +15,12 @@
<el-table :data="tableData" border style="width: 100%">
<el-table-column fixed prop="item_id" label="ID" width="75">
</el-table-column>
<el-table-column prop="status" fixed label="状态" width="75">
<el-table-column prop="status" fixed label="状态" width="120">
<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" class="f-red1">其他失败</span>
<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" class="f-red1">审核未通过</span>
</template>
</el-table-column>
<el-table-column fixed prop="goods_sn" label="供应商内部型号编码" width="180">
......@@ -84,7 +84,7 @@
Vue.prototype.$message=Message
Vue.use(Pagination).use(TableColumn).use(Table)
export default {
name: "listDetail",
name: "ListDetail",
data() {
return {
......@@ -96,12 +96,20 @@
maxPrice: []
};
},
watch: {},
watch: {
$route(to, from) {
if(to.path==from.path){
this.getInfo()
this.getList()
}
}
},
created() {
this.getInfo()
this.getList()
},
computed: {},
methods: {
getInfo() {
this.$http('get', "/api/uploadSku/info", {
......
......@@ -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.a73382ccd74a95c29f80.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.6fc3967792186e42811d.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.a73382ccd74a95c29f80.js"></script></body>
<script type="text/javascript" src="http://yunxin.liexindev.net/app.6fc3967792186e42811d.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