| | |
| | | productIdData.value=deepClone(res.data.data) |
| | | produceList.value = deepClone(res.data.data) |
| | | |
| | | |
| | | delivery.value=deepClone(res.data.delivery) |
| | | console.log(delivery.value) |
| | | money.value=deepClone(res.data.money) |
| | | produceList.value.forEach(item => { |
| | | sumMoney+=item.DeliveryDetail.grossAmount |
| | |
| | | <template> |
| | | <div id="sheet" @dblclick="handleDoubleClick"> |
| | | <table border="1" > |
| | | <thead> |
| | | <tr class="title-s"> |
| | | <th colspan="9"> |
| | | <h1> |
| | |
| | | <tr class="title-s"> |
| | | <th colspan="2"></th> |
| | | <th colspan="5"> |
| | | <h3>销售确认单</h3> |
| | | <h4 v-if="!company.showDeliveryCreator" >金华市乐动智能科技有限公司</h4> |
| | | <h3 >销售确认单</h3> |
| | | |
| | | </th> |
| | | <th colspan="2" style="text-align: left;font-weight: bold;">发货单号:<span>{{delivery.deliveryId}}</span></th> |
| | | <th colspan="2" style="text-align: left;font-weight: bold;" v-if="company.showDeliveryCreator">发货单号:<span>{{delivery.deliveryId}}</span></th> |
| | | <th colspan="2" style="text-align: left;font-weight: bold;" v-else></th> |
| | | </tr> |
| | | <tr> |
| | | <th style="text-align: left;border:none;font-weight: bold;" colspan="4">客户名称:<span>{{delivery.customerName}}</span></th> |
| | |
| | | <th style="text-align: left;border:none;font-weight: bold;" colspan="2">联系人:<span>{{delivery.contacts}}</span></th> |
| | | </tr> |
| | | <tr> |
| | | <th style="text-align: left;border:none;font-weight: bold;" colspan="7">送货地址:<span>{{delivery.deliveryAddress}}</span></th> |
| | | <th style="text-align: left;border:none;font-weight: bold;" colspan="4">送货地址:<span>{{delivery.deliveryAddress}}</span></th> |
| | | <th style="text-align: left;border:none;font-weight: bold;" colspan="3">送货时间:<span>{{delivery.deliveryDate}}</span></th> |
| | | <th style="text-align: left;border:none;font-weight: bold;" colspan="2">联系电话:<span>{{delivery.contactNumber}}</span></th> |
| | | </tr> |
| | | <tr> |
| | |
| | | <th v-if="!company.showDeliveryCreator" style="width: 10%;" colspan="1">加工要求</th> |
| | | <th v-if="!company.showDeliveryCreator" style="width: 10%;" colspan="1">备注</th> |
| | | </tr> |
| | | </thead> |
| | | <template v-for="(item, index) in produceList" :key="index" > |
| | | <tr> |
| | | <td style="font-size: 15px;font-weight: bold;text-align: left" colspan="4">产品名称:<span>{{item.productName}}</span></td> |
| | | <td v-if="company.showDeliveryCreator" style="font-size: 15px;font-weight: bold;text-align: left" colspan="2">对方单号:</td> |
| | | <td style="font-size: 15px;font-weight: bold;text-align: left" colspan="4">产品名称: |
| | | <span v-if="company.productName!=='product_abbreviation'">{{item.productName}}</span> |
| | | <span v-else >{{item.remarks}}</span> |
| | | </td> |
| | | <td v-if="company.showDeliveryCreator" style="font-size: 15px;font-weight: bold;text-align: left" colspan="2">订货日期:<span>{{delivery.contractId}}</span></td> |
| | | <td v-else style="font-size: 15px;font-weight: bold;text-align: left" colspan="2"></td> |
| | | <td style="font-size: 15px;font-weight: bold;text-align: left" colspan="3">订单编号:<span>{{item.DeliveryDetail.orderId}}</span></td> |
| | | </tr> |