|
@@ -6,14 +6,9 @@
|
|
|
<view class="card_box">
|
|
<view class="card_box">
|
|
|
|
|
|
|
|
<view class="item_box rx-bc">
|
|
<view class="item_box rx-bc">
|
|
|
- <view class="item_one perce50 rx-sc">
|
|
|
|
|
|
|
+ <view class="item_one rx-sc">
|
|
|
<view class="lable">委外名称:</view>
|
|
<view class="lable">委外名称:</view>
|
|
|
- <view>{{ outObj.name }}</view>
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
- <view class="item_one perce50 rx-sc">
|
|
|
|
|
- <view class="lable">委外类型:</view>
|
|
|
|
|
- <view>{{ outObj.type == 4 ? '带料委外' : '无料委外' }}</view>
|
|
|
|
|
|
|
+ <view style="color: #157A2C">{{ outObj.name }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -21,9 +16,15 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="item_box rx-bc">
|
|
<view class="item_box rx-bc">
|
|
|
|
|
+
|
|
|
|
|
+ <view class="item_one perce50 rx-sc">
|
|
|
|
|
+ <view class="lable">委外类型:</view>
|
|
|
|
|
+ <view style="color: #157A2C">{{ outObj.type == 4 ? '带料委外' : '无料委外' }}</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
<view class="item_one perce50 rx-sc">
|
|
<view class="item_one perce50 rx-sc">
|
|
|
- <view class="lable">仓库直发:</view>
|
|
|
|
|
- <view>{{ outObj.isStraight == 1 ? '是' : '否' }}</view>
|
|
|
|
|
|
|
+ <view class="lable">直接入库:</view>
|
|
|
|
|
+ <view style="color: #157A2C">{{ outObj.isStraight == 1 ? '是' : '否' }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -47,7 +48,7 @@
|
|
|
<u-list @scrolltolower="scrolltolower" class="z_list">
|
|
<u-list @scrolltolower="scrolltolower" class="z_list">
|
|
|
|
|
|
|
|
<view v-if="actTab == '物品清单'">
|
|
<view v-if="actTab == '物品清单'">
|
|
|
- <view class="rx-bc" v-if="outObj.isStraight != 1">
|
|
|
|
|
|
|
+ <view class="rx-bc" v-if="outObj.isStraight != 1 && clientEnvironmentId != 2">
|
|
|
<view style="margin-left: 24rpx">
|
|
<view style="margin-left: 24rpx">
|
|
|
<checkbox v-if="!seletedAll" color="#fff" :checked="seletedAll" @tap="_seletedAll">全选
|
|
<checkbox v-if="!seletedAll" color="#fff" :checked="seletedAll" @tap="_seletedAll">全选
|
|
|
</checkbox>
|
|
</checkbox>
|
|
@@ -62,8 +63,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<checkbox-group v-for="(item, index) in pickOutInList" :key="index"
|
|
<checkbox-group v-for="(item, index) in pickOutInList" :key="index"
|
|
|
- @change="e => selectVal(e, item, index)">
|
|
|
|
|
- <label class="listBox rx-bs">
|
|
|
|
|
|
|
+ @change="e => selectVal(e, item, index)" v-if="clientEnvironmentId != 2">
|
|
|
|
|
+ <label class="listBox rx-bs" >
|
|
|
|
|
|
|
|
<view class="listBox-sel">
|
|
<view class="listBox-sel">
|
|
|
<checkbox
|
|
<checkbox
|
|
@@ -162,10 +163,18 @@
|
|
|
<text>{{ itm.label }}</text>{{ item[itm.prop] }}
|
|
<text>{{ itm.label }}</text>{{ item[itm.prop] }}
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="items" v-if="item.isDemandQuantity">
|
|
|
|
|
|
|
+ <view class="items" v-if="item.isDemandQuantity && clientEnvironmentId != 2">
|
|
|
<text>数量</text>{{ item.count * ( checkListLen || 1 ) }}
|
|
<text>数量</text>{{ item.count * ( checkListLen || 1 ) }}
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="items content_num" v-if="!item.isDemandQuantity">
|
|
|
|
|
|
|
+ <view class="items content_num" v-if="!item.isDemandQuantity && clientEnvironmentId != 2">
|
|
|
|
|
+ <text>数量</text> <input style="8rpx !important"
|
|
|
|
|
+ v-model="item.demandQuantity"></input>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
|
|
+ <view class="items" v-if="item.isDemandQuantity && clientEnvironmentId == 2">
|
|
|
|
|
+ <text>数量</text>{{ item.count * ( outObj.formedNumLast || 1 ) }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="items content_num" v-if="!item.isDemandQuantity && clientEnvironmentId == 2">
|
|
|
<text>数量</text> <input style="8rpx !important"
|
|
<text>数量</text> <input style="8rpx !important"
|
|
|
v-model="item.demandQuantity"></input>
|
|
v-model="item.demandQuantity"></input>
|
|
|
</view>
|
|
</view>
|
|
@@ -320,6 +329,7 @@
|
|
|
methods: {
|
|
methods: {
|
|
|
open(obj) {
|
|
open(obj) {
|
|
|
this.outObj = obj
|
|
this.outObj = obj
|
|
|
|
|
+ this.actTab = '物品清单',
|
|
|
|
|
|
|
|
this.outsourceMaterialFn()
|
|
this.outsourceMaterialFn()
|
|
|
this.show = true
|
|
this.show = true
|
|
@@ -441,6 +451,10 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
applyoutsourceSave(param).then(res => {
|
|
applyoutsourceSave(param).then(res => {
|
|
|
|
|
+ uni.showToast({
|
|
|
|
|
+ title: "提交成功",
|
|
|
|
|
+ icon: "none"
|
|
|
|
|
+ })
|
|
|
this.$emit('close', true)
|
|
this.$emit('close', true)
|
|
|
this.checkListLen = 0
|
|
this.checkListLen = 0
|
|
|
this.close()
|
|
this.close()
|