|
@@ -1,14 +1,14 @@
|
|
|
|
|
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
- <basicLayout
|
|
|
|
|
- ref="basicLayout"
|
|
|
|
|
|
|
+ <basicLayout
|
|
|
|
|
+ ref="basicLayout"
|
|
|
:oldFormPath="{
|
|
:oldFormPath="{
|
|
|
add:'HDrpManagement/dispatch/modules'
|
|
add:'HDrpManagement/dispatch/modules'
|
|
|
}"
|
|
}"
|
|
|
:tableClassName="tableClassName"
|
|
:tableClassName="tableClassName"
|
|
|
tableName="dispatchTable"
|
|
tableName="dispatchTable"
|
|
|
- idName="sa_dispatchid"
|
|
|
|
|
|
|
+ idName="sa_dispatchid"
|
|
|
:apiId="{query:20221114135403,del:20221114135503}"
|
|
:apiId="{query:20221114135403,del:20221114135503}"
|
|
|
:fixRightData="['remarks']"
|
|
:fixRightData="['remarks']"
|
|
|
:fixLeftData="['billno','status']"
|
|
:fixLeftData="['billno','status']"
|
|
@@ -44,6 +44,14 @@
|
|
|
<!-- <label class="search__label" >发货日期:</label> -->
|
|
<!-- <label class="search__label" >发货日期:</label> -->
|
|
|
<el-input size="small" v-model="value" placeholder="根据品号或订单号查询" @keydown.native.enter="queryList" clearable></el-input>
|
|
<el-input size="small" v-model="value" placeholder="根据品号或订单号查询" @keydown.native.enter="queryList" clearable></el-input>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="mt-10">
|
|
|
|
|
+ <el-input style="width:200px;" placeholder="根据经销商搜索" :suffix-icon=" agentinfo?agentinfo.length > 0?'':'':'el-icon-search'" v-model="agentinfo" @keyup.native.enter="queryList" @clear="queryList" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="mt-10">
|
|
|
|
|
+ <el-input style="width:200px;" placeholder="根据订单备注搜索" :suffix-icon="remarks?remarks.length > 0?'':'':'el-icon-search'" v-model="remarks" @keyup.native.enter="queryList" @clear="queryList" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ </div>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-slot:tbList="scope">
|
|
<template v-slot:tbList="scope">
|
|
|
<div v-if="scope.data.column.columnname == 'STATUS'">
|
|
<div v-if="scope.data.column.columnname == 'STATUS'">
|
|
@@ -65,15 +73,15 @@
|
|
|
</basicLayout>
|
|
</basicLayout>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<script>
|
|
<script>
|
|
|
/**
|
|
/**
|
|
|
* @basicLayout 提供this.$ref['basicLayout'].listData()方法查询列表信息
|
|
* @basicLayout 提供this.$ref['basicLayout'].listData()方法查询列表信息
|
|
|
* @param {string} formPath 新建,编辑组件所在文件夹名称,以后所有列表新增修改文件统一放入Form文件夹下面,并创建与开发应用相同的名称的子文件夹
|
|
* @param {string} formPath 新建,编辑组件所在文件夹名称,以后所有列表新增修改文件统一放入Form文件夹下面,并创建与开发应用相同的名称的子文件夹
|
|
|
* @param {string} tableName 开发端配置的表格名称
|
|
* @param {string} tableName 开发端配置的表格名称
|
|
|
* @param {String} idName 数据主id名称
|
|
* @param {String} idName 数据主id名称
|
|
|
- * @param {object} apiId:{query:查询的接口id,del:删除的接口id}
|
|
|
|
|
- * @param {Array} options:{label:描述,value:值}
|
|
|
|
|
|
|
+ * @param {object} apiId:{query:查询的接口id,del:删除的接口id}
|
|
|
|
|
+ * @param {Array} options:{label:描述,value:值}
|
|
|
*/
|
|
*/
|
|
|
export default {
|
|
export default {
|
|
|
data () {
|
|
data () {
|
|
@@ -81,8 +89,9 @@
|
|
|
options:[],
|
|
options:[],
|
|
|
dateSelect:[],
|
|
dateSelect:[],
|
|
|
value:'',
|
|
value:'',
|
|
|
- status:''
|
|
|
|
|
-
|
|
|
|
|
|
|
+ status:'',
|
|
|
|
|
+ agentinfo:'',
|
|
|
|
|
+ remarks:''
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods:{
|
|
methods:{
|
|
@@ -104,6 +113,8 @@
|
|
|
queryList () {
|
|
queryList () {
|
|
|
this.$refs.basicLayout.param.content.pageNumber = 1
|
|
this.$refs.basicLayout.param.content.pageNumber = 1
|
|
|
this.$refs.basicLayout.param.content.where.param = this.value
|
|
this.$refs.basicLayout.param.content.where.param = this.value
|
|
|
|
|
+ this.$refs.basicLayout.param.content.where.agentinfo = this.agentinfo
|
|
|
|
|
+ this.$refs.basicLayout.param.content.where.remarks = this.remarks
|
|
|
this.$refs.basicLayout.listData()
|
|
this.$refs.basicLayout.listData()
|
|
|
},
|
|
},
|
|
|
tableClassName (row) {
|
|
tableClassName (row) {
|
|
@@ -115,7 +126,7 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
</script>
|
|
</script>
|
|
|
<style>
|
|
<style>
|
|
|
- </style>
|
|
|
|
|
|
|
+ </style>
|