Commit 5b36caa5 authored by zs嵩's avatar zs嵩

批量加价 批量费用申请

parent 17870ae2
......@@ -2,6 +2,7 @@
<div class="dict-selector">
<el-select v-if="formType == 'select'" v-model="valueSync" filterable :placeholder="placeholder || $t('请选择')" :clearable="clearable" :multiple="multiple" :disabled="disabled" @change="(val) => $emit('change', val)">
<el-option v-for="dict in formattedList" :key="dict.value" :label="$l(dict, 'label')" :value="dict.value" />
<slot></slot>
</el-select>
<el-radio-group v-if="formType == 'radio'" v-model="valueSync" :disabled="disabled">
<el-radio v-for="dict in formattedList" :label="dict.value" :checked="valueSync === dict.value" :key="dict.value">{{ $l(dict, "label") }}</el-radio>
......
......@@ -205,7 +205,7 @@
<el-button type="default" @click="listOpen" v-else>{{ $t("收起明细") }}</el-button>
</div>
</div>
<el-table v-loading="loading" ref="orderTable" border :data="list || []" @selection-change="handleSelectionChange" :row-style="rowStyle" class="mt-10">
<el-table v-loading="loading" ref="orderTable" border :data="list || []" @selection-change="handleSelectionChange" :row-style="rowStyle" class="mt-10 table2">
<el-table-column type="selection" width="50"></el-table-column>
<el-table-column :label="$t('序号')" width="50" type="index" align="center" />
<el-table-column prop="orderNo" :label="$t('订单号')" align="center" width="150">
......@@ -717,3 +717,11 @@ export default {
content: ",";
}
</style>
<style lang="scss" scoped>
::v-deep.table2 {
.el-table__expanded-cell {
padding-top: 0;
padding-bottom: 0;
}
}
</style>
<template>
<div style="padding: 20px; background: #f4f4f4; margin: 0 20px 0 100px; border: 1px solid #e4e4e4">
<el-table :data="list" border style="width: 100%" size="mini">
<div style="margin: 0 20px 0 100px; padding: 10px 0">
<el-table class="table3" :data="list" border style="width: 100%" size="mini">
<el-table-column :label="$t('序号')" width="90px" type="index" align="center"></el-table-column>
<el-table-column prop="prodTitleZh" :label="$t('品名')" width="220px">
<template slot-scope="{ row }">
......@@ -346,3 +346,17 @@ export default {
}
}
</script>
<style lang="scss" scoped>
::v-deep.table3 {
.el-table__cell {
padding-top: 3px;
padding-bottom: 3px;
}
.el-table__header-wrapper th {
height: 30px;
font-weight: normal;
color: #ccc;
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment