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