用户编辑和余额增加减
This commit is contained in:
@@ -129,7 +129,7 @@ export default {
|
||||
if (valid) {
|
||||
try {
|
||||
this.form.lpNum = this.profitNumber
|
||||
// this.form.stockNumber = this.form.stocktakinNum
|
||||
this.form.balance = this.form.stockNumber
|
||||
this.loading = true
|
||||
let res = await tbConCheck(this.form)
|
||||
console.log(this.form);
|
||||
|
||||
@@ -18,8 +18,9 @@
|
||||
</el-select>
|
||||
</div>
|
||||
<div style="width: 300px;">
|
||||
<el-select clearable v-model="query.sort" placeholder="排序">
|
||||
<el-option label="按数量排序" value="1" />
|
||||
<el-select v-model="query.sort" placeholder="排序">
|
||||
<el-option label="默认排序" value="false" />
|
||||
<el-option label="库存降序" value="true" />
|
||||
</el-select>
|
||||
</div>
|
||||
<el-button type="primary" @click="getTableData">查询</el-button>
|
||||
@@ -160,7 +161,7 @@ export default {
|
||||
montey: "",
|
||||
categorys: [],
|
||||
query: {
|
||||
sort: "", // 排序
|
||||
sort: "false", // 排序
|
||||
name: '',
|
||||
isStock: '',
|
||||
num: '',
|
||||
@@ -315,7 +316,7 @@ export default {
|
||||
isStock: this.query.isStock,
|
||||
num: this.query.num,
|
||||
categoryId: this.query.categoryId,
|
||||
sort:this.query.sort,
|
||||
sort: this.query.sort,
|
||||
shopId: localStorage.getItem('shopId')
|
||||
})
|
||||
this.tableData.loading = false
|
||||
|
||||
Reference in New Issue
Block a user