Commit f93dfcff authored by lanbaoming's avatar lanbaoming

2024-06-22提交

parent 301c8b31
...@@ -159,7 +159,8 @@ ...@@ -159,7 +159,8 @@
</el-card> </el-card>
<el-card class="mt-10"> <el-card class="mt-10">
<div slot="header" class="card-title"> <div slot="header" class="card-title">
<div class="card-name">{{$t('商品信息')}}</div> <!--lanbm 根据需求文档改 商品信息 为 商品 -->
<div class="card-name">{{$t('商品')}}</div>
<el-button type="primary" size="mini" @click="addProduct(null)" :disabled="!canAddProduct || !productEditable || updateChannel">{{$t('添加货物')}}</el-button> <el-button type="primary" size="mini" @click="addProduct(null)" :disabled="!canAddProduct || !productEditable || updateChannel">{{$t('添加货物')}}</el-button>
<el-button type="primary" size="mini" @click="showBatchImportDialog=true" :disabled="!canAddProduct || !productEditable || updateChannel">{{$t('批量添加货物')}}</el-button> <el-button type="primary" size="mini" @click="showBatchImportDialog=true" :disabled="!canAddProduct || !productEditable || updateChannel">{{$t('批量添加货物')}}</el-button>
</div> </div>
......
<!--空运待出列表--> <!--空运待出列表-->
<template> <template>
<div class="app-container"> <div class="app-container">
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
<el-form-item :label="$t('编号')" prop="orderNo"> <el-form-item :label="$t('编号')" prop="orderNo">
...@@ -42,21 +41,23 @@ ...@@ -42,21 +41,23 @@
<el-form-item :label="$t('商品')" prop="tidanNo"> <el-form-item :label="$t('商品')" prop="tidanNo">
<el-input v-model="queryParams.prodKey" :placeholder="$t('请输入商品类型、品名或品牌')" clearable @keyup.enter.native="handleQuery" /> <el-input v-model="queryParams.prodKey" :placeholder="$t('请输入商品类型、品名或品牌')" clearable @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>
<!--根据需求文档 lanbm 2024-06-23 隐藏
<el-form-item :label="$t('控货')" prop="isCargoControl"> <el-form-item :label="$t('控货')" prop="isCargoControl">
<dict-selector v-model="queryParams.isCargoControl" :type="DICT_TYPE.INFRA_BOOLEAN_STRING" fomatter="bool" clearable /> <dict-selector v-model="queryParams.isCargoControl" :type="DICT_TYPE.INFRA_BOOLEAN_STRING" fomatter="bool" clearable />
</el-form-item> </el-form-item>-->
<!--根据需求文档 lanbm 2024-06-23 隐藏
<el-form-item :label="$t('入仓类型')" prop="warehouseType"> <el-form-item :label="$t('入仓类型')" prop="warehouseType">
<dict-selector :type="DICT_TYPE.ECW_WAREHOUSING_TYPE" v-model="queryParams.warehouseType" clearable/> <dict-selector :type="DICT_TYPE.ECW_WAREHOUSING_TYPE" v-model="queryParams.warehouseType" clearable/>
</el-form-item> </el-form-item>-->
<el-form-item :label="$t('客户经理')" > <el-form-item :label="$t('客户经理')" >
<user-selector manage v-model="queryParams.salesmanId" clearable @change="handleQuery" <user-selector manage v-model="queryParams.salesmanId" clearable @change="handleQuery"
:prepend="{ id: 0, nickname: $t('未分配客户经理')}"/> :prepend="{ id: 0, nickname: $t('未分配客户经理')}"/>
</el-form-item> </el-form-item>
<!--根据需求文档 lanbm 2024-06-23 隐藏
<el-form-item :label="$t('订单状态')" prop="status"> <el-form-item :label="$t('订单状态')" prop="status">
<dict-selector :type="DICT_TYPE.ORDER_STATUS" v-model="queryParams.status" <dict-selector :type="DICT_TYPE.ORDER_STATUS" v-model="queryParams.status"
@keyup.enter.native="handleQuery" clearable /> @keyup.enter.native="handleQuery" clearable />
</el-form-item> </el-form-item>-->
<el-form-item :label="$t('报关方式')" prop="customsType"> <el-form-item :label="$t('报关方式')" prop="customsType">
<dict-selector :type="DICT_TYPE.ECW_CUSTOMS_TYPE" v-model="queryParams.customsType" clearable @change="handleQuery" /> <dict-selector :type="DICT_TYPE.ECW_CUSTOMS_TYPE" v-model="queryParams.customsType" clearable @change="handleQuery" />
</el-form-item> </el-form-item>
...@@ -68,9 +69,10 @@ ...@@ -68,9 +69,10 @@
<el-form-item :label="$t('备案属性')" prop="productRecord"> <el-form-item :label="$t('备案属性')" prop="productRecord">
<dict-selector :type="DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE" v-model="queryParams.productRecord" clearable @change="handleQuery" /> <dict-selector :type="DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE" v-model="queryParams.productRecord" clearable @change="handleQuery" />
</el-form-item> </el-form-item>
<!--lanbm 2024-06-23 根据需求文档隐藏
<el-form-item :label="$t('快递单号')" prop="number"> <el-form-item :label="$t('快递单号')" prop="number">
<el-input v-model="queryParams.number" :placeholder="$t('快递单号')" clearable @keyup.enter.native="handleQuery" /> <el-input v-model="queryParams.number" :placeholder="$t('快递单号')" clearable @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>-->
<el-form-item :label="$t('外部仓')" prop="number"> <el-form-item :label="$t('外部仓')" prop="number">
<el-select v-model="queryParams.isExternalWarehouse" :placeholder="$t('请选择')" clearable @change="handleQuery"> <el-select v-model="queryParams.isExternalWarehouse" :placeholder="$t('请选择')" clearable @change="handleQuery">
<el-option :label="$t('外部仓')" :value="1"></el-option> <el-option :label="$t('外部仓')" :value="1"></el-option>
......
...@@ -83,7 +83,6 @@ ...@@ -83,7 +83,6 @@
{{currencyMap[row.orderExceptionAmountCurrencyId]}} {{currencyMap[row.orderExceptionAmountCurrencyId]}}
</template> </template>
</el-table-column> </el-table-column>
</el-table-column>
<el-table-column :label="$t('状态')" align="center"> <el-table-column :label="$t('状态')" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :type="DICT_TYPE.ORDER_EXCEPTION_STATUS" :value="scope.row.orderExceptionStatus" /> <dict-tag :type="DICT_TYPE.ORDER_EXCEPTION_STATUS" :value="scope.row.orderExceptionStatus" />
......
...@@ -43,13 +43,20 @@ ...@@ -43,13 +43,20 @@
prop="salesmanid" prop="salesmanid"
v-show="showCustomsManage" v-show="showCustomsManage"
> >
<user-selector <el-select
manage
v-model="queryParams.salesmanid"
clearable clearable
@change="handleQuery" v-model="queryParams.salesmanid"
:prepend="{ id: 0, nickname: $t('未分配客户经理') }" :placeholder="$t('请选择客户经理')"
/> size="small"
>
<el-option
v-for="dict in customerServiceList"
:key="dict.id"
:label="dict.nickname"
:value="dict.id"
/>
</el-select>
</el-form-item> </el-form-item>
<el-form-item label="首次成交" prop="delFlag"> <el-form-item label="首次成交" prop="delFlag">
...@@ -71,6 +78,7 @@ ...@@ -71,6 +78,7 @@
<el-form-item label="客户来源" prop="remark"> <el-form-item label="客户来源" prop="remark">
<el-select <el-select
v-model="queryParams.source" v-model="queryParams.source"
:multiple="true"
:placeholder="$t('请选择客户来源')" :placeholder="$t('请选择客户来源')"
> >
<el-option <el-option
...@@ -85,6 +93,7 @@ ...@@ -85,6 +93,7 @@
<el-select <el-select
v-model="queryParams.customerrole" v-model="queryParams.customerrole"
clearable clearable
:multiple="true"
style="width: 200px" style="width: 200px"
> >
<el-option <el-option
...@@ -98,6 +107,7 @@ ...@@ -98,6 +107,7 @@
<el-form-item label="客户国家" prop="country"> <el-form-item label="客户国家" prop="country">
<el-select <el-select
clearable clearable
:multiple="true"
v-model="queryParams.country" v-model="queryParams.country"
:placeholder="$t('请选择国家')" :placeholder="$t('请选择国家')"
> >
...@@ -376,6 +386,7 @@ ...@@ -376,6 +386,7 @@
//国家列表接口 //国家列表接口
import { getCountryListAll } from "@/api/ecw/country"; import { getCountryListAll } from "@/api/ecw/country";
import UserSelector from "@/components/UserSelector"; import UserSelector from "@/components/UserSelector";
import { listServiceUser2 } from "@/api/system/user";
import Treeselect from "@riophae/vue-treeselect"; import Treeselect from "@riophae/vue-treeselect";
//自定义目录数样式 //自定义目录数样式
import "@/assets/styles/vue-treeselect.css"; import "@/assets/styles/vue-treeselect.css";
...@@ -528,12 +539,17 @@ export default { ...@@ -528,12 +539,17 @@ export default {
objEcwReportPermission: {}, objEcwReportPermission: {},
DeptEx: { id: undefined, name: undefined, parentId: undefined }, DeptEx: { id: undefined, name: undefined, parentId: undefined },
ParentPar: {}, ParentPar: {},
customerServiceList: [],
}; };
}, },
created() { created() {
getCountryListAll().then((r) => { getCountryListAll().then((r) => {
this.countryList = r.data; this.countryList = r.data;
}); });
listServiceUser2().then((r) => {
this.customerServiceList = r.data;
});
this.doLoadData(); this.doLoadData();
}, },
watch: { watch: {
...@@ -541,7 +557,7 @@ export default { ...@@ -541,7 +557,7 @@ export default {
//lanbm 2024-05-06 解决重新进入参数不刷新的问题 //lanbm 2024-05-06 解决重新进入参数不刷新的问题
//this.$route.name == "客户分析" 用name做逻辑判断,有时候菜单名称会变化 //this.$route.name == "客户分析" 用name做逻辑判断,有时候菜单名称会变化
//"/report/customer_analysis" lanbm 2024-05-07 调整为根据path做逻辑判断 //"/report/customer_analysis" lanbm 2024-05-07 调整为根据path做逻辑判断
if (this.$route.path== "/report/customer_analysis") { if (this.$route.path == "/report/customer_analysis") {
this.doLoadData(); this.doLoadData();
} }
}, },
...@@ -769,19 +785,19 @@ export default { ...@@ -769,19 +785,19 @@ export default {
}, },
test() { test() {
//当前路径 //当前路径
let sP=this.$route.path; let sP = this.$route.path;
alert(sP); alert(sP);
//当前参数 //当前参数
let sPar= this.$route.params; let sPar = this.$route.params;
alert(sPar); alert(sPar);
//路由名称 //路由名称
let sRoute=this.$route.name; let sRoute = this.$route.name;
alert(sRoute); alert(sRoute);
//路由查询参数 //路由查询参数
let sQ=this.$route.query; let sQ = this.$route.query;
alert(sQ.toString()); alert(sQ.toString());
//路由匹配项 //路由匹配项
let sM=this.$route.matched; let sM = this.$route.matched;
alert(sM.toString()); alert(sM.toString());
return; return;
......
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