模具 喷印界面调整2
This commit is contained in:
parent
f4da0fcdee
commit
6de1d2de1c
|
|
@ -13,7 +13,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import BASE_URL from '@/services/base/api.js';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
||||||
|
|
@ -43,16 +42,10 @@ export default {
|
||||||
InkjetPrinterData:[],
|
InkjetPrinterData:[],
|
||||||
formOptions: {
|
formOptions: {
|
||||||
data: {
|
data: {
|
||||||
id:'',
|
quantity:0
|
||||||
x: 0,
|
|
||||||
y: 0,
|
|
||||||
direction: 0,
|
|
||||||
fontName: 'Arial',
|
|
||||||
fontSize: 100,
|
|
||||||
fontSpacing: 10
|
|
||||||
},
|
},
|
||||||
|
|
||||||
titleWidth: 100,
|
titleWidth: 130,
|
||||||
titleAlign: 'right',
|
titleAlign: 'right',
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
|
|
@ -86,7 +79,7 @@ export default {
|
||||||
|
|
||||||
var sendData = JSON.parse(JSON.stringify( this.formOptions.data))
|
var sendData = JSON.parse(JSON.stringify( this.formOptions.data))
|
||||||
sendData.voucherId = this.pageOptions.voucherId;
|
sendData.voucherId = this.pageOptions.voucherId;
|
||||||
sendData.inventoryId = this.pageOptions.inventoryId;
|
sendData.bid = this.pageOptions.bid;
|
||||||
|
|
||||||
this.$mk.post({
|
this.$mk.post({
|
||||||
url: `http://36.133.149.247:9112/api/tp/doneSqItem`,
|
url: `http://36.133.149.247:9112/api/tp/doneSqItem`,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<a-button type="primary" @click.stop="pageShowSend(row)">开工</a-button>
|
<a-button type="primary" @click.stop="pageShowSend(row)">开工</a-button>
|
||||||
<a-button type="primary" @click.stop="pagePrintTag(row)" style="margin-left: 2px;">打印</a-button>
|
<a-button type="primary" @click.stop="pagePrintTag(row)" style="margin-left: 2px;">打印</a-button>
|
||||||
<a-button type="primary" @click.stop="pageDone(row)" style="margin-left: 2px;">完工</a-button>
|
<a-button type="primary" @click.stop="pageShowDone(row)" style="margin-left: 2px;">完工</a-button>
|
||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
<vxe-column field="voucherdate" title="单据日期" width="110"></vxe-column>
|
<vxe-column field="voucherdate" title="单据日期" width="110"></vxe-column>
|
||||||
|
|
@ -303,7 +303,16 @@ export default {
|
||||||
this.currentPrint = item;
|
this.currentPrint = item;
|
||||||
this.$forceUpdate();
|
this.$forceUpdate();
|
||||||
},
|
},
|
||||||
|
pageShowDone(row) {
|
||||||
|
this.currentRow = row
|
||||||
|
this.$mk.dialog.open({
|
||||||
|
page: () => import("./modal-done.vue"),
|
||||||
|
title: "完工",
|
||||||
|
pageOptions: row,
|
||||||
|
width: 500,
|
||||||
|
height: 200
|
||||||
|
});
|
||||||
|
},
|
||||||
pageShowSend(row) {
|
pageShowSend(row) {
|
||||||
this.currentRow = row
|
this.currentRow = row
|
||||||
this.$mk.dialog.open({
|
this.$mk.dialog.open({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue