|
@@ -6,18 +6,18 @@
|
|
<text class="label">收购状态</text>
|
|
<text class="label">收购状态</text>
|
|
<text class="desc" v-if="item.isOrders == 0">
|
|
<text class="desc" v-if="item.isOrders == 0">
|
|
<text class="icon"></text>
|
|
<text class="icon"></text>
|
|
- <text >未接单</text>
|
|
|
|
|
|
+ <text>未接单</text>
|
|
</text>
|
|
</text>
|
|
<text class="desc" v-else>
|
|
<text class="desc" v-else>
|
|
<text class="icon" style="color: #13ce66"></text>
|
|
<text class="icon" style="color: #13ce66"></text>
|
|
- <text >已接单</text>
|
|
|
|
|
|
+ <text>已接单</text>
|
|
</text>
|
|
</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="box order_detail">
|
|
<view class="box order_detail">
|
|
<view class="item">
|
|
<view class="item">
|
|
<text class="label">收购商品</text>
|
|
<text class="label">收购商品</text>
|
|
- <text class="desc">{{ item.goodsName }}</text>
|
|
|
|
|
|
+ <text class="desc omit">{{ item.goodsName }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="item">
|
|
<text class="label">数量</text>
|
|
<text class="label">数量</text>
|
|
@@ -48,6 +48,8 @@
|
|
<text class="desc">{{ item.createTime }}</text>
|
|
<text class="desc">{{ item.createTime }}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <button class="btn">同意接单并支付</button>
|
|
|
|
+ <button class="btn" style="background-color: #F44336;">拒绝接单</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -62,9 +64,7 @@ export default {
|
|
onLoad(e) {
|
|
onLoad(e) {
|
|
if (e.id) {
|
|
if (e.id) {
|
|
this.http.request({
|
|
this.http.request({
|
|
- url: '/level-two-server/app/TbGoodsDemand/goodsDemandDetail',
|
|
|
|
- data: {id: e.id},
|
|
|
|
- loading: 'false',
|
|
|
|
|
|
+ url: '/level-two-server/app/TbGoodsDemand/goodsDemandDetail?id=' + e.id,
|
|
success: res => {
|
|
success: res => {
|
|
this.item = res.data.data;
|
|
this.item = res.data.data;
|
|
}
|
|
}
|
|
@@ -79,4 +79,8 @@ export default {
|
|
page {
|
|
page {
|
|
background-color: $pg;
|
|
background-color: $pg;
|
|
}
|
|
}
|
|
|
|
+.btn{
|
|
|
|
+ margin-top: 20px;
|
|
|
|
+ width: 70%;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|