Pārlūkot izejas kodu

预装箱单必填标志

jbb 2 gadi atpakaļ
vecāks
revīzija
c85e8df8cd
1 mainītis faili ar 42 papildinājumiem un 7 dzēšanām
  1. 42 7
      src/views/advance-packingList/addAdpackingDrawer.vue

+ 42 - 7
src/views/advance-packingList/addAdpackingDrawer.vue

@@ -158,6 +158,34 @@
               :toolbarConfig="toolbarConfig"
               @valueChange="handleValueChange"
             >
+            <!-- 起始箱号 -->
+            <template v-slot:startingBoxNumber="record" >
+              <a-input  v-model="record.startingBoxNumber"  style="border-color: red;"></a-input>
+           </template>
+           <!-- 结束箱号 -->
+           <template v-slot:endCaseNumber="record" >
+              <a-input  v-model="record.endCaseNumber"  style="border-color: red;"></a-input>
+           </template>
+           <!-- 净重/箱 -->
+           <template v-slot:netWeight="record" >
+              <a-input  v-model="record.netWeight"  style="border-color: red;"></a-input>
+           </template>
+           <!-- 毛重/箱 -->
+           <template v-slot:grossWeight="record" >
+              <a-input  v-model="record.grossWeight"  style="border-color: red;"></a-input>
+           </template>
+           <!-- 外箱长度 -->
+           <template v-slot:outerBoxLength="record" >
+              <a-input  v-model="record.outerBoxLength"  style="border-color: red;"></a-input>
+           </template>
+           <!-- 外箱高度 -->
+           <template v-slot:outerBoxHeight="record" >
+              <a-input  v-model="record.outerBoxHeight"  style="border-color: red;"></a-input>
+           </template>
+           <!-- 外箱宽度 -->
+           <template v-slot:outerBoxWidth="record" >
+              <a-input  v-model="record.outerBoxWidth"  style="border-color: red;"></a-input>
+           </template>
             <template v-slot:action="props">
               <a @click="copy(props)">复制</a>
               <a-divider type="vertical"/>
@@ -297,14 +325,16 @@ export default {
           title: '起始箱号',
           key: 'startingBoxNumber',
           width: 120,
-          type: JVXETypes.inputNumber ,
+          type: JVXETypes.slot ,
+          slotName: 'startingBoxNumber'
         },
 
         {
           title: '结束箱号',
           key: 'endCaseNumber',
           width: 140,
-          type: JVXETypes.inputNumber ,
+          type: JVXETypes.slot ,
+          slotName: 'endCaseNumber'
         },
 
         {
@@ -354,7 +384,8 @@ export default {
           title: '净重/箱',
           key: 'netWeight',
           width: 90,
-          type: JVXETypes.inputNumber,
+          type: JVXETypes.slot,
+          slotName:'netWeight'
         },
         {
           title: '总净重',
@@ -367,7 +398,8 @@ export default {
           title: '毛重/箱',
           key: 'grossWeight',
           width: 120,
-          type: JVXETypes.inputNumber,
+          type: JVXETypes.slot,
+          slotName:'grossWeight'
         },
         {
           title: '总毛重',
@@ -379,20 +411,23 @@ export default {
           title: '外箱长度',
           key: 'outerBoxLength',
           width: 120,
-          type: JVXETypes.inputNumber
+          type: JVXETypes.slot,
+          slotName:'outerBoxLength'
         },
 
         {
           title: '外箱宽度',
           key: 'outerBoxWidth',
           width: 140,
-          type: JVXETypes.inputNumber,
+          type: JVXETypes.slot,
+          slotName:'outerBoxWidth'
         },
         {
           title: '外箱高度',
           key: 'outerBoxHeight',
-          type: JVXETypes.inputNumber ,
+          type: JVXETypes.slot ,
           width: 140,
+          slotName:'outerBoxHeight'
         },
 
         {