|
|
@@ -797,8 +797,8 @@ export default {
|
|
|
async setDefaultData() {
|
|
|
this.projectError = ''
|
|
|
this.paramsProject.content.sys_enterpriseid = this.data.sys_enterpriseid
|
|
|
- this.sa_projectid = ''
|
|
|
- this.projectname = ''
|
|
|
+ this.sa_projectid = this.data.sa_projectid
|
|
|
+ this.projectname = this.data.projectname
|
|
|
this.defaultData.rebatebalance = this.data.rebatebalance;
|
|
|
this.defaultData.finance = this.data.finance;
|
|
|
this.defaultData.fin_info = this.data.finance;
|
|
|
@@ -848,6 +848,7 @@ export default {
|
|
|
},
|
|
|
});
|
|
|
this.tool.showMessage(res, () => {
|
|
|
+ this.drawer = false
|
|
|
this.$emit("onSuccess");
|
|
|
/* if (this.data.type === '标准订单' || this.data.type === '特殊订单') {
|
|
|
this.isusedrebate === 1?this.useRebate(this.data.rebateamount):""
|
|
|
@@ -885,6 +886,7 @@ export default {
|
|
|
},
|
|
|
});
|
|
|
this.tool.showMessage(res, () => {
|
|
|
+ this.drawer = false
|
|
|
this.$emit("onSuccess");
|
|
|
/* if (this.data.type === '标准订单' || this.data.type === '特殊订单') {
|
|
|
this.isusedrebate === 1?this.useRebate(this.data.rebateamount):""
|
|
|
@@ -1000,6 +1002,11 @@ export default {
|
|
|
|
|
|
// this.data.rebate_used = res.msg !== '成功' ? this.data.rebate_used == 0?1:0:this.data.rebate_used
|
|
|
},
|
|
|
+ rowClick(val){
|
|
|
+ this.projectname = val.projectname
|
|
|
+ this.sa_projectid = val.sa_projectid
|
|
|
+ this.projectError = ''
|
|
|
+ }
|
|
|
},
|
|
|
mounted () {
|
|
|
var that = this;
|