|
|
@@ -20,7 +20,9 @@
|
|
|
:isExport="false"
|
|
|
>
|
|
|
<template #titleRight>
|
|
|
- <to_examine v-if="tool.checkAuth($route.name,'toExamine')" class="inline-16" style="margin-left: 10px" :rowData="rowData" @examineSuccess="onSuccess" :disabled="rowData.length === 0"></to_examine>
|
|
|
+ <batchUp class="inline-16" v-if="tool.checkAuth($route.name,'batchUp')" :rowData="rowData" :disabled="rowData.length === 0" @batchUpSuccess="onSuccess"></batchUp>
|
|
|
+ <batchDown class="inline-16" v-if="tool.checkAuth($route.name,'batchDown')" :rowData="rowData" :disabled="rowData.length === 0" @batchUpSuccess="onSuccess"></batchDown>
|
|
|
+ <to_examine v-if="tool.checkAuth($route.name,'toExamine')" class="inline-16" :rowData="rowData" @examineSuccess="onSuccess" :disabled="rowData.length === 0"></to_examine>
|
|
|
<counter_examine v-if="tool.checkAuth($route.name,'reverseReview')" class="inline-16" :rowData="rowData" @examineSuccess="onSuccess" :disabled="rowData.length === 0"></counter_examine>
|
|
|
<priceLevelSetting class="inline-16" v-if="tool.checkAuth($route.name,'priceSet')" ></priceLevelSetting>
|
|
|
<el-button class="inline-16" size="small" v-if="tool.checkAuth($route.name,'refreshStock')" type="primary" @click="refreshStock">刷新库存</el-button>
|
|
|
@@ -106,6 +108,17 @@
|
|
|
v-model="selectParam.spec" @keyup.native.enter="selectChange" @clear="selectChange" size="small" class="input-with-select inline-16 layout_search__panel" clearable>
|
|
|
</el-input>
|
|
|
</div>
|
|
|
+ <div class="mt-10">
|
|
|
+ <label class="search__label" >领域:</label>
|
|
|
+ <el-select class="inline-24" v-model="selectParam.tradefield" placeholder="请选择状态" @change="selectChange" size="small" clearable >
|
|
|
+ <el-option
|
|
|
+ v-for="item in tradefieldData"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.value"
|
|
|
+ :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<template v-slot:tbList="scope">
|
|
|
<div>
|
|
|
@@ -174,6 +187,8 @@
|
|
|
import previewImage from '@/components/previewImage/index'
|
|
|
import editTemp from './modules/edit.vue'
|
|
|
import to_examine from './modules/toExamine'
|
|
|
+import batchUp from './modules/batchUp'
|
|
|
+import batchDown from './modules/batchDown'
|
|
|
import counter_examine from './modules/counterExamine'
|
|
|
import priceLevelSetting from './modules/priceLevelSetting'
|
|
|
import importFile from './modules/importFile.vue'
|
|
|
@@ -211,9 +226,11 @@ export default {
|
|
|
enddate:'',
|
|
|
status:'',
|
|
|
model:'',
|
|
|
- spec:''
|
|
|
+ spec:'',
|
|
|
+ tradefield:''
|
|
|
},
|
|
|
rowData:[],
|
|
|
+ tradefieldData:[],
|
|
|
errorUrl:null,
|
|
|
dateSelect:'',
|
|
|
}
|
|
|
@@ -226,7 +243,9 @@ export default {
|
|
|
priceLevelSetting,
|
|
|
importFile,
|
|
|
importImage,
|
|
|
- importInfo
|
|
|
+ importInfo,
|
|
|
+ batchUp,
|
|
|
+ batchDown
|
|
|
},
|
|
|
methods:{
|
|
|
async isOnSaleChange(val){
|
|
|
@@ -339,7 +358,16 @@ export default {
|
|
|
message:'刷新成功',
|
|
|
type:"success"
|
|
|
})
|
|
|
+ },
|
|
|
+ /*获取领域*/
|
|
|
+ querytradefield(){
|
|
|
+ this.$store.dispatch('optiontypeselect','tradefield').then(res=>{
|
|
|
+ this.tradefieldData = res.data
|
|
|
+ })
|
|
|
}
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ this.querytradefield()
|
|
|
}
|
|
|
}
|
|
|
|