mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
fix purchase order input bug
This commit is contained in:
@@ -41,7 +41,10 @@
|
||||
export default {
|
||||
data(){
|
||||
return {
|
||||
error: ''
|
||||
error: '',
|
||||
parameters: {
|
||||
fix_amount: this.data.amount
|
||||
}
|
||||
}
|
||||
},
|
||||
validations: {
|
||||
@@ -49,6 +52,11 @@
|
||||
fix_amount: { required }
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
'data': function() {
|
||||
this.parameters.fix_amount = this.data.amount;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submitForm(){
|
||||
this.submit(this.route('api.booking.booking_amount.update', this.data.id), 'put', this.section, true, true)
|
||||
|
||||
Reference in New Issue
Block a user