Browse Source

新建合同伙伴档案调整

qymljy 7 tháng trước cách đây
mục cha
commit
7260f8f08f
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      src/Form/marketing2/agent/add.vue

+ 8 - 1
src/Form/marketing2/agent/add.vue

@@ -407,7 +407,14 @@ export default {
       this.form.limitreturnday = item.limitreturnday
       this.form.invoicingpoint = item.invoicingpoint
       this.form.saleclassauth = item.saleclassauth
-      this.radio = item.freefreightamount
+      this.radio = item.freefreightamount > 0  ? 1 : item.freefreightamount
+      if (item.freefreightamount > 0){
+        this.radio = 1
+        this.form.freefreightamount = item.freefreightamount
+      }else {
+        this.radio = item.freefreightamount
+        this.form.freefreightamount = ''
+      }
       this.visible = false
       this.form.enterprisename = item.enterprisename
       this.form.sys_enterpriseid = item.sys_enterpriseid