|
@@ -669,10 +669,12 @@ export default {
|
|
//默认时间/默认当前账号
|
|
//默认时间/默认当前账号
|
|
defualtData(item){
|
|
defualtData(item){
|
|
if(item[1].label =='today'){
|
|
if(item[1].label =='today'){
|
|
- if(item[2].label){
|
|
|
|
|
|
+ if(item[2].label&&item[2].label!=='ss'){
|
|
item[0].value =moment(new Date().toLocaleDateString()).format('YYYY-MM-DD')
|
|
item[0].value =moment(new Date().toLocaleDateString()).format('YYYY-MM-DD')
|
|
- }else{
|
|
|
|
- item[0].value =moment(new Date().toLocaleDateString()).format('YYYY-MM-DD HH:mm')
|
|
|
|
|
|
+ }else if(item[2].label&&item[2].label=='ss'){
|
|
|
|
+ item[0].value =moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
|
|
|
+ } else{
|
|
|
|
+ item[0].value =moment(new Date()).format('YYYY-MM-DD HH:mm')
|
|
}
|
|
}
|
|
var that = this
|
|
var that = this
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
@@ -991,7 +993,7 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- // 技能博物馆---用车申请
|
|
|
|
|
|
+ // 技能博物馆---用车申请-用车人
|
|
if(key == 'car_automobilist' && this.processData.businessTable == 'car_apply'){
|
|
if(key == 'car_automobilist' && this.processData.businessTable == 'car_apply'){
|
|
this.dynamicData.personListJn.map(item =>{
|
|
this.dynamicData.personListJn.map(item =>{
|
|
if(item.label == value){
|
|
if(item.label == value){
|
|
@@ -999,7 +1001,14 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ // 技能博物馆---用车申请-申请人
|
|
|
|
+ if(key == 'applicant' && this.processData.businessTable == 'car_apply'){
|
|
|
|
+ this.dynamicData.personListJn.map(item =>{
|
|
|
|
+ if(item.label == value){
|
|
|
|
+ this.$refs.KFB.setData({apply_department:item.departIds_dictText})
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ }
|
|
// // 技能博物馆---物料库存--金额计算
|
|
// // 技能博物馆---物料库存--金额计算
|
|
// if((key == 'unit_price'||key=='amount') && this.processData.businessTable == 'material_apply'){
|
|
// if((key == 'unit_price'||key=='amount') && this.processData.businessTable == 'material_apply'){
|
|
// var that = this
|
|
// var that = this
|