Commit b81ff691 authored by 前端-许佳敏's avatar 前端-许佳敏

merge

parent 8fc4aa8d
...@@ -99,6 +99,7 @@ export default { ...@@ -99,6 +99,7 @@ export default {
'menu.tranactionAbility.enquirySubmit.addEnquiry': '新增需求单', 'menu.tranactionAbility.enquirySubmit.addEnquiry': '新增需求单',
'menu.tranactionAbility.purchaseOrder': '采购订单', 'menu.tranactionAbility.purchaseOrder': '采购订单',
'menu.tranactionAbility.purchaseOrder.purchaseOrderSearch': '订单查询', 'menu.tranactionAbility.purchaseOrder.purchaseOrderSearch': '订单查询',
'menu.tranactionAbility.purchaseOrder.readyAddOrder': '待新增订单',
//物流能力 //物流能力
'menu.logisticsAbility': '物流', 'menu.logisticsAbility': '物流',
......
...@@ -13,6 +13,10 @@ export function isObject(obj: any) { ...@@ -13,6 +13,10 @@ export function isObject(obj: any) {
return Object.prototype.toString.call(obj) === '[object Object]' return Object.prototype.toString.call(obj) === '[object Object]'
} }
export function formatTimeString(date, format: string = 'YYYY-MM-DD HH:MM:SS') {
return date ? moment(date).format(format) : ''
}
export function timeRange(val: number) { export function timeRange(val: number) {
let st, et; let st, et;
switch (val) { switch (val) {
......
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 to comment