廖井涛
8 天以前 a660db06773007b1be690e0674829c00a57aeb7b
north-glass-erp/northglass-erp/src/components/mm/PrintPackingListLuoyang.vue
@@ -24,6 +24,7 @@
const name2=ref("admin")
const printStyle = ref(null);
const title = ref({})
@@ -43,7 +44,6 @@
data.value.printList = JSON.parse(props.printList)
console.log(data.value.printList)
onMounted(() => {
  clearPrintStyles()
@@ -149,9 +149,9 @@
const orderDetailList = ref([])
const customer = ref({})
const selectPrint =async () => {
  const page = props.printPage==='storageRecordPint'?`/finishedGoodsInventory/getSelectPrints`:'/finishedGoodsInventory/getInventoryPrints'
  const page1 = props.printPage==='storageRecordPint'?`/finishedGoodsInventory/getSelectPrints`:'/finishedGoodsInventory/getInventoryPrints'
  const value = props.printPage==='storageRecordPint'?data.value:data.value.printList
  request.post(page, value).then((res) => {
  request.post(page1, value).then((res) => {
    if (res.code == 200) {
      produceList.value = deepClone(res.data.data)
      customer.value = produceList.value[0].detail[0]
@@ -221,6 +221,7 @@
          type:'sum',
          sum:sum
        })
      })
    } else {
      ElMessage.warning(res.msg)
@@ -271,7 +272,9 @@
                </div>
              </div>
              <div style="display:flex;">
                <div style="width: 100%;font-size: 10px"><span style="font-weight: bold">工程名称</span>:{{page[0].customer.project}}({{page[0].customer.batch}})</div>
                <div style="width: 100%;font-size: 10px;display:flex;">
                  <span style="font-weight: bold">工程名称</span>:<div style="width: 75%;">{{page[0].customer.project}}({{page[0].customer.batch}})</div>
                </div>
              </div>
              <div style="display:flex;">
                <div style="width: 50%;font-size: 10px"><span style="font-weight: bold">订单号</span>:{{page[0].customer.order_id}}</div>