'merge'
This commit is contained in:
commit
2075b42427
4
.env.dev
4
.env.dev
@ -1,8 +1,8 @@
|
|||||||
###
|
###
|
||||||
# @Author: Do not edit
|
# @Author: Do not edit
|
||||||
# @Date: 2023-08-29 09:40:39
|
# @Date: 2023-08-29 09:40:39
|
||||||
# @LastEditTime: 2023-10-27 16:17:13
|
# @LastEditTime: 2023-10-30 10:49:39
|
||||||
# @LastEditors: DY
|
# @LastEditors: zhp
|
||||||
# @Description:
|
# @Description:
|
||||||
###
|
###
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: zhp
|
* @Author: zhp
|
||||||
* @Date: 2023-10-17 16:50:19
|
* @Date: 2023-10-17 16:50:19
|
||||||
* @LastEditTime: 2023-10-18 15:31:12
|
* @LastEditTime: 2023-10-30 10:47:13
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
@ -30,17 +30,15 @@
|
|||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="所属工单" prop="workOrderId">
|
<el-form-item label="所属工单" prop="workOrderId">
|
||||||
<el-select v-model="dataForm.workOrderId" style="width: 100%;" placeholder="请选择所属工单">
|
<el-select v-model="dataForm.workOrderId" style="width: 100%;" placeholder="请选择所属工单" clearable>
|
||||||
<el-option v-for="dict in workOrderList" clearable :key="dict.id" :label="dict.name"
|
<el-option v-for="dict in workOrderList" :key="dict.id" :label="dict.name" :value="dict.id" />
|
||||||
:value="dict.id" />
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="客户" prop="customerId">
|
<el-form-item label="客户" prop="customerId">
|
||||||
<el-select v-model="dataForm.customerId" style="width: 100%;" placeholder="请选择客户">
|
<el-select v-model="dataForm.customerId" style="width: 100%;" placeholder="请选择客户" clearable>
|
||||||
<el-option v-for="dict in customerList" clearable :key="dict.id" :label="dict.name"
|
<el-option v-for="dict in customerList" :key="dict.id" :label="dict.name" :value="dict.id" />
|
||||||
:value="dict.id" />
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -48,9 +46,8 @@
|
|||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标签模板" prop="modelId">
|
<el-form-item label="标签模板" prop="modelId">
|
||||||
<el-select v-model="dataForm.modelId" style="width: 100%;" placeholder="请选择标签模板">
|
<el-select v-model="dataForm.modelId" style="width: 100%;" placeholder="请选择标签模板" clearable>
|
||||||
<el-option v-for="dict in modelList" clearable :key="dict.id"
|
<el-option v-for="dict in modelList" :key="dict.id" :label="dict.name" :value="dict.id" />
|
||||||
:label="dict.name" :value="dict.id" />
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -196,10 +193,10 @@ export default {
|
|||||||
total: 0,
|
total: 0,
|
||||||
},
|
},
|
||||||
dataRule: {
|
dataRule: {
|
||||||
code: [
|
content: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: '产品编码不能为空',
|
message: '内容不能为空',
|
||||||
trigger: 'blur',
|
trigger: 'blur',
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
@ -209,11 +206,11 @@ export default {
|
|||||||
// transfom: 'val => Number(val)',
|
// transfom: 'val => Number(val)',
|
||||||
// },
|
// },
|
||||||
],
|
],
|
||||||
name: [
|
workOrderId: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
message: '产品名称不能为空',
|
message: '所属工单不能为空',
|
||||||
trigger: 'blur',
|
trigger: 'change',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
typeDictValue: [
|
typeDictValue: [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2023-08-01 14:55:51
|
* @Date: 2023-08-01 14:55:51
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @LastEditTime: 2023-10-20 15:05:09
|
* @LastEditTime: 2023-10-30 10:44:48
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -183,47 +183,48 @@ export default {
|
|||||||
this.dataListLoading = false;
|
this.dataListLoading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handlePrint(id){
|
handlePrint(id) {
|
||||||
getPackingModel(id).then(res => {
|
if (id) {
|
||||||
var obj = {
|
getPackingModel(id).then(res => {
|
||||||
code: '11111222',
|
var obj = {
|
||||||
test: '11111',
|
code: '11111222',
|
||||||
test2: '3333333',
|
test: '11111',
|
||||||
test1: '222222',
|
test2: '3333333',
|
||||||
}
|
test1: '222222',
|
||||||
console.log(res);
|
}
|
||||||
// getPackingListInfo({
|
console.log(res);
|
||||||
// size: 20,
|
// getPackingListInfo({
|
||||||
// current: 1,
|
// size: 20,
|
||||||
// boxNo: printModel.boxNo
|
// current: 1,
|
||||||
// }).then(result => {
|
// boxNo: printModel.boxNo
|
||||||
// this.substrateList = result.data.records
|
// }).then(result => {
|
||||||
// var obj = {
|
// this.substrateList = result.data.records
|
||||||
// // time: this.getNewDate(),
|
// var obj = {
|
||||||
// boxNo: this.currentData.boxNo,
|
// // time: this.getNewDate(),
|
||||||
// orderNum: this.currentData.orderNum,
|
// boxNo: this.currentData.boxNo,
|
||||||
// powerLevel: this.currentData.powerLevel,
|
// orderNum: this.currentData.orderNum,
|
||||||
// sapMaterial: this.currentData.sapMaterial,
|
// powerLevel: this.currentData.powerLevel,
|
||||||
// img: 'data:image/png;base64,iVBORw0KGgoAAAANSU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1yyq9jqqtnzkGI0a7wgPz9pfJm+/6ZxB77bzus+7L7pkwdkarr8OBdwJee7jjQVaqZysVtDsuwK3j3lmGYnb5hwerW3S+PRl440OX3dh5vL7z0iXzXqY/bYbaZycXs/5KDdV/iUKc1URo7xcoOqq0yfui1Gq5e3EoUava1qzS/aJQGs8xKIj2jx+gCoVyGcoUBKGs8yIEgIAiliZEDwJAehL3ovIYS+2F9UDckyRH/fFhmoxuwTvdaJaCGc7+gyi9+br1YZSzTJEAIaffHrZG/JCFwDpK16JEsI5yK9uMdvzVe7zAUxZQrhXKKBwxqZkSikQ8aiZbnIFgKS4oea0i5bBhQJgQ+kKJEBhUJAUkqxo+cduJqVrQH8B6xBgBhvJFNDAAAAAElFTkSuQmCC',
|
// sapMaterial: this.currentData.sapMaterial,
|
||||||
// // lineBody: this.currentData.lineBody == 1 ? 'F ' : 'S',
|
// img: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAHVklEQVR4nO2dT2wUVRzHv2/2T5eSAlvFilwgQUH+eLACaUxEiJLAxdh44MDZi2ChUIrSFtoCgbbSP4GDdwgeEA8kRTAI0iIGBL1ITLxgLAlCsCKBYndnx7zd35pl2+7On/de387OJ9l00515/z7z/szMmzfs7869mD0yCjw2gZAB4VhAiln4/dUaRGdU18aOnzw9dn24ioGJj0soFsJr1z2yNm+qN2/fvRFL8XyMYqTmFfxZ+TwMc1xKDsL/f2Ms8xGeLwuIRpCKx99MHf/i4uPrw5GQ9jIAfsCMXfw2HkuOX03Wb1qLh4+uIGFJjzecPoS5iEhUTg1hDMaM2GuRk6cGMTQUCYmPQQq86CMAkkPDkQirGAzXf7Du34ejN9IHmETCRjQGPL6D+4NnYDEJDQmXbaY6on/dm2Vm/jHdZe0Almm6Ll+YNQbzasX7765BNHI1o0sOYRghwExg7MG9dDQSiqsdwHuZmlFKMjLwQ3QcFtjlSxHTenLO3Lp7vfU09AOS41Ka+HC6CjIDIaqmguvIPgBtI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xqiTXyEp/OlkBeVNyn0SmZdO5gC47rOOfjXlaY6sCGRfXKwA8LVP+pRaykuFzEhUXH7nR9P3AFYqiEsWKykP0mpGFlU3qKI0IlmlKD6RrKK0R1VEpvIW7uwSHXnVUdqVoHqSwz+K4xOB0jQH87I0IxCiGYEQzQiEaEYgRDMCIZoRCNGMQIhmBEI0gwuJK0xScKZemHiY1mzqUxThYgBLHO7zQOAzGnMBPOdwn8WC4rbDNjaSWVajQaEUp9wBsB7ALY/hLAVwHsB89VmwRXrhuGwf0q/xIl/z6f6105qVyxIKQ1cZjdlV/HI79V6N1yjk/dxlAMtc7LuM9lXZVzqhIXdxtvxR1kCxZUynkbl0o2ihgyQspH3mapqn7flrSE427O3TuKbwGZI/AlhuY9vltO08Belyw6T99lTnIQN2VmGeJqppskGhpfoW0DbVmuahaarVVQudGPZo3tH/RCOnfJbSbzp34D1T/VjsTL3X6esWFMJngJwDsCgnykX0P+mzQ1yyq9jqqtnzkGI0a7wgPz9pfJm+/6ZxB77bzus+7L7pkwdkarr8OBdwJee7jjQVaqZysVtDsuwK3j3lmGYnb5hwerW3S+PRl440OX3dh5vL7z0iXzXqY/bYbaZycXs/5KDdV/iUKc1URo7xcoOqq0yfui1Gq5e3EoUava1qzS/aJQGs8xKIj2jx+gCoVyGcoUBKGs8yIEgIAiliZEDwJAehL3ovIYS+2F9UDckyRH/fFhmoxuwTvdaJaCGc7+gyi9+br1YZSzTJEAIaffHrZG/JCFwDpK16JEsI5yK9uMdvzVe7zAUxZQrhXKKBwxqZkSikQ8aiZbnIFgKS4oea0i5bBhQJgQ+kKJEBhUJAUkqxo+cduJqVrQH8B6xBgBhvJFNDAAAAAElFTkSuQmCC',
|
||||||
// createTime: moment(this.currentData.createTime).format('YYYY-MM-DD HH:mm:ss')
|
// // lineBody: this.currentData.lineBody == 1 ? 'F ' : 'S',
|
||||||
// // modul1: '20210320000012',
|
// createTime: moment(this.currentData.createTime).format('YYYY-MM-DD HH:mm:ss')
|
||||||
// // modul2: '20210320000012',
|
// // modul1: '20210320000012',
|
||||||
// // modul3: '20210320000012'
|
// // modul2: '20210320000012',
|
||||||
// }
|
// // modul3: '20210320000012'
|
||||||
// for (var i = 0; i < this.substrateList.length; i++) {
|
// }
|
||||||
// var model = 'model' + Number(i + 1)
|
// for (var i = 0; i < this.substrateList.length; i++) {
|
||||||
// var pmpp = 'PMPP' + Number(i + 1)
|
// var model = 'model' + Number(i + 1)
|
||||||
// var m = 'm' + Number(i + 1)
|
// var pmpp = 'PMPP' + Number(i + 1)
|
||||||
|
// var m = 'm' + Number(i + 1)
|
||||||
|
|
||||||
// console.log(model)
|
// console.log(model)
|
||||||
// // console.log(this.list[i].woSubstrateId)
|
// // console.log(this.list[i].woSubstrateId)
|
||||||
// // console.log(this.list[i].woSubstrateId)
|
// // console.log(this.list[i].woSubstrateId)
|
||||||
// obj['' + model + ''] = this.substrateList[i].woSubstrateId
|
// obj['' + model + ''] = this.substrateList[i].woSubstrateId
|
||||||
// obj['' + pmpp + ''] = this.substrateList[i].pmpp
|
// obj['' + pmpp + ''] = this.substrateList[i].pmpp
|
||||||
// obj['' + m + ''] = i + 1
|
// obj['' + m + ''] = i + 1
|
||||||
// }
|
// }
|
||||||
// console.log(obj)
|
// console.log(obj)
|
||||||
// this.printPreview('预览', res.data)
|
// this.printPreview('预览', res.data)
|
||||||
const hiprintTemplate = this.$print(undefined, JSON.parse(res.data.content), obj, {}, {
|
const hiprintTemplate = this.$print(undefined, JSON.parse(res.data.content), obj, {}, {
|
||||||
// styleHandler: () => {
|
// styleHandler: () => {
|
||||||
@ -232,18 +233,23 @@ export default {
|
|||||||
// }
|
// }
|
||||||
})
|
})
|
||||||
|
|
||||||
hiprintTemplate.on('printSuccess', function () {
|
hiprintTemplate.on('printSuccess', function () {
|
||||||
console.log(1111);
|
console.log(1111);
|
||||||
// that.$notification.success({
|
// that.$notification.success({
|
||||||
// // key: key,
|
// // key: key,
|
||||||
// placement: 'topRight',
|
// placement: 'topRight',
|
||||||
// message: key + ' 打印成功',
|
// message: key + ' 打印成功',
|
||||||
// description: 'Api单独直接打印回调',
|
// description: 'Api单独直接打印回调',
|
||||||
// });
|
// });
|
||||||
});
|
});
|
||||||
console.log(hiprintTemplate)
|
console.log(hiprintTemplate)
|
||||||
})
|
})
|
||||||
// })
|
} else {
|
||||||
|
this.$message({
|
||||||
|
message: '请选择打印标签模板',
|
||||||
|
type: 'warning'
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
closeCallback(vue) {
|
closeCallback(vue) {
|
||||||
console.log('关闭了打印工具')
|
console.log('关闭了打印工具')
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Author: zhp
|
* @Author: zhp
|
||||||
* @Date: 2023-10-17 16:50:19
|
* @Date: 2023-10-17 16:50:19
|
||||||
* @LastEditTime: 2023-10-20 14:13:39
|
* @LastEditTime: 2023-10-30 10:41:07
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
@ -23,8 +23,8 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="标签类型" prop="typeId">
|
<el-form-item label="标签类型" prop="typeId">
|
||||||
<el-select v-model="dataForm.typeId" style="width: 100%;" placeholder="请选择打印方式">
|
<el-select v-model="dataForm.typeId" style="width: 100%;" placeholder="请选择打印方式" clearable>
|
||||||
<el-option v-for="dict in typeList" clearable :key="dict.id" :label="dict.name" :value="dict.id" />
|
<el-option v-for="dict in typeList" :key="dict.id" :label="dict.name" :value="dict.id" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -32,9 +32,8 @@
|
|||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="打印方式" prop="printModel">
|
<el-form-item label="打印方式" prop="printModel">
|
||||||
<el-select v-model="dataForm.printModel" style="width: 100%;" placeholder="请选择打印方式">
|
<el-select v-model="dataForm.printModel" style="width: 100%;" placeholder="请选择打印方式" clearable>
|
||||||
<el-option v-for="dict in printModelList" clearable :key="dict.id" :label="dict.name"
|
<el-option v-for="dict in printModelList" :key="dict.id" :label="dict.name" :value="dict.id" />
|
||||||
:value="dict.id" />
|
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: zwq
|
* @Author: zwq
|
||||||
* @Date: 2023-08-01 14:55:51
|
* @Date: 2023-08-01 14:55:51
|
||||||
* @LastEditors: zhp
|
* @LastEditors: zhp
|
||||||
* @LastEditTime: 2023-10-20 14:21:33
|
* @LastEditTime: 2023-10-30 10:45:23
|
||||||
* @Description:
|
* @Description:
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
@ -191,7 +191,7 @@ export default {
|
|||||||
// this.content = JSON.stringify(data)
|
// this.content = JSON.stringify(data)
|
||||||
this.obj.content = JSON.stringify(data)
|
this.obj.content = JSON.stringify(data)
|
||||||
updatePackingModel(this.obj).then((response) => {
|
updatePackingModel(this.obj).then((response) => {
|
||||||
this.$modal.msgSuccess('修改成功');
|
// this.$modal.msgSuccess('修改成功');
|
||||||
// this.visible = false;
|
// this.visible = false;
|
||||||
// this.$emit('refreshDataList');
|
// this.$emit('refreshDataList');
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user