|
@@ -782,7 +782,19 @@ export default {
|
|
|
computed: {
|
|
|
|
|
|
},
|
|
|
-
|
|
|
+ watch: {
|
|
|
+ listAdd: {
|
|
|
+ deep: true,
|
|
|
+ handler: function (item) {
|
|
|
+ this.listAdd.forEach(function(i){
|
|
|
+ if(parseInt(i.quitNumber) > (parseInt(i.checkoutNumber)-parseInt(i.quitNumberC))){
|
|
|
+ i.quitNumber = parseInt(i.checkoutNumber)-parseInt(i.quitNumberC)
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
created() {
|
|
|
const that = this
|
|
|
GetDataByName({ 'name': 'getUserPCButtons', 'parammaps': { 'jwt_username': Cookies.get('name') }}).then(response => {
|