|
@@ -48,12 +48,11 @@
|
|
|
<span slot="action" slot-scope="record">
|
|
|
<a @click="handleView(record)">查看</a>
|
|
|
<operation-button
|
|
|
- v-if="record.status===1"
|
|
|
@click="handleEdit(record)"
|
|
|
>修改</operation-button>
|
|
|
</span>
|
|
|
<template #status="text">
|
|
|
- <badge :text="BaseTool.Object.getField(statusMap,text)" :status="DictCache.COLOR.LONG_YAN_PURCHASE_ORDER_STATUS[text]"/>
|
|
|
+ <badge :text="BaseTool.Object.getField(statusMap,text)" :status="DictCache.COLOR.SB_UNUSED_STATUS[text]"/>
|
|
|
</template>
|
|
|
</s-table>
|
|
|
</div>
|
|
@@ -127,7 +126,7 @@ export default {
|
|
|
...this.queryParam,
|
|
|
dataScope: {
|
|
|
sortBy: 'desc',
|
|
|
- sortName: 'update_time'
|
|
|
+ sortName: 'created_time'
|
|
|
}
|
|
|
}
|
|
|
return getSbUnusedPage(Object.assign(parameter, this.queryParam))
|
|
@@ -151,7 +150,7 @@ export default {
|
|
|
},
|
|
|
created () {
|
|
|
// 下拉框map
|
|
|
- this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_ORDER_STATUS)
|
|
|
+ this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SB_UNUSED_STATUS)
|
|
|
this.tableOption()
|
|
|
},
|
|
|
methods: {
|