Browse Source

格式

master
常熟吴彦祖 2 months ago
parent
commit
fbe12b7faa
  1. 24
      src/views/modules/order/com_poOrderSearchBar.vue
  2. 2
      src/views/modules/order/poOrder.vue
  3. 2
      src/views/modules/order/poOrder_search.vue
  4. 2
      src/views/modules/order/poOrder_search_en.vue

24
src/views/modules/order/com_poOrderSearchBar.vue

@ -184,26 +184,22 @@ export default {
<style scoped> <style scoped>
/* /*
标签固定两行高度,短标题和长标题的输入框落在同一水平线。
控件间距只用 --po-field-gap。日期中间的横线放在同一段间距里,居中,不再额外加宽。
标签和控件的垂直间距沿用全局表单样式,与其他页面保持一致。
横向间距统一用 --po-field-gap,行距单独用 row-gap。日期横线居中,不额外加宽。
*/ */
.po-order-search-form { .po-order-search-form {
--po-field-width: 130px; --po-field-width: 130px;
--po-field-gap: 12px; --po-field-gap: 12px;
}
.po-order-search-form /deep/ .el-form-item {
vertical-align: top;
margin-right: var(--po-field-gap);
display: flex;
flex-wrap: wrap;
align-items: flex-start;
row-gap: 2px;
column-gap: var(--po-field-gap);
margin-bottom: var(--po-field-gap); margin-bottom: var(--po-field-gap);
} }
.po-order-search-form /deep/ .el-form-item__label {
height: 32px;
line-height: 16px;
padding: 0 0 4px;
white-space: normal;
}
.po-order-search-form /deep/ .el-form-item__content {
line-height: 32px;
.po-order-search-form /deep/ .el-form-item {
flex: 0 0 auto;
margin: 0;
} }
.po-order-search-form /deep/ .el-input, .po-order-search-form /deep/ .el-input,
.po-order-search-form /deep/ .el-select, .po-order-search-form /deep/ .el-select,

2
src/views/modules/order/poOrder.vue

@ -14,7 +14,7 @@
v-model="searchData.customer" v-model="searchData.customer"
@change="onSessionCustomerChange" /> @change="onSessionCustomerChange" />
</com-po-order-search-bar> </com-po-order-search-bar>
<el-form :inline="true" label-position="top" style="margin-top:10px ">
<el-form :inline="true" label-position="top" style="margin-top:1px ">
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleSearch()" v-if="!editMode" :disabled="!searchData.customer">查询</el-button> <el-button type="primary" @click="handleSearch()" v-if="!editMode" :disabled="!searchData.customer">查询</el-button>
<el-button type="primary" style="margin-left: 2px" @click="exportExcel" :disabled="editMode || !searchData.customer">导出</el-button> <el-button type="primary" style="margin-left: 2px" @click="exportExcel" :disabled="editMode || !searchData.customer">导出</el-button>

2
src/views/modules/order/poOrder_search.vue

@ -15,7 +15,7 @@
@change="onSessionCustomerChange" /> @change="onSessionCustomerChange" />
</com-po-order-search-bar> </com-po-order-search-bar>
<el-form :inline="true" label-position="top" style="margin-top:10px">
<el-form :inline="true" label-position="top" style="margin-top:1px">
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleSearch" :disabled="!searchData.customer">查询</el-button> <el-button type="primary" @click="handleSearch" :disabled="!searchData.customer">查询</el-button>
<el-button type="primary" @click="exportExcel" style="margin-left: 2px">导出</el-button> <el-button type="primary" @click="exportExcel" style="margin-left: 2px">导出</el-button>

2
src/views/modules/order/poOrder_search_en.vue

@ -15,7 +15,7 @@
@change="onSessionCustomerChange" /> @change="onSessionCustomerChange" />
</com-po-order-search-bar> </com-po-order-search-bar>
<el-form :inline="true" label-position="top" style="margin-top:10px">
<el-form :inline="true" label-position="top" style="margin-top:1px">
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleSearch" :disabled="!searchData.customer">Search</el-button> <el-button type="primary" @click="handleSearch" :disabled="!searchData.customer">Search</el-button>
<el-button type="primary" @click="exportExcel" style="margin-left: 2px">Export</el-button> <el-button type="primary" @click="exportExcel" style="margin-left: 2px">Export</el-button>

Loading…
Cancel
Save