|
|
@@ -5,7 +5,7 @@
|
|
|
<t-table :headerBackgroundColor="'#F0F2F6'">
|
|
|
<t-tr header>
|
|
|
<t-th>时间</t-th>
|
|
|
- <t-th>花材</t-th>
|
|
|
+ <t-th>事项</t-th>
|
|
|
<t-th>变动</t-th>
|
|
|
<t-th>最终</t-th>
|
|
|
<t-th>操作人</t-th>
|
|
|
@@ -45,10 +45,12 @@ export default {
|
|
|
methods: {
|
|
|
async init(){
|
|
|
let id = this.option.id?this.option.id:0
|
|
|
+ let customId = this.option.customId?this.option.customId:0
|
|
|
let itemId = this.option.itemId?this.option.itemId:0
|
|
|
- let itemName = this.option.itemName?this.option.itemName:0
|
|
|
- uni.setNavigationBarTitle({ title: itemName })
|
|
|
- const res = await getBookChangeList({ page:this.list.page,relateSecondId:id,itemId:itemId })
|
|
|
+ let itemName = this.option.itemName?this.option.itemName:''
|
|
|
+ let customName = this.option.customName?this.option.customName:''
|
|
|
+ uni.setNavigationBarTitle({title: customName+' 的 '+itemName})
|
|
|
+ const res = await getBookChangeList({ page:this.list.page,relateSecondId:id,customId:customId,itemId:itemId})
|
|
|
if (this.$util.isEmpty(res.data.list)){
|
|
|
this.completes(res)
|
|
|
return
|