|
@@ -168,6 +168,7 @@ export default {
|
|
contractName:[],//技能博物馆-付款审批管理-子表合同名称
|
|
contractName:[],//技能博物馆-付款审批管理-子表合同名称
|
|
assetName:[],//技能博物馆- 资产处置-资产名称
|
|
assetName:[],//技能博物馆- 资产处置-资产名称
|
|
sealName:[],//技能博物馆-印章名称
|
|
sealName:[],//技能博物馆-印章名称
|
|
|
|
+ materialName:[],//技能博物馆 -物料名称
|
|
unit:[ //技能博物馆-物料库存-单位
|
|
unit:[ //技能博物馆-物料库存-单位
|
|
{label:'个',value:'个'},
|
|
{label:'个',value:'个'},
|
|
{label:'支',value:'支'},
|
|
{label:'支',value:'支'},
|
|
@@ -304,6 +305,18 @@ export default {
|
|
this.$message.error(res.message)
|
|
this.$message.error(res.message)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ //技能博物馆-物料申领-物料名称
|
|
|
|
+ await this.getAction('/oa/material/list',{pageSize:10000,pageNo:1}).then(res => {
|
|
|
|
+ if (res.success) {
|
|
|
|
+ var aa=[]
|
|
|
|
+ res.result.records.map(item=>{
|
|
|
|
+ aa.push({value:item.materialName ,label:item.materialName,unit:item.unit })
|
|
|
|
+ })
|
|
|
|
+ this.dynamicData.materialName = aa
|
|
|
|
+ } else {
|
|
|
|
+ this.$message.error(res.message)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
|
|
//技能博物馆-资产处置-子表资产名称
|
|
//技能博物馆-资产处置-子表资产名称
|
|
await this.getAction('/oa/asset/listByStatus',{pageSize:10000,pageNo:1}).then(res => {
|
|
await this.getAction('/oa/asset/listByStatus',{pageSize:10000,pageNo:1}).then(res => {
|
|
@@ -1033,6 +1046,15 @@ export default {
|
|
})
|
|
})
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ if(this.processData.businessTable == 'application_form' ){
|
|
|
|
+ value.map(item=>{
|
|
|
|
+ this.dynamicData.materialName.map(event=>{
|
|
|
|
+ if(item.material_name2==event.value){
|
|
|
|
+ item.unit = event.unit
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ }
|
|
},
|
|
},
|
|
specialTerms(value,key){
|
|
specialTerms(value,key){
|
|
var that = this
|
|
var that = this
|
|
@@ -1148,6 +1170,11 @@ export default {
|
|
if(key =='sublist'){
|
|
if(key =='sublist'){
|
|
this.tableCalculation(value)
|
|
this.tableCalculation(value)
|
|
|
|
|
|
|
|
+ }
|
|
|
|
+ //技能博物馆-物料申领-子表
|
|
|
|
+ if(key =='child&application_form_b'){
|
|
|
|
+ this.tableCalculation(value)
|
|
|
|
+
|
|
}
|
|
}
|
|
//技能博物馆-支付审批申请管理-子表
|
|
//技能博物馆-支付审批申请管理-子表
|
|
// if(key =='sublist'){
|
|
// if(key =='sublist'){
|