其他报备不需要确认,已报备列表还需展示创建时间

This commit is contained in:
2023-10-16 13:45:42 +08:00
parent f9934772e5
commit bd2585e711
2 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@ export default {
queryType: Number(this.queryType),
userOrderId: this.userOrderId,
orderCode: this.orderCode,
reportingConfirm: 1,
reportingConfirm: this.radio == '其他报备' ? 0 : 1,
reportingItem: this.radio ? this.radio : "",
reportingDesc: this.decscripTxt ? this.decscripTxt : ""
})

View File

@ -3,7 +3,7 @@
<div class="title">已报备列表:</div>
<div class="line"></div>
<div v-if="reportList">
<div style="margin: 7px 0" v-for="(item,index) in reportList" :key="index">{{item.remark}}</div>
<div style="margin: 7px 0" v-for="(item,index) in reportList" :key="index">{{item.createTime+','}}{{item.remark}}</div>
</div>
</div>
</template>
@ -35,10 +35,10 @@ export default {
methods: {
async getReportingList(){
let res = await orderReportingList({
queryType: Number(this.queryType),
userOrderId:this.userOrderId,
orderCode: this.orderCode,
taskOrderId:this.taskOrderId
queryType: 9,//Number(this.queryType),
userOrderId:2705436,//this.userOrderId,
orderCode: 'ZD231013001407',//this.orderCode,
taskOrderId:24845,//this.taskOrderId
})
this.reportList=res.data
}