| | |
| | | request.post(`/processCard/getSelectPrintLabel/${projectNo.value}/${type.value}`).then((res) => { |
| | | if (res.code == 200) { |
| | | labelList.value = deepClone(res.data.data) |
| | | console.log(res.data.data) |
| | | } else { |
| | | ElMessage.warning(res.msg) |
| | | router.push("/login") |
| | |
| | | <!-- 半成品标签--> |
| | | <template v-for="(item,id) in labelList"> |
| | | <div v-if="type!=='3'" id="entirety" > |
| | | <div class="row1" > |
| | | <div v-if="item.customer_name!==undefined" class="row1" > |
| | | <!--钢化版图序号,钢化版图里的顺序--> |
| | | <!-- <div class="cell" v-if="item.heat_layout_id!==undefined">{{ item.heat_layout_id }}/{{ item.heat_layout_sort }}</div>--> |
| | | <span>{{ item.customer_name }}</span> |
| | |
| | | {{JSON.parse(item.other_columns).S02}}={{item.quantity}} |
| | | </div> |
| | | <div class="row3" v-else> |
| | | <span v-if="item.heat_layout_id!==undefined && company.showDeliveryCreator" style="font-size: 7pt;"> |
| | | <span v-if="item.heat_layout_sort!==undefined && company.showDeliveryCreator" style="font-size: 7pt;"> |
| | | ({{ item.stock_id }}) {{ item.heat_layout_id }}/{{ item.heat_layout_sort }} |
| | | </span> |
| | | <span v-if="item.stock_id!==undefined && !company.showDeliveryCreator" style="font-size: 7pt"> |
| | |
| | | </span> |
| | | {{Math.round(item.width)}}x{{Math.round(item.height)}}={{item.quantity}} |
| | | </div> |
| | | <div class="row5"> |
| | | <div v-if="item.customer_name!==undefined" class="row5"> |
| | | <span>{{item.project}}</span> |
| | | <span>{{item.building_number?item.building_number.replace(/\r|\n|\s/g,''):''}}</span> |
| | | <span v-if="item.bend_radius!=null">R={{item.bend_radius}}</span> |
| | | </div> |
| | | <div class="row6"> |
| | | <div v-if="item.customer_name!==undefined" class="row6"> |
| | | <span>{{item.glass_child}}</span> |
| | | <span v-if="company.showDeliveryCreator" style="font-size: 10pt" >{{item.processing_note}}</span> |
| | | <span v-else style="font-size: 6pt">{{item.processing_note}}</span> |
| | |
| | | <span style="font-size: 8pt">{{ item.customer_name }}</span> |
| | | |
| | | </div> |
| | | <div class="row2" v-else> |
| | | <div class="row1" v-else> |
| | | <span style="font-size: 8pt">{{ item.customer_name }}</span> |
| | | </div> |
| | | <div class="row2" style="font-size: 8pt" >{{item.order_id}} |