|
@@ -3,139 +3,138 @@
|
|
|
<seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
|
|
<seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
-import {
|
|
|
|
|
- reviewStatusSelect,
|
|
|
|
|
- saleOrderProgressStatusEnum,
|
|
|
|
|
- activity_type
|
|
|
|
|
-} from '@/enum/dict';
|
|
|
|
|
-export default {
|
|
|
|
|
- data() {
|
|
|
|
|
- return {};
|
|
|
|
|
- },
|
|
|
|
|
- computed: {
|
|
|
|
|
- // 表格列配置
|
|
|
|
|
- seekList() {
|
|
|
|
|
- return [
|
|
|
|
|
- {
|
|
|
|
|
- label: '关键字:',
|
|
|
|
|
- value: 'searchName',
|
|
|
|
|
- width: 380,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '编码/产品名称/创建人'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '编码:',
|
|
|
|
|
- value: 'code',
|
|
|
|
|
- width: 380,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '产品名称:',
|
|
|
|
|
- value: 'productNames',
|
|
|
|
|
- width: 380,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '总金额最小:',
|
|
|
|
|
- value: 'totalPriceMin',
|
|
|
|
|
- labelWidth: 130,
|
|
|
|
|
- width: 370,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '总金额最大:',
|
|
|
|
|
- value: 'totalPriceMax',
|
|
|
|
|
- labelWidth: 130,
|
|
|
|
|
- width: 370,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '询价方名称:',
|
|
|
|
|
- value: 'contactName',
|
|
|
|
|
- labelWidth: 130,
|
|
|
|
|
- width: 370,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '询价方联系人:',
|
|
|
|
|
- value: 'contactLinkName',
|
|
|
|
|
- labelWidth: 130,
|
|
|
|
|
- width: 360,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '询价方联系电话:',
|
|
|
|
|
- value: 'contactTel',
|
|
|
|
|
- labelWidth: 130,
|
|
|
|
|
- width: 345,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '报价方名称:',
|
|
|
|
|
- value: 'quoteName',
|
|
|
|
|
- labelWidth: 130,
|
|
|
|
|
- width: 370,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '报价方联系人:',
|
|
|
|
|
- value: 'quoteLinkName',
|
|
|
|
|
- labelWidth: 130,
|
|
|
|
|
- width: 360,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '交货日期:',
|
|
|
|
|
- value: 'deliveryDate',
|
|
|
|
|
- width: 360,
|
|
|
|
|
- type: 'date',
|
|
|
|
|
- labelWidth: 120,
|
|
|
|
|
- dateType: 'datetimerange',
|
|
|
|
|
- valueAr: ['createTimeStart', 'createTimeEnd']
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '审核状态:',
|
|
|
|
|
- value: 'orderStatus',
|
|
|
|
|
- width: 380,
|
|
|
|
|
- type: 'select',
|
|
|
|
|
- planList: reviewStatusSelect,
|
|
|
|
|
- placeholder: '请选择审核状态'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '创建人:',
|
|
|
|
|
- value: 'createUserName',
|
|
|
|
|
- width: 380,
|
|
|
|
|
- type: 'input',
|
|
|
|
|
- placeholder: '请输入'
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- label: '创建时间:',
|
|
|
|
|
- value: 'createTime',
|
|
|
|
|
- type: 'date',
|
|
|
|
|
- dateType: 'datetimerange',
|
|
|
|
|
- placeholder: '',
|
|
|
|
|
- width: 380,
|
|
|
|
|
- valueAr: ['createTimeStart', 'createTimeEnd']
|
|
|
|
|
- }
|
|
|
|
|
- ];
|
|
|
|
|
|
|
+ import {
|
|
|
|
|
+ reviewStatusSelect,
|
|
|
|
|
+ saleOrderProgressStatusEnum,
|
|
|
|
|
+ activity_type
|
|
|
|
|
+ } from '@/enum/dict';
|
|
|
|
|
+ export default {
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {};
|
|
|
|
|
+ },
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ // 表格列配置
|
|
|
|
|
+ seekList() {
|
|
|
|
|
+ return [
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '关键字:',
|
|
|
|
|
+ value: 'searchName',
|
|
|
|
|
+ width: 380,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '编码/产品名称/创建人'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '编码:',
|
|
|
|
|
+ value: 'code',
|
|
|
|
|
+ width: 380,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '产品名称:',
|
|
|
|
|
+ value: 'productNames',
|
|
|
|
|
+ width: 380,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '总金额最小:',
|
|
|
|
|
+ value: 'totalPriceMin',
|
|
|
|
|
+ labelWidth: 130,
|
|
|
|
|
+ width: 370,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '总金额最大:',
|
|
|
|
|
+ value: 'totalPriceMax',
|
|
|
|
|
+ labelWidth: 130,
|
|
|
|
|
+ width: 370,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '询价方名称:',
|
|
|
|
|
+ value: 'contactName',
|
|
|
|
|
+ labelWidth: 130,
|
|
|
|
|
+ width: 370,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '询价方联系人:',
|
|
|
|
|
+ value: 'contactLinkName',
|
|
|
|
|
+ labelWidth: 130,
|
|
|
|
|
+ width: 360,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '询价方联系电话:',
|
|
|
|
|
+ value: 'contactTel',
|
|
|
|
|
+ labelWidth: 130,
|
|
|
|
|
+ width: 345,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '报价方名称:',
|
|
|
|
|
+ value: 'quoteName',
|
|
|
|
|
+ labelWidth: 130,
|
|
|
|
|
+ width: 370,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '报价方联系人:',
|
|
|
|
|
+ value: 'quoteLinkName',
|
|
|
|
|
+ labelWidth: 130,
|
|
|
|
|
+ width: 360,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '交货日期:',
|
|
|
|
|
+ value: 'deliveryDate',
|
|
|
|
|
+ width: 380,
|
|
|
|
|
+ type: 'date',
|
|
|
|
|
+ dateType: 'datetimerange',
|
|
|
|
|
+ valueAr: ['createTimeStart', 'createTimeEnd']
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '审核状态:',
|
|
|
|
|
+ value: 'orderStatus',
|
|
|
|
|
+ width: 380,
|
|
|
|
|
+ type: 'select',
|
|
|
|
|
+ planList: reviewStatusSelect,
|
|
|
|
|
+ placeholder: '请选择审核状态'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '创建人:',
|
|
|
|
|
+ value: 'createUserName',
|
|
|
|
|
+ width: 380,
|
|
|
|
|
+ type: 'input',
|
|
|
|
|
+ placeholder: '请输入'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ label: '创建时间:',
|
|
|
|
|
+ value: 'createTime',
|
|
|
|
|
+ type: 'date',
|
|
|
|
|
+ dateType: 'datetimerange',
|
|
|
|
|
+ placeholder: '',
|
|
|
|
|
+ width: 380,
|
|
|
|
|
+ valueAr: ['createTimeStart', 'createTimeEnd']
|
|
|
|
|
+ }
|
|
|
|
|
+ ];
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ /* 搜索 */
|
|
|
|
|
+ search(e) {
|
|
|
|
|
+ this.$emit('search', {
|
|
|
|
|
+ ...e
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
- },
|
|
|
|
|
- methods: {
|
|
|
|
|
- /* 搜索 */
|
|
|
|
|
- search(e) {
|
|
|
|
|
- this.$emit('search', {
|
|
|
|
|
- ...e
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-};
|
|
|
|
|
|
|
+ };
|
|
|
</script>
|
|
</script>
|