Remove .DS_Store from everywhere
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								resources/assets/js/views/.DS_Store
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/assets/js/views/.DS_Store
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								resources/assets/js/views/common/.DS_Store
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								resources/assets/js/views/common/.DS_Store
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										13
									
								
								resources/assets/js/views/common/items.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								resources/assets/js/views/common/items.js
									
									
									
									
										vendored
									
									
								
							@@ -41,16 +41,15 @@ const app = new Vue({
 | 
			
		||||
     
 | 
			
		||||
    watch: {
 | 
			
		||||
        'form.sale_price': function (newVal, oldVal) {
 | 
			
		||||
            if (newVal != '' && newVal.search('^(?=.*?[0-9])[0-9.,]+$') == -1) {
 | 
			
		||||
            if (newVal != '' && newVal.search('^(?=.*?[0-9])[0-9.,]+$') !== 0) {
 | 
			
		||||
                this.form.sale_price = oldVal;
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
            if (newVal.search('^(?=.*?[0-9])[0-9.,]+$') == 0) {
 | 
			
		||||
                for (let item of this.regex_condition) {
 | 
			
		||||
                    if (this.form.sale_price.includes(item)) {
 | 
			
		||||
                        this.splice_value = this.form.sale_price.replace(item, '');
 | 
			
		||||
                        this.form.sale_price = this.splice_value;
 | 
			
		||||
                    }
 | 
			
		||||
            for (let item of this.regex_condition) {
 | 
			
		||||
                if (this.form.sale_price.includes(item)) {
 | 
			
		||||
                    this.splice_value = this.form.sale_price.replace(item, '');
 | 
			
		||||
                    this.form.sale_price = this.splice_value;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user