|
@@ -111,7 +111,7 @@
|
|
<el-col :span="4" style="width: 130px; margin-right:10px">
|
|
<el-col :span="4" style="width: 130px; margin-right:10px">
|
|
<el-select
|
|
<el-select
|
|
:size="searchSize"
|
|
:size="searchSize"
|
|
- v-model="parmValue.is_stock"
|
|
|
|
|
|
+ v-model="parmValue.order_type"
|
|
filterable
|
|
filterable
|
|
clearable
|
|
clearable
|
|
placeholder="商品类型"
|
|
placeholder="商品类型"
|
|
@@ -122,7 +122,11 @@
|
|
searchList();
|
|
searchList();
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- <el-option v />
|
|
|
|
|
|
+ <el-option v-for="item in cg_order_type_options"
|
|
|
|
+ :key="'order_type' + item.id"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.id"
|
|
|
|
+ />
|
|
</el-select>
|
|
</el-select>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
@@ -141,8 +145,6 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
<el-row style="padding: 10px 0 0 0;margin-left:-80px">
|
|
<el-row style="padding: 10px 0 0 0;margin-left:-80px">
|
|
<el-col :span="6" style="width: 400px; padding: 0 0 0 0px">
|
|
<el-col :span="6" style="width: 400px; padding: 0 0 0 0px">
|
|
<el-input
|
|
<el-input
|
|
@@ -199,16 +201,17 @@
|
|
"
|
|
"
|
|
></el-tag>
|
|
></el-tag>
|
|
</template>
|
|
</template>
|
|
- <template #is_stock="{ scope }">
|
|
|
|
- <el-tag
|
|
|
|
- :size="tablebtnSize"
|
|
|
|
- :type="scope.row.status == '0' ? 'warning' : ''"
|
|
|
|
- v-text="
|
|
|
|
- (is_stock_options.find((item) => item.id == String(scope.row.is_stock)) || {})
|
|
|
|
- .name || '--'
|
|
|
|
- "
|
|
|
|
- ></el-tag>
|
|
|
|
- </template>
|
|
|
|
|
|
+
|
|
|
|
+ <template #order_type="{ scope }">
|
|
|
|
+ <el-tag
|
|
|
|
+ :size="tablebtnSize"
|
|
|
|
+ v-text="
|
|
|
|
+ (cg_order_type_options.find((item) => item.id == String(scope.row.order_type)) || {})
|
|
|
|
+ .label || '--'
|
|
|
|
+ "
|
|
|
|
+ ></el-tag>
|
|
|
|
+ </template>
|
|
|
|
+
|
|
<template #operation="{ scope }">
|
|
<template #operation="{ scope }">
|
|
<el-tooltip
|
|
<el-tooltip
|
|
v-if="powers.some((i) => i == '007')"
|
|
v-if="powers.some((i) => i == '007')"
|
|
@@ -279,16 +282,12 @@ export default {
|
|
{ id: "1", label: "待业务部门审核" },
|
|
{ id: "1", label: "待业务部门审核" },
|
|
{ id: "2", label: "工差单审核完成" },
|
|
{ id: "2", label: "工差单审核完成" },
|
|
],
|
|
],
|
|
- is_stock_options: [
|
|
|
|
- { id: '0', name: '非库存品' },
|
|
|
|
- { id: '1', name: '库存品' }
|
|
|
|
- ],
|
|
|
|
loading: true,
|
|
loading: true,
|
|
showModel: false,
|
|
showModel: false,
|
|
isDetail: false,
|
|
isDetail: false,
|
|
modelId: 0,
|
|
modelId: 0,
|
|
parmValue: {
|
|
parmValue: {
|
|
- is_stock: '',
|
|
|
|
|
|
+ order_type: '',
|
|
order_source: '',
|
|
order_source: '',
|
|
name: "", // 业务员名字
|
|
name: "", // 业务员名字
|
|
username: "", // 账号
|
|
username: "", // 账号
|