Commit 2a41d987 by zhuzhequan

新功能提交

parent 64a54f6d
......@@ -15,6 +15,8 @@ export interface ExportParams extends SearchForm {
}
export interface SearchForm {
timeType?: number | null
newStandard?: number | string
standardDesignImage?: number | string
shopNumber?: string
productMark?: string
shipmentType?: string | number
......
......@@ -186,6 +186,23 @@
style="width: 150px"
/>
</ElFormItem>
<ElFormItem v-if="status === 'BATCH_DOWNLOAD'" label="规范素材">
<ElSelect
v-model="searchForm.standardDesignImage"
placeholder="请选择"
clearable
filterable
:teleported="false"
style="width: 150px"
>
<ElOption
v-for="(_, index) in ['否', '是','混合']"
:key="index"
:value="index"
:label="['否', '是','混合'][index]"
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem v-if="status !== 'BATCH_DOWNLOAD'" label="生产单号">
<ElInput
v-model.trim="searchForm.factorySubOrderNumber"
......@@ -590,6 +607,25 @@
></ElOption>
</ElSelect>
</ElFormItem>
<ElFormItem
label="规范素材"
>
<ElSelect
v-model="searchForm.newStandard"
placeholder="请选择"
clearable
filterable
:teleported="false"
style="width: 150px"
>
<ElOption
v-for="(_, index) in ['否', '是','混合']"
:key="index"
:value="index"
:label="['否', '是','混合'][index]"
></ElOption>
</ElSelect>
</ElFormItem>
</ElForm>
<template #reference>
<el-button type="warning" @click="searchVisible = !searchVisible">
......@@ -1908,6 +1944,9 @@
<template #failReason="{ row }">
<span style="white-space: pre-line" v-html="row.failReason"></span>
</template>
<template #standardDesignImage="{ row }">
{{(row.standardDesignImage || row.standardDesignImage===0)?['否', '是','混合'][row.standardDesignImage ]: ''}}
</template>
<template #operate="{ row }">
<div
v-if="status === 'BATCH_DOWNLOAD'"
......@@ -3214,6 +3253,7 @@ const detailData = ref({})
const [searchForm, resetSearchForm] = useValue<SearchForm>({
timeType: 1,
shopNumber: '',
newStandard: '',
replaceShipment: '',
productMark: '',
shipmentType: '',
......@@ -3952,12 +3992,11 @@ const tableColumns = computed(() => {
},
{
label: '规范素材',
minWidth: 180,
minWidth: 130,
prop: 'standardDesignImage',
slot: 'standardDesignImage',
align: 'center',
},
{
},{
label: '失败原因',
minWidth: 250,
prop: 'failReason',
......@@ -4209,6 +4248,7 @@ const {
baseparams.tagsIdArr && delete baseparams.tagsIdArr
// 批量下载
if (status.value === 'BATCH_DOWNLOAD') {
delete baseparams.newStandard
return batchDownloadApi(
{
...baseparams,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment