Commit ee74ca5e authored by chenzj's avatar chenzj

包装标签新增一个单位类型选项

parent 5fca79f4
......@@ -146,6 +146,18 @@
/>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="单位类型:" prop="materialsType">
<el-select v-model="materialsType">
<el-option
v-for="dict in dict.type.pro_materials_type"
:key="dict.value"
:label="dict.label"
:value="dict.value"
></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
......@@ -343,7 +355,7 @@ import { postBatchPrintPdf } from '@/utils/ruoyi'
export default {
name: 'packageLablePrint',
components: { templatePrint },
dicts: ['mes_package_type'],
dicts: ['mes_package_type','pro_materials_type'],
data() {
return {
// 查询参数
......@@ -369,6 +381,7 @@ export default {
inputTime: '',
encasementNum: '',
},
materialsType: '0',
loadingPackage: false,
queryPackageParams: {
pageNum: 1,
......@@ -479,6 +492,7 @@ export default {
forms.append('workorderId', this.produceForm.workorderId)
this.selectPackageTable.forEach((item) => {
forms.append('recordIds', item.recordId)
forms.append('materialsType',this.materialsType)
})
packagePrintRecordInfo(forms).then((response) => {
console.log(response, 'response')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment