| | |
| | | url :'/order/getOrderReport', |
| | | exportUrl :'/order/exportOrderReport', |
| | | exportName:t('order.orderDetailsReport'), |
| | | footList:['quantity','grossArea','computeGrossArea','perimeter','price','grossAmount','weight'] |
| | | }) |
| | | footList:['quantity','grossArea','computeGrossArea','perimeter','price','grossAmount','weight'], |
| | | model:0,//0:精确查询 1:模糊查询 |
| | | scope:10 |
| | | |
| | | }) |
| | | const changeModel = () => { |
| | | childrenData.value.model = childrenData.value.model === 0 ? 1 : 0 |
| | | } |
| | | |
| | | </script> |
| | | |
| | |
| | | <basic-table |
| | | :childrenData="childrenData"> |
| | | <template #buttons> |
| | | <el-button>模糊模式</el-button> |
| | | <el-input style="width: 100px" :value="10" :disabled="true"/> |
| | | <el-button |
| | | @click="changeModel" |
| | | type="primary" |
| | | > |
| | | {{childrenData.model === 0 ? '精确模式' : '模糊模式'}}</el-button> |
| | | <el-input |
| | | v-model="childrenData.scope" |
| | | type="number" |
| | | v-show="childrenData.model===1" |
| | | style="width: 140px;margin-left: 5px" |
| | | placeholder="玻璃尺寸范围"/> |
| | | </template> |
| | | |
| | | </basic-table> |