|
@@ -74,6 +74,21 @@
|
|
|
@keydown.enter.prevent
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="图纸上传状态:">
|
|
|
+ <el-select
|
|
|
+ v-model="queryParams.uploadStatus"
|
|
|
+ clearable
|
|
|
+ placeholder="请选择图纸上传状态"
|
|
|
+ style="width: 180px"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="dict in uploadStatusList"
|
|
|
+ :key="dict.value"
|
|
|
+ :label="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="info" icon="Search" @click="handleQueryProduct"
|
|
|
>搜索</el-button
|
|
@@ -168,6 +183,13 @@
|
|
|
<el-table-column label="直径" align="center" prop="diameter" />
|
|
|
<el-table-column label="成品长度" align="center" prop="lenght" />
|
|
|
<el-table-column label="厚度" align="center" prop="thickness" />
|
|
|
+ <el-table-column label="图纸上传状态" align="center" width="120" prop="uploadStatus" >
|
|
|
+ <template #default="scope">
|
|
|
+ <el-tag v-if="scope.row.uploadStatus == 0" class="spacing" type="danger">{{ "未上传" }}</el-tag>
|
|
|
+ <el-tag v-if="scope.row.uploadStatus == 1" class="spacing" type="warning">{{ "部分上传" }}</el-tag>
|
|
|
+ <el-tag v-if="scope.row.uploadStatus == 2" class="spacing" type="primary">{{ "全部上传" }}</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
label="客户代号"
|
|
|
align="center"
|
|
@@ -335,6 +357,12 @@
|
|
|
<div v-else>{{ scope.row.technologyVersion }}</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="图纸上传状态" align="center" width="120" prop="uploadStatus" >
|
|
|
+ <template #default="scope">
|
|
|
+ <el-tag v-if="scope.row.uploadStatus == 0" class="spacing" type="danger">{{ "未上传" }}</el-tag>
|
|
|
+ <el-tag v-if="scope.row.uploadStatus == 1" class="spacing" type="primary">{{ "已上传" }}</el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作" width="140px" align="center">
|
|
|
<template #default="scope">
|
|
|
<el-button
|
|
@@ -647,6 +675,7 @@ const { product_dtype } = proxy.useDict("product_dtype");
|
|
|
const { product_status_code } = proxy.useDict("product_status_code");
|
|
|
const { production_type_code } = proxy.useDict("production_type_code");
|
|
|
const productTotal = ref(0);
|
|
|
+const uploadStatusList = ref([{"value":0,"label":"未上传"},{"value":1,"label":"部分上传"},{"value":2,"label":"全部上传"}])
|
|
|
/** 产品变量 */
|
|
|
const productList = ref([]);
|
|
|
const baseUrl = import.meta.env.VITE_APP_BASE_API;
|
|
@@ -700,6 +729,7 @@ const queryParams = ref({
|
|
|
name: "",
|
|
|
combinedValue: null,
|
|
|
productCode: "",
|
|
|
+ uploadStatus:null
|
|
|
});
|
|
|
|
|
|
/*********************** 方法区 ****************************/
|