This commit is contained in:
liushiwei
2023-11-27 21:30:08 +08:00
parent 15cd54a44e
commit 3921daba27

View File

@@ -101,16 +101,29 @@
customFooter customFooter
@confirm="onConfirm" @confirm="onConfirm"
width="1290px"> width="1290px">
<label style="width:90px">店铺</label> <ai-search-bar>
<el-select v-model="mallId" placeholder="请选择" @change="mallChange"> <template #left>
<el-option <div class="search-item">
v-for="item in mallList" <label style="width:90px">店铺</label>
:key="item.mallId" <el-select v-model="mallId" placeholder="请选择" @change="mallChange">
:label="item.mallName" <el-option
:value="item.mallId"> v-for="item in mallList"
{{ item.mallName }} :key="item.mallId"
</el-option> :label="item.mallName"
</el-select> :value="item.mallId">
{{ item.mallName }}
</el-option>
</el-select>
</div>
<div class="search-item">
<label style="width:90px">SKC</label>
<el-input size="small" style="display: inline" placeholder="请输入SKC多SKC个用,隔开" v-model="skc"></el-input>
</div>
</template>
<template #right>
<el-button type="primary" @click="search()">查询</el-button>
</template>
</ai-search-bar>
<ai-table <ai-table
:tableData="tableData" :tableData="tableData"
:col-configs="colConfigs" :col-configs="colConfigs"
@@ -290,6 +303,7 @@
], ],
mallId: '', mallId: '',
mallName: '', mallName: '',
skc: '',
tableData: [], tableData: [],
total: 0, total: 0,
isBegin: false, isBegin: false,
@@ -370,6 +384,18 @@
console.log(err) console.log(err)
}) })
}, },
search() {
if (!this.mallId) {
Message.error('请选择店铺')
return
}
// 下载数据
this.loadMode = 0
this.tableData = []
this.currentPage = 1
this.isDlgLoading = true
this.getList(this.tableData, this.mallId, this.mallName, 1)
},
toGetAddressInfo() { toGetAddressInfo() {
this.addressList = [] this.addressList = []
this.getAddressInfo(0) this.getAddressInfo(0)
@@ -470,7 +496,8 @@
"isCustomGoods": false, "isCustomGoods": false,
"statusList": [ "statusList": [
1 1
] ],
productSkcIdList: this.skc? this.skc.split(','): null
}}).then((res) => { }}).then((res) => {
if (res.errorCode == 1000000) { if (res.errorCode == 1000000) {
let length = res.result.subOrderForSupplierList.length let length = res.result.subOrderForSupplierList.length