|
@@ -118,11 +118,12 @@ export default {
|
|
|
this.$nextTick(()=>{
|
|
|
this.$refs['contract'].listData()
|
|
|
})
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
submitForm() {
|
|
|
this.$refs['form'].validate(async valid => {
|
|
|
if (!valid) return
|
|
|
+ this.radio == 3 ? this.form.typemx = '合同借用':this.form.typemx = ''
|
|
|
const res = await this.$api.requested({
|
|
|
"id": 20230116092702,
|
|
|
"content":this.form
|
|
@@ -133,7 +134,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.drawer = false
|
|
|
-
|
|
|
+
|
|
|
this.$store.dispatch('changeDetailDrawer',true)
|
|
|
this.$router.push({path:'/toolBorrowingDetail',query:{id:res.data.sa_orderid,rowindex:res.data.rowindex}})
|
|
|
})
|
|
@@ -214,4 +215,4 @@ export default {
|
|
|
|
|
|
</script>
|
|
|
<style>
|
|
|
-</style>
|
|
|
+</style>
|