Parcourir la source

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

jbb il y a 2 ans
Parent
commit
f7dafb3f56
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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()
     },
     // 参照订单数据