浏览代码

Merge branch 'develop'

master
Guillaume Bourgeois 1年前
父节点
当前提交
f162e8ae4c
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. +5
    -0
      backend/web/js/vuejs/distribution-index.js
  2. +1
    -1
      producer/web/js/vuejs/order-order.js

+ 5
- 0
backend/web/js/vuejs/distribution-index.js 查看文件

@@ -782,6 +782,11 @@ Vue.component('order-form',{
} ;
},
template: '#order-form-template',
watch: {
'order.id_user': function () {
this.userChange();
}
},
methods: {
checkForm: function() {
this.errors = [] ;

+ 1
- 1
producer/web/js/vuejs/order-order.js 查看文件

@@ -593,7 +593,7 @@ var app = new Vue({
if(order != null) {
total = this.priceTotal() - order.amount_paid ;
}
return this.producer.credit_limit == null || (this.producer.credit_limit != null && (this.user.credit - total >= this.producer.credit_limit)) ;
return this.producer.credit_limit == null || (this.producer.credit_limit != null && (this.user.credit - total >= this.producer.credit_limit)) ;
},
countProductsByCategory: function(category) {
var count = 0 ;

正在加载...
取消
保存