|
|
@@ -208,6 +208,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onSubmit(){
|
|
|
+ console.log(this.form,'form111')
|
|
|
this.$refs.formRef.validate(async (valid)=>{
|
|
|
if (!valid) return false
|
|
|
const res = await this.$api.requested({
|
|
|
@@ -251,6 +252,8 @@ export default {
|
|
|
//将当前选中行改为选中状态
|
|
|
this.$refs.tableRef.$refs.table.toggleRowSelection(selection[0]);
|
|
|
this.form.sa_orderid = selection[0].sa_orderid
|
|
|
+ }else {
|
|
|
+ this.form.sa_orderid = selection[0].sa_orderid
|
|
|
}
|
|
|
}
|
|
|
},
|