|
@@ -90,7 +90,12 @@
|
|
|
<el-table-column label="销售单价" prop="internalSellingPrice" align="right" width="100" />
|
|
|
<el-table-column label="数量" width="120">
|
|
|
<template #default="{ row, $index }">
|
|
|
- <el-form-item :prop="'packageList.' + $index + '.quantity'" :rules="rules.quantity" :inline-message="true" style="width: 100%">
|
|
|
+ <el-form-item
|
|
|
+ :prop="'packageList.' + $index + '.quantity'"
|
|
|
+ :rules="rules.quantity"
|
|
|
+ :inline-message="true"
|
|
|
+ style="width: 100%"
|
|
|
+ class="packageList">
|
|
|
<el-input-number onmousewheel="return false;" v-model="row.quantity" placeholder="数量" style="width: 100%" :controls="false" :min="0" />
|
|
|
</el-form-item>
|
|
|
</template>
|
|
@@ -454,7 +459,9 @@ const submitForm = () => {
|
|
|
margin-top: 10px !important;
|
|
|
margin-bottom: 10px !important;
|
|
|
}
|
|
|
-:deep(.el-form-item--default) {
|
|
|
- margin-bottom: 0px;
|
|
|
+:deep(.packageList) {
|
|
|
+ .el-form-item--default {
|
|
|
+ margin-bottom: 0px;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|