|
@@ -2646,11 +2646,12 @@ export default {
|
|
|
} else {
|
|
|
if(this.createTempCont.contract==1){
|
|
|
this.add_dialog_saveSave2()
|
|
|
+ } else {
|
|
|
+ this.get_table_data()
|
|
|
}
|
|
|
this.dialogFormVisibleCont = false
|
|
|
|
|
|
- this.get_table_data()
|
|
|
-
|
|
|
+ // TODO:ss
|
|
|
this.$notify({
|
|
|
title: '',
|
|
|
message: '保存成功',
|
|
@@ -2702,6 +2703,7 @@ export default {
|
|
|
duration: 2000
|
|
|
})
|
|
|
} else {
|
|
|
+ this.get_table_data()
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -2765,7 +2767,7 @@ export default {
|
|
|
|
|
|
|
|
|
form_add_cont(row) {
|
|
|
-
|
|
|
+ console.log(row,'当前信息===hss');
|
|
|
this.createTempCont = Object.assign({}, row)
|
|
|
console.log(this.createTempCont.description)
|
|
|
if(this.createTempCont.description == undefined || this.createTempCont.description == null){
|
|
@@ -2773,6 +2775,9 @@ export default {
|
|
|
}
|
|
|
console.log(this.createTempCont.description,'====')
|
|
|
this.reset_create_cont()
|
|
|
+ // 初始化填型号+输出号
|
|
|
+ this.listAddCont = [{providerName:"",providerId: "0",eqId: row.eqId,contractId: "0",amount:"",contractCode:"",date:"",eqCode:row.eqCode, eqName:row.eqName, remark:"",typea:"",}]
|
|
|
+
|
|
|
this.getDepartParam2.parammaps.pastureId = this.createTempCont.pastureId
|
|
|
this.get_depart_list2()
|
|
|
this.createTempCont.RUCode = row.repairCode
|
|
@@ -2781,6 +2786,7 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs['createTempCont'].clearValidate()
|
|
|
})
|
|
|
+
|
|
|
//新增生成单号
|
|
|
this.get_create_num()
|
|
|
},
|
|
@@ -2818,11 +2824,10 @@ export default {
|
|
|
|
|
|
this.createTempCont.description = ''
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- this.listAddCont = [{providerName:"",providerId: "0",eqId: "0",contractId: "0",amount:"",contractCode:"",date:"",eqCode:"",eqName:"",remark:"",typea:"",}]
|
|
|
+ // this.listAddCont = [{providerName:"",providerId: "0",eqId: "0",contractId: "0",amount:"",contractCode:"",date:"",eqCode:"",eqName:"",remark:"",typea:"",}]
|
|
|
|
|
|
},
|
|
|
|