瀏覽代碼

单复数引起的加载错误

Zhouzhendong 5 年之前
父節點
當前提交
637a1336d5

+ 1 - 0
resources/views/customer/project/create.blade.php

@@ -352,6 +352,7 @@
                             }
                             this.errors = [];
                             this.owner.id = res.id;
+                            this.ownerTemp.id = res.id;
                             this.ownerTemp.name = res.name;
                             this.ownerTemp.code = res.code;
                             result = true;

+ 1 - 1
resources/views/customer/project/index.blade.php

@@ -20,7 +20,7 @@
                                 <a target="_blank" :href="'{{url('customer/project')}}/'+thisClickIndex+'/edit?type=operation'" class="text-decoration-none">@{{ model.name }}</a>
                             </div>
                             <hr class="m-1">
-                            <div class="row" v-for="(model,i) in priceModel[thisClickIndex]['ownerPriceExpresses']">
+                            <div class="row" v-for="(model,i) in priceModel[thisClickIndex]['ownerPriceExpress']">
                                 <label class="text-dark font-weight-bold col-3"><span v-if="i==0">快递:</span></label>
                                 <a target="_blank" :href="'{{url('customer/project')}}/'+thisClickIndex+'/edit?type=expresses'" class="text-decoration-none">@{{ model.name }}</a>
                             </div>