|
@@ -161,6 +161,25 @@
|
|
|
</FormItem> -->
|
|
</FormItem> -->
|
|
|
</Form>
|
|
</Form>
|
|
|
</Modal>
|
|
</Modal>
|
|
|
|
|
+ <Modal
|
|
|
|
|
+ title="返工"
|
|
|
|
|
+ v-model="finish_modal"
|
|
|
|
|
+ width="400"
|
|
|
|
|
+
|
|
|
|
|
+ @on-ok="finish_Ok">
|
|
|
|
|
+ <Form>
|
|
|
|
|
+ <FormItem label="返工班组:">
|
|
|
|
|
+ <Select v-model="finish_nickname" style="width:180px">
|
|
|
|
|
+ <Option
|
|
|
|
|
+ :value="item.id"
|
|
|
|
|
+ v-for="(item, index) in username_list"
|
|
|
|
|
+ :key="index"
|
|
|
|
|
+ >{{ item.nickname }}</Option
|
|
|
|
|
+ >
|
|
|
|
|
+ </Select>
|
|
|
|
|
+ </FormItem>
|
|
|
|
|
+ </Form>
|
|
|
|
|
+ </Modal>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -169,6 +188,8 @@
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ finish_modal:false,
|
|
|
|
|
+ finish_nickname:'',
|
|
|
formData:{
|
|
formData:{
|
|
|
house:'',
|
|
house:'',
|
|
|
unit:'',
|
|
unit:'',
|
|
@@ -242,7 +263,8 @@ export default {
|
|
|
minWidth: 150,
|
|
minWidth: 150,
|
|
|
key: "procedure_title",
|
|
key: "procedure_title",
|
|
|
},
|
|
},
|
|
|
- { title: "班组", align: "center", minWidth: 150, key: "nickname" },
|
|
|
|
|
|
|
+ { title: "派工班组", align: "center", minWidth: 150, key: "nickname" },
|
|
|
|
|
+ { title: "完工班组", align: "center", minWidth: 150, key: "finish_nickname" },
|
|
|
{ title: "测量尺寸", align: "center", minWidth: 150, key: "measure" },
|
|
{ title: "测量尺寸", align: "center", minWidth: 150, key: "measure" },
|
|
|
{ title: "单位", align: "center", minWidth: 100, key: "company" },
|
|
{ title: "单位", align: "center", minWidth: 100, key: "company" },
|
|
|
{ title: "芯片编号", align: "center", minWidth: 150, key: "chip" },
|
|
{ title: "芯片编号", align: "center", minWidth: 150, key: "chip" },
|
|
@@ -459,6 +481,9 @@ export default {
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ finish_Ok(){
|
|
|
|
|
+
|
|
|
|
|
+ },
|
|
|
download(){
|
|
download(){
|
|
|
this.axios.get('/api/nc_export').then(res=>{
|
|
this.axios.get('/api/nc_export').then(res=>{
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
@@ -649,15 +674,7 @@ export default {
|
|
|
return this.$Message.warning("请至少选择一项");
|
|
return this.$Message.warning("请至少选择一项");
|
|
|
}
|
|
}
|
|
|
let str = Array.isArray(row) ? row.join(",") : row.id;
|
|
let str = Array.isArray(row) ? row.join(",") : row.id;
|
|
|
- this.confirmDelete({
|
|
|
|
|
- content: type == 1 ? "是否手动操作此订单生产完成" : "确认驳回?",
|
|
|
|
|
- title: type == 1 ? "生产完成" : "驳回",
|
|
|
|
|
- type: type == 1 ? "primary" : "error",
|
|
|
|
|
- then: () => {
|
|
|
|
|
- this.postData({ id: str }, type);
|
|
|
|
|
- },
|
|
|
|
|
- cancel: () => {},
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ this.finish_modal = true;
|
|
|
},
|
|
},
|
|
|
selectTable(e) {
|
|
selectTable(e) {
|
|
|
let result = [];
|
|
let result = [];
|