This commit is contained in:
魏啾 2024-10-15 16:40:35 +08:00
commit c5816b1d85
6 changed files with 9 additions and 11 deletions

View File

@ -1,6 +1,6 @@
<!-- 耗材列表 -->
<template>
<el-dialog title="选择耗材" :visible.sync="dialogVisible" @open="resetHandle()">
<el-dialog title="选择耗材" :visible.sync="dialogVisible">
<el-form :model="searchForm" inline>
<el-form-item>
<el-input v-model="searchForm.conTypeName" placeholder="耗材类型名称" @input="onInput"></el-input>
@ -162,7 +162,6 @@ export default {
this.goods = []
}
this.resetHandle()
this.getTableData()
},
close() {
this.dialogVisible = false

View File

@ -1,5 +1,5 @@
<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-item>
<el-input v-model="searhForm.name" placeholder="商品名称" @input="onInput"></el-input>
@ -192,9 +192,8 @@ export default {
} else {
this.goods = []
}
this.resetHandle()
this.tbShopCategoryGet()
this.getTableData()
this.resetHandle()
},
close() {
this.dialogVisible = false

View File

@ -56,7 +56,7 @@
</el-col>
</el-row>
</div>
<div class="head-container">
<!-- <div class="head-container">
<el-row>
<el-col>
<el-button
@ -67,7 +67,7 @@
>
</el-col>
</el-row>
</div>
</div> -->
<div class="head-container" id="table_drag">
<el-table
ref="table"

View File

@ -275,7 +275,7 @@ export default {
remark: '',
time: dayjs().format('YYYY-MM-DD'),
totalAmount: 0,
type: 'purveyor',
type: 'out',
shopId: localStorage.getItem('shopId')
},
queryRules: {
@ -503,7 +503,7 @@ export default {
item.number = formatDecimal(item.stockNumber - item.stockConsume, 2, true)
item.stockNumber = 0
item.costPrice = item.price
item.conInfold = item.id
item.conInfoId = item.id
return item
})
this.tableData.list = [...this.tableData.list, ...arr]

View File

@ -466,7 +466,7 @@ export default {
item.number = formatDecimal(item.stockNumber - item.stockConsume, 2, true)
item.stockNumber = 0
item.costPrice = item.price
item.conInfold = item.id
item.conInfoId = item.id
return item
})
this.tableData.list = [...this.tableData.list, ...arr]

View File

@ -47,7 +47,7 @@
<div class="item">
<div class="t">支付时间</div>
<div class="b">
{{ detail.createdAt | paidTime | timeFilter }}
{{ detail.createdAt | timeFilter }}
</div>
</div>
</div>