|
@@ -36,23 +36,23 @@
|
|
<div>
|
|
<div>
|
|
<div
|
|
<div
|
|
style="
|
|
style="
|
|
- font: 14px fantasy;
|
|
|
|
|
|
+ font-size: 14px;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
color: #000;
|
|
color: #000;
|
|
line-height: 32px;
|
|
line-height: 32px;
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- 产品名称:
|
|
|
|
|
|
+ 产品:{{ printData.productName }}
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
style="
|
|
style="
|
|
- font: 14px fantasy;
|
|
|
|
|
|
+ font-size: 14px;
|
|
font-weight: 700;
|
|
font-weight: 700;
|
|
color: #000;
|
|
color: #000;
|
|
line-height: 32px;
|
|
line-height: 32px;
|
|
"
|
|
"
|
|
>
|
|
>
|
|
- 客户名称:
|
|
|
|
|
|
+ 客户:{{ printData.customerName }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -404,6 +404,7 @@ const submitForm = (flag) => {
|
|
};
|
|
};
|
|
const submitType = ref("");
|
|
const submitType = ref("");
|
|
const submitText = ref("");
|
|
const submitText = ref("");
|
|
|
|
+const printData = ref({});
|
|
const getDtl = (row) => {
|
|
const getDtl = (row) => {
|
|
if (
|
|
if (
|
|
row.nextProductionProcessesId == "" ||
|
|
row.nextProductionProcessesId == "" ||
|
|
@@ -418,6 +419,10 @@ const getDtl = (row) => {
|
|
// formOption.disabled = true;
|
|
// formOption.disabled = true;
|
|
formData.data = { ...row, fileList: [] };
|
|
formData.data = { ...row, fileList: [] };
|
|
dialogVisible.value = true;
|
|
dialogVisible.value = true;
|
|
|
|
+ printData.value = {
|
|
|
|
+ customerName: row.customerName,
|
|
|
|
+ productName: row.productName + `(${row.productSpec})`,
|
|
|
|
+ };
|
|
let barCode = row.productSn;
|
|
let barCode = row.productSn;
|
|
nextTick(() => {
|
|
nextTick(() => {
|
|
JsBarcode("#barCode", barCode, {
|
|
JsBarcode("#barCode", barCode, {
|