更新
This commit is contained in:
@@ -101,16 +101,29 @@
|
||||
customFooter
|
||||
@confirm="onConfirm"
|
||||
width="1290px">
|
||||
<label style="width:90px">店铺:</label>
|
||||
<el-select v-model="mallId" placeholder="请选择" @change="mallChange">
|
||||
<el-option
|
||||
v-for="item in mallList"
|
||||
:key="item.mallId"
|
||||
:label="item.mallName"
|
||||
:value="item.mallId">
|
||||
{{ item.mallName }}
|
||||
</el-option>
|
||||
</el-select>
|
||||
<ai-search-bar>
|
||||
<template #left>
|
||||
<div class="search-item">
|
||||
<label style="width:90px">店铺:</label>
|
||||
<el-select v-model="mallId" placeholder="请选择" @change="mallChange">
|
||||
<el-option
|
||||
v-for="item in mallList"
|
||||
:key="item.mallId"
|
||||
:label="item.mallName"
|
||||
: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
|
||||
:tableData="tableData"
|
||||
:col-configs="colConfigs"
|
||||
@@ -290,6 +303,7 @@
|
||||
],
|
||||
mallId: '',
|
||||
mallName: '',
|
||||
skc: '',
|
||||
tableData: [],
|
||||
total: 0,
|
||||
isBegin: false,
|
||||
@@ -370,6 +384,18 @@
|
||||
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() {
|
||||
this.addressList = []
|
||||
this.getAddressInfo(0)
|
||||
@@ -470,7 +496,8 @@
|
||||
"isCustomGoods": false,
|
||||
"statusList": [
|
||||
1
|
||||
]
|
||||
],
|
||||
productSkcIdList: this.skc? this.skc.split(','): null
|
||||
}}).then((res) => {
|
||||
if (res.errorCode == 1000000) {
|
||||
let length = res.result.subOrderForSupplierList.length
|
||||
|
||||
Reference in New Issue
Block a user