| | |
| | | <el-dialog |
| | | v-model="isShow" |
| | | title="新增采购退货" |
| | | width="1600" |
| | | width="70%" |
| | | top="3vh" |
| | | @close="closeModal" |
| | | class="purchase-return-dialog" |
| | | > |
| | | <el-form label-width="140px" :model="formState" label-position="top" ref="formRef" :inline="true"> |
| | | <div class="section-title"> |
| | |
| | | <el-input style="width: 240px" v-model="formState.remark" :rows="1" type="textarea" placeholder="请输入备注"/> |
| | | </el-form-item> |
| | | |
| | | <div style="margin: 20px 0;"> |
| | | <div style="margin:20px 0;min-width:0;"> |
| | | <div class="section-title"> |
| | | <span class="title-dot"></span> |
| | | <span class="title-text">产品列表</span> |
| | | </div> |
| | | <el-button type="primary" size="small" style="margin-bottom: 20px" @click="isShowProductsModal = true" :disabled="!formState.purchaseLedgerId">添加产品</el-button> |
| | | <div class="product-table-scroll"> |
| | | <el-table class="product-table-inner" |
| | | <el-button type="primary" size="small" style="margin-bottom:20px" @click="isShowProductsModal = true" :disabled="!formState.purchaseLedgerId">添加产品</el-button> |
| | | <el-table |
| | | :data="formState.purchaseReturnOrderProductsDtos" |
| | | border |
| | | max-height="400" |
| | | show-summary |
| | | :summary-method="summarizeChildrenTable"> |
| | | :summary-method="summarizeChildrenTable" |
| | | style="width:100%;min-width:0;"> |
| | | <el-table-column align="center" |
| | | type="selection" |
| | | width="55" /> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="section-title"> |
| | |
| | | margin-right: 8px; |
| | | } |
| | | |
| | | .product-table-scroll { |
| | | width: 100%; |
| | | overflow-x: auto; |
| | | } |
| | | |
| | | .product-table-inner { |
| | | min-width: 1280px; |
| | | } |
| | | </style> |