Compare commits
No commits in common. "fcb527e472eb7d000632fdae341093b05f109ae3" and "1cd917c41f80e3f759a62108b46a1102b37863c4" have entirely different histories.
fcb527e472
...
1cd917c41f
|
|
@ -766,15 +766,6 @@ export function specialPostage(params) {
|
||||||
params
|
params
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
// getMaxSortNum
|
|
||||||
export function getMaxSortNum(params) {
|
|
||||||
return request({
|
|
||||||
url: 'sale/manage/wares/getMaxSortNum',
|
|
||||||
method: 'get',
|
|
||||||
params
|
|
||||||
})
|
|
||||||
}
|
|
||||||
// 产品生成
|
// 产品生成
|
||||||
export function generateProduct(params) {
|
export function generateProduct(params) {
|
||||||
return request({
|
return request({
|
||||||
|
|
|
||||||
|
|
@ -335,15 +335,15 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="商品排序" prop="sort">
|
<el-form-item label="商品排序" prop="sortStatus">
|
||||||
<el-input-number
|
<el-select v-model="form.sortStatus" clearable>
|
||||||
v-model="form.sort"
|
<el-option
|
||||||
style="width: 100%"
|
v-for="item in sortList"
|
||||||
clearable
|
:key="item.value"
|
||||||
:placeholder="'请输入'"
|
:label="item.label"
|
||||||
:max="99999"
|
:value="item.value"
|
||||||
:controls="false"
|
|
||||||
/>
|
/>
|
||||||
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
|
|
|
||||||
|
|
@ -287,7 +287,6 @@
|
||||||
:label="'排序'"
|
:label="'排序'"
|
||||||
>
|
>
|
||||||
</el-table-column> -->
|
</el-table-column> -->
|
||||||
|
|
||||||
<el-table-column align="center" prop="cover" :label="'商品主图'">
|
<el-table-column align="center" prop="cover" :label="'商品主图'">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<img class="bgImg" :src="scope.row.cover" alt="">
|
<img class="bgImg" :src="scope.row.cover" alt="">
|
||||||
|
|
@ -589,12 +588,6 @@
|
||||||
width="120"
|
width="120"
|
||||||
label="下架时间"
|
label="下架时间"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
|
||||||
align="center"
|
|
||||||
prop="sort"
|
|
||||||
width="120"
|
|
||||||
label="商品排序"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
prop="time"
|
prop="time"
|
||||||
|
|
|
||||||
|
|
@ -297,23 +297,15 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="商品排序" prop="sort">
|
<el-form-item label="商品排序" prop="sortStatus">
|
||||||
<!-- <el-select v-model="form.sortStatus" clearable>
|
<el-select v-model="form.sortStatus" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in sortList"
|
v-for="item in sortList"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"
|
:value="item.value"
|
||||||
/>
|
/>
|
||||||
</el-select> -->
|
</el-select>
|
||||||
<el-input-number
|
|
||||||
v-model="form.sort"
|
|
||||||
style="width: 100%"
|
|
||||||
clearable
|
|
||||||
:placeholder="'请输入'"
|
|
||||||
:max="99999"
|
|
||||||
:controls="false"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
|
|
@ -1034,17 +1026,9 @@ export default {
|
||||||
|
|
||||||
// 获取极差列表
|
// 获取极差列表
|
||||||
this.getRangeList()
|
this.getRangeList()
|
||||||
this.getMaxSortNum()
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
isLocals,
|
isLocals,
|
||||||
getMaxSortNum() {
|
|
||||||
api.getMaxSortNum().then((res) => {
|
|
||||||
if (res.code === 200) {
|
|
||||||
this.$set(this.form, 'sort', res.data)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
getOther() {
|
getOther() {
|
||||||
api.get_sort().then((res) => {
|
api.get_sort().then((res) => {
|
||||||
this.sortList = res.data
|
this.sortList = res.data
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue