|
@@ -34,7 +34,7 @@
|
|
|
</Row>
|
|
</Row>
|
|
|
<div class="context-tabs">
|
|
<div class="context-tabs">
|
|
|
<div
|
|
<div
|
|
|
- v-for="(matched_info,index) in matchedList"
|
|
|
|
|
|
|
+ v-for="(matched_info, index) in matchedList"
|
|
|
:key="matched_info.index"
|
|
:key="matched_info.index"
|
|
|
class="matched-block"
|
|
class="matched-block"
|
|
|
>
|
|
>
|
|
@@ -195,15 +195,15 @@
|
|
|
:summary-method="handleSummary"
|
|
:summary-method="handleSummary"
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
>
|
|
>
|
|
|
- <!-- <template slot="setSlot" slot-scope="{ row }">
|
|
|
|
|
|
|
+ <template slot="setSlot" slot-scope="{ row }">
|
|
|
<Button
|
|
<Button
|
|
|
@click="underProduction(row)"
|
|
@click="underProduction(row)"
|
|
|
style="margin: 0 5px"
|
|
style="margin: 0 5px"
|
|
|
type="text"
|
|
type="text"
|
|
|
- :disabled="productionBtn"
|
|
|
|
|
|
|
+ :disabled="row.product_state == 1"
|
|
|
>下生产</Button
|
|
>下生产</Button
|
|
|
>
|
|
>
|
|
|
- </template> -->
|
|
|
|
|
|
|
+ </template>
|
|
|
</Table>
|
|
</Table>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -227,7 +227,10 @@
|
|
|
style="margin-right: 10px"
|
|
style="margin-right: 10px"
|
|
|
>取消</Button
|
|
>取消</Button
|
|
|
>
|
|
>
|
|
|
- <Button @click="handleProcess" type="primary" style="margin-right: 10px"
|
|
|
|
|
|
|
+ <Button
|
|
|
|
|
+ @click="handleProcess()"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ style="margin-right: 10px"
|
|
|
>确定</Button
|
|
>确定</Button
|
|
|
>
|
|
>
|
|
|
</div>
|
|
</div>
|
|
@@ -288,7 +291,7 @@ export default {
|
|
|
align: "center",
|
|
align: "center",
|
|
|
key: "url_number",
|
|
key: "url_number",
|
|
|
resizable: true,
|
|
resizable: true,
|
|
|
- width: 160,
|
|
|
|
|
|
|
+ width: 100,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: "产品名称",
|
|
title: "产品名称",
|
|
@@ -309,7 +312,7 @@ export default {
|
|
|
align: "center",
|
|
align: "center",
|
|
|
key: "unit",
|
|
key: "unit",
|
|
|
resizable: true,
|
|
resizable: true,
|
|
|
- width: 180,
|
|
|
|
|
|
|
+ width: 100,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: "饰面",
|
|
title: "饰面",
|
|
@@ -332,7 +335,7 @@ export default {
|
|
|
resizable: true,
|
|
resizable: true,
|
|
|
width: 170,
|
|
width: 170,
|
|
|
},
|
|
},
|
|
|
- // { title: "操作", align: "center", slot: "setSlot", width: 100 },
|
|
|
|
|
|
|
+ { title: "操作", align: "center", slot: "setSlot", width: 100 },
|
|
|
], //匹配表头
|
|
], //匹配表头
|
|
|
processModal: false,
|
|
processModal: false,
|
|
|
process_man: "",
|
|
process_man: "",
|
|
@@ -428,6 +431,10 @@ export default {
|
|
|
underProduction(row) {
|
|
underProduction(row) {
|
|
|
//表单里点击下生产事件
|
|
//表单里点击下生产事件
|
|
|
this.processModal = true;
|
|
this.processModal = true;
|
|
|
|
|
+ this.params = {
|
|
|
|
|
+ id: [row.id],
|
|
|
|
|
+ order_no: row.order_no,
|
|
|
|
|
+ };
|
|
|
},
|
|
},
|
|
|
handleProcess() {
|
|
handleProcess() {
|
|
|
//下生产通知弹框二次确认
|
|
//下生产通知弹框二次确认
|
|
@@ -443,9 +450,10 @@ export default {
|
|
|
// this.initData();
|
|
// this.initData();
|
|
|
this.detail();
|
|
this.detail();
|
|
|
this.deepenList();
|
|
this.deepenList();
|
|
|
|
|
+ this.params = {};
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
this.process_control = false;
|
|
this.process_control = false;
|
|
|
- this.isMatchedSelectAll = false
|
|
|
|
|
|
|
+ this.isMatchedSelectAll = false;
|
|
|
}, 500);
|
|
}, 500);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
@@ -654,4 +662,8 @@ span {
|
|
|
/deep/ .ivu-table table {
|
|
/deep/ .ivu-table table {
|
|
|
width: 100% !important;
|
|
width: 100% !important;
|
|
|
}
|
|
}
|
|
|
|
|
+/deep/ .ivu-table-cell-slot {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: center;
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|