diff --git a/canteen/pages/delivery/apply.vue b/canteen/pages/delivery/apply.vue index 3776533..f2b1f7e 100644 --- a/canteen/pages/delivery/apply.vue +++ b/canteen/pages/delivery/apply.vue @@ -14,7 +14,12 @@ 物资明细 - + diff --git a/supplier/pages/gonghuo/order.vue b/supplier/pages/gonghuo/order.vue index b0cd41a..0400aa2 100644 --- a/supplier/pages/gonghuo/order.vue +++ b/supplier/pages/gonghuo/order.vue @@ -15,7 +15,7 @@ 采购方 - {{ item.p_name }} + {{ item.canteen.canteen_name }} 发单时间 @@ -31,7 +31,7 @@ 订单状态 - {{ item.state }} + {{ item.state }} @@ -68,6 +68,10 @@ name: '待发货', list: [], ..._public + },{ + name: '已发货', + list: [], + ..._public },{ name: '已完成', list: [], @@ -81,6 +85,21 @@ windowHeight: 0 } }, + computed: { + stateClass(){ + return function(val){ + let class_name = { + '已发货': 'passed', + '已收货': 'passed', + '已入库': 'passed', + '备货中': 'wait', + '待接单': 'quoted-price', + '已退单': 'refuse' + } + return class_name[val]; + } + } + }, onLoad(){ this.windowHeight = uni.getSystemInfoSync().windowHeight; this.getData();