工单对账模块
This commit is contained in:
@ -56,9 +56,10 @@
|
||||
<span class="allTxt">{{ item.accountStatus?.label }}</span>
|
||||
</div>
|
||||
<div class="rightBtn">
|
||||
<button class="btn" v-if="queryType == 1" @click="handleAccounting(item)">记账</button>
|
||||
<button class="btn" v-if="[3, 5].includes(queryType)">重新记账</button>
|
||||
<button class="btn" v-if="queryType == 7">查看详情</button>
|
||||
<button class="btn" v-if="queryType == 1" @click="handleAccounting(item)">记账</button>
|
||||
<button class="btn" v-if="queryType == 3" @click="handleAccounting(item)">{{item.accountStatus.code == 3 ? '重新记账' : '记账'}}</button>
|
||||
<button class="btn" v-if="queryType == 5" @click="handleAccounting(item)">重新记账</button>
|
||||
<button class="btn" v-if="queryType == 7" @click="goPage('aduitCompleteDetail',{id:item.id,postfix: item.postfix})">查看详情</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -122,12 +123,11 @@ export default {
|
||||
}
|
||||
},
|
||||
handleAccounting(item){
|
||||
console.log("iiii",item)
|
||||
this.$router.push({
|
||||
name: 'accountingView', // 目标路由的名称
|
||||
params: {
|
||||
id: item.id, // 参数对象的属性
|
||||
postfix:item.postfix
|
||||
postfix:item.postfix,
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user