Commit e36e7717 authored by 张海景's avatar 张海景

update:修改包装标签的内容

parent 9b67bcde
......@@ -359,11 +359,14 @@ export default {
packagePrintRecordInfo(forms).then((response) => {
console.log(response, 'response')
if (response.code === 200) {
const valueList = response.data.packagePrintList.map(item => {
return {
packagePrint: item
}
})
// const valueList = response.data.packagePrintList.map(item => {
// return {
// packagePrint: item
// }
// })
valueList = {
packagePrint: response.data
}
postBatchPrintPdf(
this.$refs.templatePrintRef.currentData.name,
valueList
......@@ -389,8 +392,8 @@ export default {
this.produceForm = Object.assign({},row)
// this.produceForm.packNum = response.data.packNum
// this.produceForm.encasementNum = response.data.encasementNum || ''
this.$set(this.produceForm, 'packNum', response.data.packNum || '')
this.$set(this.produceForm, 'encasementNum', response.data.encasementNum || '')
this.$set(this.produceForm, 'packNum', response.data.usagePackNum || '')
this.$set(this.produceForm, 'encasementNum', response.data.usageEncasementNum || '')
this.selectedItemId = row.workorderCode
this.queryPackageParams = {
pageNum: 1,
......
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