Commit a01ee440 by LJM

add

parent 2b4b3f42
Showing with 13 additions and 6 deletions
......@@ -124,7 +124,7 @@
<div class="btn-nav" style="margin-bottom: 0;margin-top: 0">
<el-dropdown @command="handleCommand">
<div class="update">修改&nbsp;|<i class="el-icon-arrow-down"></i></div>
<el-dropdown-menu slot="dropdown">
<el-dropdown-menu>
<el-dropdown-item command="1">修改库存</el-dropdown-item>
<el-dropdown-item command="2">修改交期</el-dropdown-item>
<el-dropdown-item command="3">上架有效期</el-dropdown-item>
......@@ -443,7 +443,7 @@ export default {
brand_name: '',
date: '',
cp_time: '',
source:''
source: ''
},
multipleSelection: [],
selectData: [],
......@@ -475,7 +475,7 @@ export default {
this.getSkuRankList();
},
methods: {
closeBothDialogs(){
closeBothDialogs() {
this.dialogVisibleLog = false;
this.dialogVisibleLogDetail = false;
},
......@@ -581,7 +581,11 @@ export default {
}
})
},
//型号
/**
* 型号
* @param queryString
* @param cb
*/
querySearchAsync(queryString, cb) {
this.$http('get', "/api/search/getspu", {
spu_name: queryString
......@@ -602,7 +606,11 @@ export default {
}
})
},
//品牌
/**
* 品牌
* @param queryString
* @param cb
*/
querySearchAsyncBrand(queryString, cb) {
this.$http('get', "/api/brand/get_stand_brand", {
brand: queryString
......@@ -797,7 +805,6 @@ export default {
//修改上架有效期
this.dialogVisible3 = true;
let currentTime = new Date().getTime();//当前日期毫秒
for (let i = 0; i < this.selectData.length; i++) {
this.selectData[i].cp_time_temp = this.selectData[i].cp_time;
var time = Date.parse(this.selectData[i].cp_time);//上架有效期
......
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