| | |
| | | </div> |
| | | <div class="search_thing" style="padding-left: 70px;">总价:{{total}}</div> |
| | | <div class="search_thing" style="padding-left: 70px;"> |
| | | <el-button size="small" type="primary" @click="handleDown" :loading="outLoading">导出</el-button> |
| | | <el-button size="small" type="primary" @click="handleDown" :loading="outLoading" v-if="isExport">导出</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | | <ValueTable ref="ValueTable" :url="$api.insOrder.costStatistics" :componentData="componentData" :key="upIndex" |
| | | <ValueTable ref="ValueTable" :url="$api.insOrder.costStatistics" |
| | | :componentData="componentData" :key="upIndex" |
| | | @handleWeave="handleWeave" :column-min-width="'140'"/> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import ValueTable from '../tool/value-table.vue' |
| | | import Word from '../tool/word.vue' |
| | | export default { |
| | | components: { |
| | | ValueTable, |
| | | Word, |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | selectField: {}, |
| | | requiredAdd: [], |
| | | requiredUp: [] |
| | | requiredUp: [], |
| | | needSort: ['createTime', 'sample'], |
| | | }, |
| | | entityCopy: {}, |
| | | upIndex: 0, |
| | |
| | | current: -1, |
| | | size: -1, |
| | | }, |
| | | outLoading:false |
| | | outLoading:false, |
| | | isExport:false |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | if (power[i].menuMethod == 'addInsOrder') { |
| | | add = true |
| | | } |
| | | // |
| | | if (power[i].menuMethod == 'export') { |
| | | this.isExport = true |
| | | } |
| | | } |
| | | if (!up) { |
| | | this.componentData.do.splice(4, 1) |