| | |
| | | import PrintCustomLabelSemi from '@/components/pp/PrintCustomLabelSemi.vue' |
| | | import PrintCustomLabelXJ from '@/components/pp/PrintCustomLabelTwo.vue' |
| | | import PrintCustomLabelXJTwo from '@/components/pp/PrintCustomLabelXJTwo.vue' |
| | | import PrintCustomLabelProject from '@/components/pp/PrintCustomLabelProject.vue' |
| | | import SortDetail from '@/components/pp/SelectSortDetailProcessCard.vue' |
| | | import footSum from "@/hook/footSum" |
| | | import companyInfo from "@/stores/sd/companyInfo" |
| | |
| | | const dialogTableVisibleCustomLabel = ref(false) |
| | | const dialogTableVisibleLabelXJ = ref(false) |
| | | const dialogTableVisibleLabelXJTwo = ref(false) |
| | | const dialogTableVisibleLabelProject = ref(false) |
| | | const printVisible = ref(false) |
| | | let selectRecords = ref(null) |
| | | let titleStyleVisible = ref(false) |
| | |
| | | } |
| | | } |
| | | |
| | | let name=company.companyName |
| | | labelRow.value.list = JSON.stringify(selectRecords) |
| | | labelRow.value.type = '恒鑫带数量' |
| | | labelRow.value.dataType=3 |
| | | dialogTableVisibleLabelXJTwo.value = true |
| | | if (name == '金华福喜天成玻璃有限公司'){ |
| | | labelRow.value.type = '成品标签' |
| | | labelRow.value.dataType=3 |
| | | labelRow.value.lableType = lableTypes |
| | | dialogTableVisibleLabelProject.value = true |
| | | } |
| | | else { |
| | | labelRow.value.type = '恒鑫带数量' |
| | | labelRow.value.dataType=3 |
| | | dialogTableVisibleLabelXJTwo.value = true |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | break |
| | |
| | | :dataType="labelRow.dataType" |
| | | style="width: 100%;height: 100%"/> |
| | | </el-dialog> |
| | | |
| | | <!-- 成品标签工程打印--> |
| | | <el-dialog |
| | | id="sizeCustom" |
| | | v-model="dialogTableVisibleLabelProject" |
| | | :title="$t('processCard.printLabel')" |
| | | destroy-on-close |
| | | style="width: 80%;height:75% "> |
| | | <template #header="{ close, titleId, titleClass }"> |
| | | <el-button v-print="printContentLabel" :icon="Printer" circle/> |
| | | </template> |
| | | <print-custom-label-project id="childLabel" |
| | | :faceOrientation="labelRow.faceOrientation" |
| | | :lableType="labelRow.lableType" |
| | | :list="labelRow.list" |
| | | :type="labelRow.type" |
| | | style="width: 100%;height: 100%"/> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |