|
@@ -47,7 +47,9 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="销售类型" prop="saleType">
|
|
<el-form-item label="销售类型" prop="saleType">
|
|
- <el-input v-model="screenForm.saleType" placeholder="请输入销售类型"></el-input>
|
|
|
|
|
|
+ <el-select v-model="screenForm.saleType" placeholder="选择销售类型" style="width: 100%" clearable>
|
|
|
|
+ <el-option v-for="item in salesTypeList" :key="item.id" :label="item.saleName" :value="item.id"></el-option>
|
|
|
|
+ </el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
@@ -220,7 +222,8 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="left" label="备注" prop="remark" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="备注" prop="remark" min-width="160" show-overflow-tooltip></el-table-column>
|
|
- <el-table-column align="left" label="业务员" prop="serviceName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="left" label="业务员" prop="itemServiceName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
+ <el-table-column align="left" label="表头业务员" prop="serviceName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="制表人" prop="createBy" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="制表人" prop="createBy" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="制表日期" prop="createTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="制表日期" prop="createTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="审核人" prop="confirmBy" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="审核人" prop="confirmBy" min-width="100" show-overflow-tooltip></el-table-column>
|
|
@@ -310,7 +313,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import { getOrderList, applyHome, withdrawHome, deleteHome, editDateHome, abandonHome } from "@/api/supply/engin";
|
|
import { getOrderList, applyHome, withdrawHome, deleteHome, editDateHome, abandonHome } from "@/api/supply/engin";
|
|
-import { getSalesmanList } from '@/api/common'
|
|
|
|
|
|
+import { getSalesmanList, getTypeList } from '@/api/common'
|
|
import HomeDetail from "@/views/supply/engin/components/home_detail";
|
|
import HomeDetail from "@/views/supply/engin/components/home_detail";
|
|
import HomeForm from "@/views/supply/engin/components/home_form";
|
|
import HomeForm from "@/views/supply/engin/components/home_form";
|
|
import HomeExamine from "@/views/supply/engin/components/home_examine";
|
|
import HomeExamine from "@/views/supply/engin/components/home_examine";
|
|
@@ -367,7 +370,7 @@ export default {
|
|
{ label: '已保存', value: 'SAVE' },
|
|
{ label: '已保存', value: 'SAVE' },
|
|
{ label: '待审核', value: 'WAIT' },
|
|
{ label: '待审核', value: 'WAIT' },
|
|
{ label: '审核通过', value: 'OK' },
|
|
{ label: '审核通过', value: 'OK' },
|
|
- { label: '审核驳回', value: 'FAIL' },
|
|
|
|
|
|
+ // { label: '审核驳回', value: 'FAIL' },
|
|
{ label: '已关闭', value: 'CLOSE' },
|
|
{ label: '已关闭', value: 'CLOSE' },
|
|
],
|
|
],
|
|
salesmanList: [],
|
|
salesmanList: [],
|
|
@@ -420,6 +423,7 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
created() {
|
|
created() {
|
|
|
|
+ this.getSalesTypeList();
|
|
this.getSalesmanList();
|
|
this.getSalesmanList();
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
@@ -437,6 +441,16 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ // 获取销售类型列表
|
|
|
|
+ getSalesTypeList() {
|
|
|
|
+ getTypeList({
|
|
|
|
+ pageNum: 1,
|
|
|
|
+ pageSize: -1
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ this.salesTypeList = res.data.records;
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+
|
|
// 查询列表
|
|
// 查询列表
|
|
getList() {
|
|
getList() {
|
|
this.listLoading = true;
|
|
this.listLoading = true;
|