Bläddra i källkod

预装箱单单价可修改

jbb 2 år sedan
förälder
incheckning
b27bdf49a6
1 ändrade filer med 9 tillägg och 0 borttagningar
  1. 9 0
      src/views/advance-packingList/addAdpackingDrawer.vue

+ 9 - 0
src/views/advance-packingList/addAdpackingDrawer.vue

@@ -198,6 +198,14 @@
                   <a-input style="width:100%" type="text" v-model="record.endCaseNumber"  @change="handleValueChange(record)"/>
                 </a-form-model-item>
               </template>
+
+              <!-- 单价 -->
+              <template slot="unitPrice" slot-scope="text, record, index">
+                <a-form-model-item prop="unitPrice" :rules="rules.unitPrice">
+                  <a-input style="width:100%" type="text" v-model="record.unitPrice"  @change="handleValueChange(record)"/>
+                </a-form-model-item>
+              </template>
+              
               <!-- 颜色 -->
               <template slot="colour" slot-scope="text, record, index">
                 <a-form-model-item prop="colour" :rules="rules.colour">
@@ -601,6 +609,7 @@ export default {
           dataIndex: 'unitPrice',
           width: 120,
           className: 'replacecolor',
+          scopedSlots: { customRender: 'unitPrice' },
           ellipsis: true,
         },
         {