完善商品导入的模板
This commit is contained in:
parent
2930dba1ab
commit
7407734832
Binary file not shown.
@ -502,10 +502,11 @@ export function getNowFormatDateTime() {
|
||||
}
|
||||
|
||||
/**
|
||||
* js获取当前时间, 格式“MMddHHMMSS”
|
||||
* js获取当前时间, 格式“yyyyMMddHHMMSS”
|
||||
*/
|
||||
export function getNowFormatStr() {
|
||||
let date = new Date();
|
||||
let year = date.getFullYear();
|
||||
let month = date.getMonth() + 1;
|
||||
let strDate = date.getDate();
|
||||
let strHours = date.getHours();
|
||||
@ -526,7 +527,7 @@ export function getNowFormatStr() {
|
||||
if (strSeconds >= 0 && strSeconds <= 9) {
|
||||
strSeconds = "0" + strSeconds;
|
||||
}
|
||||
return month +''+ strDate +''+ strHours +''+ strMinutes +''+ strSeconds;
|
||||
return year +''+ month +''+ strDate +''+ strHours +''+ strMinutes +''+ strSeconds;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -392,6 +392,7 @@
|
||||
}
|
||||
},
|
||||
handleImportXls() {
|
||||
this.$message.warning('最近增加了多属性、仓位货架、制造商、自定义列,请下载最新的模板!');
|
||||
let importExcelUrl = this.url.importExcelUrl
|
||||
let templateUrl = '/doc/goods_template.xls'
|
||||
let templateName = '商品Excel模板[下载]'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user