|
|
@@ -80,6 +80,11 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
|
|
|
+ <el-radio-group v-model="singleReport" style="margin-top: 16px;">
|
|
|
+ <el-radio :label="1">单件报工</el-radio>
|
|
|
+ <el-radio :label="0">批量报工</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+
|
|
|
<div class="footer" slot="footer">
|
|
|
<el-button @click="visible = false">取消</el-button>
|
|
|
<el-button type="primary" @click="confirm">确定</el-button>
|
|
|
@@ -112,6 +117,8 @@
|
|
|
teamId: '',
|
|
|
id: ''
|
|
|
},
|
|
|
+
|
|
|
+ singleReport: 1,
|
|
|
teamList: [],
|
|
|
|
|
|
statusOpt: [
|
|
|
@@ -343,7 +350,9 @@
|
|
|
const loading = this.$loading({ text: '加载中...' });
|
|
|
releaseWorkOrder({
|
|
|
id: this.current.id,
|
|
|
- teamId: this.releasParams.teamId
|
|
|
+ teamId: this.releasParams.teamId,
|
|
|
+ singleReport: this.singleReport,
|
|
|
+ singleReportId: this.singleReportId
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res) {
|