耗材出库入库参数修改
This commit is contained in:
parent
2b6a4f9a83
commit
2acc46e811
|
|
@ -1,6 +1,6 @@
|
||||||
<!-- 耗材列表 -->
|
<!-- 耗材列表 -->
|
||||||
<template>
|
<template>
|
||||||
<el-dialog title="选择耗材" :visible.sync="dialogVisible" @open="resetHandle()">
|
<el-dialog title="选择耗材" :visible.sync="dialogVisible">
|
||||||
<el-form :model="searchForm" inline>
|
<el-form :model="searchForm" inline>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-input v-model="searchForm.conTypeName" placeholder="耗材类型名称" @input="onInput"></el-input>
|
<el-input v-model="searchForm.conTypeName" placeholder="耗材类型名称" @input="onInput"></el-input>
|
||||||
|
|
@ -162,7 +162,6 @@ export default {
|
||||||
this.goods = []
|
this.goods = []
|
||||||
}
|
}
|
||||||
this.resetHandle()
|
this.resetHandle()
|
||||||
this.getTableData()
|
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.dialogVisible = false
|
this.dialogVisible = false
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<el-dialog title="选择商品" :visible.sync="dialogVisible" @open="resetHandle()" @close="reset" top="5vh">
|
<el-dialog title="选择商品" :visible.sync="dialogVisible" @close="reset" top="5vh">
|
||||||
<el-form :model="searhForm" inline>
|
<el-form :model="searhForm" inline>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-input v-model="searhForm.name" placeholder="商品名称" @input="onInput"></el-input>
|
<el-input v-model="searhForm.name" placeholder="商品名称" @input="onInput"></el-input>
|
||||||
|
|
@ -192,9 +192,8 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.goods = []
|
this.goods = []
|
||||||
}
|
}
|
||||||
this.resetHandle()
|
|
||||||
this.tbShopCategoryGet()
|
this.tbShopCategoryGet()
|
||||||
this.getTableData()
|
this.resetHandle()
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.dialogVisible = false
|
this.dialogVisible = false
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<div class="head-container">
|
<!-- <div class="head-container">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col>
|
<el-col>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -67,7 +67,7 @@
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="head-container" id="table_drag">
|
<div class="head-container" id="table_drag">
|
||||||
<el-table
|
<el-table
|
||||||
ref="table"
|
ref="table"
|
||||||
|
|
|
||||||
|
|
@ -275,7 +275,7 @@ export default {
|
||||||
remark: '',
|
remark: '',
|
||||||
time: dayjs().format('YYYY-MM-DD'),
|
time: dayjs().format('YYYY-MM-DD'),
|
||||||
totalAmount: 0,
|
totalAmount: 0,
|
||||||
type: 'purveyor',
|
type: 'out',
|
||||||
shopId: localStorage.getItem('shopId')
|
shopId: localStorage.getItem('shopId')
|
||||||
},
|
},
|
||||||
queryRules: {
|
queryRules: {
|
||||||
|
|
@ -503,7 +503,7 @@ export default {
|
||||||
item.number = formatDecimal(item.stockNumber - item.stockConsume, 2, true)
|
item.number = formatDecimal(item.stockNumber - item.stockConsume, 2, true)
|
||||||
item.stockNumber = 0
|
item.stockNumber = 0
|
||||||
item.costPrice = item.price
|
item.costPrice = item.price
|
||||||
item.conInfold = item.id
|
item.conInfoId = item.id
|
||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
this.tableData.list = [...this.tableData.list, ...arr]
|
this.tableData.list = [...this.tableData.list, ...arr]
|
||||||
|
|
|
||||||
|
|
@ -466,7 +466,7 @@ export default {
|
||||||
item.number = formatDecimal(item.stockNumber - item.stockConsume, 2, true)
|
item.number = formatDecimal(item.stockNumber - item.stockConsume, 2, true)
|
||||||
item.stockNumber = 0
|
item.stockNumber = 0
|
||||||
item.costPrice = item.price
|
item.costPrice = item.price
|
||||||
item.conInfold = item.id
|
item.conInfoId = item.id
|
||||||
return item
|
return item
|
||||||
})
|
})
|
||||||
this.tableData.list = [...this.tableData.list, ...arr]
|
this.tableData.list = [...this.tableData.list, ...arr]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue