Procházet zdrojové kódy

refactor(订单表单): 移除确认数量列及相关模板代码

yz před 1 měsícem
rodič
revize
3a04578b06

+ 0 - 9
src/components/order-form/material-detail-option.js

@@ -116,15 +116,6 @@ export function getMaterialDetailOption(isEditMode = false) {
         slot: true
       },
       {
-        label: '确认数量',
-        prop: 'confirmQuantity',
-        type: 'number',
-        precision: 2,
-        width: 100,
-        align: 'right',
-        slot: true
-      },
-      {
         label: '单价',
         prop: 'unitPrice',
         type: 'number',

+ 0 - 6
src/components/order-form/material-detail-table.vue

@@ -81,11 +81,6 @@
           <span>{{ formatFloatNumber(scope.row.availableQuantity) }}</span>
         </template>
 
-        <!-- 确认数量自定义模板 -->
-        <template slot="confirmQuantity" slot-scope="scope">
-          <span>{{ formatFloatNumber(scope.row.confirmQuantity) }}</span>
-        </template>
-
         <!-- 单价自定义模板 -->
         <template slot="unitPrice" slot-scope="scope">
           <el-input
@@ -290,4 +285,3 @@ export default {
   }
 }
 </style>
-