|
|
@@ -22,9 +22,16 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
+ <view class="list rx-bc" v-if="btnState == 1">
|
|
|
+ <view class="list_item_btn" @click="operate('jobBooking', {})">报工</view>
|
|
|
+ <view class="list_item_btn" @click="operate('',item)">批量报工</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<view class="list rx-bc" v-if="newTaskObj.existOutsource == 1">
|
|
|
- <view class="list_item_btn" @click="operate('outPicking', {})">委外领料</view>
|
|
|
+ <view class="list_item_btn" @click="operate('jobBooking', {})">委外领料</view>
|
|
|
<view class="list_item_btn" @click="operate('jobBooking', {})">委外报工</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -56,10 +63,11 @@
|
|
|
<zxz-uni-data-select :localdata="typeList" v-model="outsourceForm.type" dataValue='id'
|
|
|
dataKey="name" filterable format='{name}'></zxz-uni-data-select>
|
|
|
</u-form-item>
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
<u-form-item label="委外数量:" borderBottom prop="num">
|
|
|
- <input class="uni-input content_num" :disabled="outsourceForm.type == 2 ? false : true" v-model="outsourceForm.formedNumLast" type='number'></input>
|
|
|
+ <input class="uni-input content_num" :disabled="outsourceForm.type == 2 ? false : true"
|
|
|
+ v-model="outsourceForm.formedNumLast" type='number'></input>
|
|
|
</u-form-item>
|
|
|
|
|
|
<u-form-item label="委外物料:" borderBottom prop="" v-if="outsourceForm.type == 2">
|
|
|
@@ -243,10 +251,7 @@
|
|
|
name: '投料',
|
|
|
type: 'feeding'
|
|
|
},
|
|
|
- {
|
|
|
- name: '报工',
|
|
|
- type: 'jobBooking'
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
name: '更换周转车',
|
|
|
type: 'turnover'
|
|
|
@@ -469,7 +474,8 @@
|
|
|
|
|
|
this.newStepsList = []
|
|
|
this.stepsList.forEach((f, i) => {
|
|
|
- if (f.taskId != '-1' && f.taskId != '-2' && i > this.activeIndex && (f.type == 1 || f.type == 4 )) {
|
|
|
+ if (f.taskId != '-1' && f.taskId != '-2' && i > this.activeIndex && (f.type == 1 || f.type ==
|
|
|
+ 4)) {
|
|
|
this.newStepsList.push(f)
|
|
|
}
|
|
|
})
|
|
|
@@ -722,19 +728,19 @@
|
|
|
font-style: normal;
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
.content_num {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
padding: 0 4rpx;
|
|
|
-
|
|
|
+
|
|
|
/deep/ .uni-input-input {
|
|
|
border: 2rpx solid #F0F8F2;
|
|
|
background: #F0F8F2;
|
|
|
color: $theme-color;
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
</style>
|