Commit ad84d3a1 authored by hubaoshan's avatar hubaoshan

1

parent 4ca1c541
...@@ -407,9 +407,9 @@ ...@@ -407,9 +407,9 @@
{{ scope.row.location || '-' }} {{ scope.row.location || '-' }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="lot" prop="lot" :show-overflow-tooltip="true"> <el-table-column label="保质期" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.lot || '-' }} {{ formatCheBzq(scope.row.cheBzq) }}({{ scope.row.lot }})
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="qty" prop="qty" :show-overflow-tooltip="true"> <el-table-column label="qty" prop="qty" :show-overflow-tooltip="true">
...@@ -688,6 +688,7 @@ export default { ...@@ -688,6 +688,7 @@ export default {
remarks: undefined, remarks: undefined,
pn: undefined, pn: undefined,
qty: undefined, qty: undefined,
dateRange: undefined,
whId: this.warehouseList[0].dictValue, whId: this.warehouseList[0].dictValue,
ptype: '2', ptype: '2',
dealStatus: '0', dealStatus: '0',
...@@ -700,6 +701,7 @@ export default { ...@@ -700,6 +701,7 @@ export default {
qty2: undefined, qty2: undefined,
qty3: undefined, qty3: undefined,
qty4: undefined, qty4: undefined,
dateRange: undefined,
whId: this.warehouseList[0].dictValue, whId: this.warehouseList[0].dictValue,
ptype: '2', ptype: '2',
dealStatus: '0', dealStatus: '0',
...@@ -728,6 +730,7 @@ export default { ...@@ -728,6 +730,7 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.dateRange = []
this.queryParams = { this.queryParams = {
page: 1, page: 1,
rows: 10, rows: 10,
...@@ -737,7 +740,8 @@ export default { ...@@ -737,7 +740,8 @@ export default {
ptype: undefined, ptype: undefined,
dealStatus: undefined, dealStatus: undefined,
sureStatus: undefined, sureStatus: undefined,
flag: '' flag: '',
dateRange: undefined
} }
this.handleQuery() this.handleQuery()
}, },
...@@ -947,7 +951,9 @@ export default { ...@@ -947,7 +951,9 @@ export default {
} }
}) })
}, },
formatCheBzq(date) {
return date ? date.split(' ')[0] : ''
},
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
const id = row.businessId const id = row.businessId
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment