Explorar o código

发运明细新增报关单价设置只读属性

jbb %!s(int64=2) %!d(string=hai) anos
pai
achega
f7dafb3f56
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/shipment-details/addShipDetDrawer.vue

+ 2 - 1
src/views/shipment-details/addShipDetDrawer.vue

@@ -154,7 +154,7 @@
               <!-- 报关单价 :rules="rules.customsDeclarationUnitPrice"-->
               <template slot="customsDeclarationUnitPrice" slot-scope="text, record, index">
                 <a-form-model-item prop="customsDeclarationUnitPrice">
-                  <a-input style="width:100%" type="text" v-model="record.customsDeclarationUnitPrice" />
+                  <a-input style="width:100%" type="text" v-model="record.customsDeclarationUnitPrice" readOnly/>
                 </a-form-model-item>
               </template>
               <!-- 套装件数 :rules="rules.numberOfSets"-->
@@ -664,6 +664,7 @@ export default {
         item.manualYarnUnitPrice = null
         item.manualYarnProportion = null
       })
+      debugger
       this.$forceUpdate()
     },
     // 参照订单数据