|
@@ -166,6 +166,8 @@ export default {
|
|
conferenceRoom:[],//技能博物馆会议室信息
|
|
conferenceRoom:[],//技能博物馆会议室信息
|
|
paymentNumber:[], // 技能博物馆-付款编号
|
|
paymentNumber:[], // 技能博物馆-付款编号
|
|
contractName:[],//技能博物馆-付款审批管理-子表合同名称
|
|
contractName:[],//技能博物馆-付款审批管理-子表合同名称
|
|
|
|
+ assetName:[],//技能博物馆- 资产处置-资产名称
|
|
|
|
+ sealName:[],//技能博物馆-印章名称
|
|
unit:[ //技能博物馆-物料库存-单位
|
|
unit:[ //技能博物馆-物料库存-单位
|
|
{label:'个',value:'个'},
|
|
{label:'个',value:'个'},
|
|
{label:'支',value:'支'},
|
|
{label:'支',value:'支'},
|
|
@@ -290,6 +292,51 @@ export default {
|
|
this.$message.error(res.message)
|
|
this.$message.error(res.message)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ //技能博物馆-印章申请-印章名称
|
|
|
|
+ await this.getAction('/sealArchives/sealArchives/listByState',{pageSize:10000,pageNo:1}).then(res => {
|
|
|
|
+ if (res.success) {
|
|
|
|
+ var aa=[]
|
|
|
|
+ res.result.records.map(item=>{
|
|
|
|
+ aa.push({value:item.sealName,label:item.sealName})
|
|
|
|
+ })
|
|
|
|
+ this.dynamicData.sealName = aa
|
|
|
|
+ } else {
|
|
|
|
+ this.$message.error(res.message)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ //技能博物馆-资产处置-子表资产名称
|
|
|
|
+ await this.getAction('/oa/asset/listByStatus',{pageSize:10000,pageNo:1}).then(res => {
|
|
|
|
+ if (res.success) {
|
|
|
|
+ var aa=[]
|
|
|
|
+ res.result.records.map(item=>{
|
|
|
|
+ aa.push({
|
|
|
|
+ value:item.assetNumber,
|
|
|
|
+ label:item.assetNumber,
|
|
|
|
+ assetName:item.assetName,
|
|
|
|
+ assetsCategory:item.assetsCategory,
|
|
|
|
+ brand:item.brand,
|
|
|
|
+ unitName:item.unitName,
|
|
|
|
+ model:item.model,
|
|
|
|
+ unit :item.unit ,
|
|
|
|
+ quantity:item.quantity,
|
|
|
|
+ amount:item.amount,
|
|
|
|
+ exp:item.exp,
|
|
|
|
+ purhcaseDate:item.purhcaseDate,
|
|
|
|
+ inDate:item.inDate,
|
|
|
|
+ place:item.place,
|
|
|
|
+ user:item.user,
|
|
|
|
+ userDept:item.userDept,
|
|
|
|
+ state :item.state ,
|
|
|
|
+ remark:item.remark,
|
|
|
|
+ attachment:item.attachment
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ this.dynamicData.assetName = aa
|
|
|
|
+ } else {
|
|
|
|
+ this.$message.error(res.message)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
|
|
//技能博物馆人员信息
|
|
//技能博物馆人员信息
|
|
await this.getAction('/sys/user/list', { pageSize: -1}).then(res => {
|
|
await this.getAction('/sys/user/list', { pageSize: -1}).then(res => {
|
|
@@ -952,6 +999,29 @@ export default {
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ if(this.processData.businessTable == 'add_assets_a' ){
|
|
|
|
+ value.map(item=>{
|
|
|
|
+ this.dynamicData.assetName.map(event=>{
|
|
|
|
+ if(item.asset_number==event.value){
|
|
|
|
+ item.asset_name = event.assetName
|
|
|
|
+ item.assets_category = event.assetsCategory
|
|
|
|
+ item.brand = event.brand
|
|
|
|
+ item.company = event.unitName
|
|
|
|
+ item.specifications_models = event.model
|
|
|
|
+ item.unit = event.unit
|
|
|
|
+ item.amount = event.quantity
|
|
|
|
+ item.sum = event.amount
|
|
|
|
+ item.durable_years = event.exp
|
|
|
|
+ item.acquisition_date = event.purhcaseDate
|
|
|
|
+ item.input_date = event.inDate
|
|
|
|
+ item.storage_location = event.place
|
|
|
|
+ item.asset_state = event.state
|
|
|
|
+ item.accessory = event.attachment
|
|
|
|
+ item.notes = event.remark
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
specialTerms(value,key){
|
|
specialTerms(value,key){
|
|
var that = this
|
|
var that = this
|
|
@@ -1064,12 +1134,18 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
//技能博物馆-支付审批申请管理-子表
|
|
//技能博物馆-支付审批申请管理-子表
|
|
- if(key=='sublist'){
|
|
|
|
|
|
+ if(key =='sublist'){
|
|
this.tableCalculation(value)
|
|
this.tableCalculation(value)
|
|
|
|
|
|
}
|
|
}
|
|
//技能博物馆-支付审批申请管理-子表
|
|
//技能博物馆-支付审批申请管理-子表
|
|
- if(key=='sublist'){
|
|
|
|
|
|
+ // if(key =='sublist'){
|
|
|
|
+ // this.tableCalculation(value)
|
|
|
|
+
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ //技能博物馆-资产处置-子表
|
|
|
|
+ if(key =='child&add_assets'){
|
|
this.tableCalculation(value)
|
|
this.tableCalculation(value)
|
|
|
|
|
|
}
|
|
}
|
|
@@ -1572,6 +1648,27 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if(this.processData.businessTable == 'payment_apply'){//技能博物馆-支付审批管理-自动生成单号
|
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:'FK'}).then(res => {
|
|
|
|
+ formData.payment_number=res
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(this.processData.businessTable == 'bwg_project_start'){//技能博物馆-项目启动-自动生成单号
|
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:'FK'}).then(res => {
|
|
|
|
+ formData.project_number=res
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(this.processData.businessTable == 'bwg_contract_management'){//技能博物馆-合同管理-自动生成单号
|
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:'FK'}).then(res => {
|
|
|
|
+ formData.contract_number=res
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ }
|
|
this.btndisabled = true
|
|
this.btndisabled = true
|
|
await postFormDataAction(url, formData, { jsonContent: jsonPamats })
|
|
await postFormDataAction(url, formData, { jsonContent: jsonPamats })
|
|
.then(res => {
|
|
.then(res => {
|