fix:光子工序中的route添加ordering:-update_time
This commit is contained in:
parent
831c33cb98
commit
1d3f3a124c
|
@ -63,7 +63,7 @@
|
||||||
<el-switch v-model="form.need_enm"></el-switch>
|
<el-switch v-model="form.need_enm"></el-switch>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
</el-form>
|
</el-form>
|
||||||
<sc-form-table v-if="baseCode!=='bxerp'" ref="table" v-model="materialList" :addTemplate="addTemplate" placeholder="暂无数据">
|
<sc-form-table v-if="baseCode!=='bxerp'" ref="table" v-model="materialList" :pushType="'unshift'" :addTemplate="addTemplate" placeholder="暂无数据">
|
||||||
<el-table-column prop="type" label="输入物料" min-width="120" align="center">
|
<el-table-column prop="type" label="输入物料" min-width="120" align="center">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<span v-if="!scope.row.isedit">{{
|
<span v-if="!scope.row.isedit">{{
|
||||||
|
@ -199,7 +199,7 @@ export default {
|
||||||
},
|
},
|
||||||
getRoute(id) {
|
getRoute(id) {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.$API.mtm.route.list.req({ mgroup: id, page: 0 }).then(res => {
|
that.$API.mtm.route.list.req({ mgroup: id,ordering:'-update_time', page: 0 }).then(res => {
|
||||||
that.routes = res;
|
that.routes = res;
|
||||||
let mList = []
|
let mList = []
|
||||||
res.forEach(item => {
|
res.forEach(item => {
|
||||||
|
|
Loading…
Reference in New Issue