Explorar o código

单价调整,变更令排序

MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
aa6a66e7b0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/controller/revise_controller.js

+ 2 - 1
app/controller/revise_controller.js

@@ -921,7 +921,8 @@ module.exports = app => {
         async _loadChange(ctx) {
             const change = await ctx.service.change.getAllDataByCondition({
                 columns: [ 'cid', 'code', 'name', 'w_code' ],
-                where: { tid: ctx.tender.id }
+                where: { tid: ctx.tender.id },
+                orders: [['code', 'asc']],
             });
             const changeBills = await ctx.service.changeAuditList.getAllDataByCondition({
                 columns: [ 'cid', 'code', 'name', 'unit', 'unit_price' ],