| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <!-- 搜索表单 -->
- <template>
- <seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
- </template>
- <script>
- export default {
- data() {
- return {
- statusList: [
- { name: '待处理', code: 0 },
- { name: '处理中', code: 1 },
- { name: '已处理', code: 2 }
- ]
- };
- },
- computed: {
- seekList() {
- return [
- {
- label: '编码:',
- value: 'code',
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '样品编码:',
- value: 'sampleCode',
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '物品编码:',
- value: 'categoryCode',
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '物品名称:',
- value: 'categoryName',
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '批次号:',
- value: 'batchNo',
- type: 'input',
- placeholder: '请输入'
- },
- {
- label: '产品规格:',
- value: 'specification',
- type: 'input',
- placeholder: '请输入'
- }
- ];
- }
- },
- watch: {},
- created() {},
- methods: {
- search(e) {
- this.$emit('search', { ...e });
- }
- }
- };
- </script>
- <style lang="scss" scoped>
- </style>
|