| | |
| | | width="60" |
| | | /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" /> |
| | | <el-table-column |
| | | label="规格型号" |
| | | prop="specificationModel" |
| | | width="150" |
| | | /> |
| | | <el-table-column label="单位" prop="unit" width="70" /> |
| | | <el-table-column label="数量" prop="quantity" width="70" /> |
| | | <el-table-column label="税率(%)" prop="taxRate" width="70" /> |
| | |
| | | width="60" |
| | | /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" /> |
| | | <el-table-column |
| | | label="规格型号" |
| | | prop="specificationModel" |
| | | width="150" |
| | | /> |
| | | <el-table-column label="单位" prop="unit" /> |
| | | <el-table-column label="数量" prop="quantity" width="70" /> |
| | | <el-table-column label="税率(%)" prop="taxRate" width="70" /> |
| | |
| | | ></el-input> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="登记人" prop="register"> |
| | | <el-table-column label="登记人" prop="register" width="100"> |
| | | <template #default="{ row }"> |
| | | <el-input v-model="row.register" placeholder="请输入登记人" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="登记日期" prop="registerDate"> |
| | | <el-table-column label="登记日期" prop="registerDate" width="150"> |
| | | <template #default="{ row }"> |
| | | <el-date-picker |
| | | style="width: 100%" |
| | |
| | | type="date" |
| | | placeholder="请选择" |
| | | clearable |
| | | disabled |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | productList({ salesLedgerId: row.id, type: 1 }).then((res) => { |
| | | const index = tableData.value.findIndex((item) => item.id === row.id); |
| | | if (index > -1) { |
| | | tableData.value[index].children = res; |
| | | tableData.value[index].children = res.data; |
| | | } |
| | | expandedRowKeys.value.push(row.id); |
| | | }); |