|  | @@ -48,9 +48,9 @@
 | 
											
												
													
														|  |              <BillofLadingDetails
 |  |              <BillofLadingDetails
 | 
											
												
													
														|  |                  v-else-if="businesstypeData.reportsType == 'TDXQ' || businesstypeData.reportsType == 'DCWTS'"
 |  |                  v-else-if="businesstypeData.reportsType == 'TDXQ' || businesstypeData.reportsType == 'DCWTS'"
 | 
											
												
													
														|  |                  :documentForm="documentForm"></BillofLadingDetails>
 |  |                  :documentForm="documentForm"></BillofLadingDetails>
 | 
											
												
													
														|  | -                <BillofLadingDetailsM
 |  | 
 | 
											
												
													
														|  | -                v-else-if="businesstypeData.reportsType == 'MBL BOOKING SHEET'"
 |  | 
 | 
											
												
													
														|  | -                :documentForm="documentForm"></BillofLadingDetailsM>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <BillofLadingDetailsM v-else-if="businesstypeData.reportsType == 'MBL BOOKING SHEET'"
 | 
											
												
													
														|  | 
 |  | +                :documentForm="documentForm">
 | 
											
												
													
														|  | 
 |  | +            </BillofLadingDetailsM>
 | 
											
												
													
														|  |              <span slot="footer" class="dialog-footer">
 |  |              <span slot="footer" class="dialog-footer">
 | 
											
												
													
														|  |                  <!--<el-button type="success" @click="documentSubmit(true)" >保存并打印</el-button>-->
 |  |                  <!--<el-button type="success" @click="documentSubmit(true)" >保存并打印</el-button>-->
 | 
											
												
													
														|  |                  <el-button v-if="addShow" type="success" :disabled="!documentForm.id"
 |  |                  <el-button v-if="addShow" type="success" :disabled="!documentForm.id"
 | 
											
										
											
												
													
														|  | @@ -110,11 +110,11 @@ import { isProcurement } from "@/api/basicData/configuration";
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |      components: {
 |  |      components: {
 | 
											
												
													
														|  |          businessReports,
 |  |          businessReports,
 | 
											
												
													
														|  | -        BillofLadingDetails,BillofLadingDetailsM, reportContainer, reportformsList, bbusinesstype, DispatchNotice, PurchaseNotice
 |  | 
 | 
											
												
													
														|  | 
 |  | +        BillofLadingDetails, BillofLadingDetailsM, reportContainer, reportformsList, bbusinesstype, DispatchNotice, PurchaseNotice
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      data() {
 |  |      data() {
 | 
											
												
													
														|  |          return {
 |  |          return {
 | 
											
												
													
														|  | -            textareaNumber:5,
 |  | 
 | 
											
												
													
														|  | 
 |  | +            textareaNumber: 5,
 | 
											
												
													
														|  |              previewDialog: false, // 打印预览弹窗
 |  |              previewDialog: false, // 打印预览弹窗
 | 
											
												
													
														|  |              PreviewOption: {}, // 打印预览弹窗的配置项
 |  |              PreviewOption: {}, // 打印预览弹窗的配置项
 | 
											
												
													
														|  |              PreviewOptionBack: {
 |  |              PreviewOptionBack: {
 | 
											
										
											
												
													
														|  | @@ -315,7 +315,7 @@ export default {
 | 
											
												
													
														|  |          this.documentOption = await this.getColumnData(this.getColumnName(312.1), this.documentOptionBack);
 |  |          this.documentOption = await this.getColumnData(this.getColumnName(312.1), this.documentOptionBack);
 | 
											
												
													
														|  |          this.PreviewOption = await this.getColumnData(this.getColumnName(312.3), this.PreviewOptionBack);
 |  |          this.PreviewOption = await this.getColumnData(this.getColumnName(312.3), this.PreviewOptionBack);
 | 
											
												
													
														|  |          isProcurement({ "param": "textarea.number" }).then(res => {
 |  |          isProcurement({ "param": "textarea.number" }).then(res => {
 | 
											
												
													
														|  | -            if(res.data.data){
 |  | 
 | 
											
												
													
														|  | 
 |  | +            if (res.data.data) {
 | 
											
												
													
														|  |                  this.textareaNumber = res.data.data
 |  |                  this.textareaNumber = res.data.data
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |          })
 |  |          })
 | 
											
										
											
												
													
														|  | @@ -332,13 +332,14 @@ export default {
 | 
											
												
													
														|  |              const data = await this.PreviewOnLoad(this.PreviewPage, {
 |  |              const data = await this.PreviewOnLoad(this.PreviewPage, {
 | 
											
												
													
														|  |                  businessType: 'HYCK',
 |  |                  businessType: 'HYCK',
 | 
											
												
													
														|  |                  classifyCode: '单证',
 |  |                  classifyCode: '单证',
 | 
											
												
													
														|  | -                groupCode: row.groupCode=='提单详情(H)'?'提单详情':row.groupCode
 |  | 
 | 
											
												
													
														|  | 
 |  | +                groupCode: row.groupCode == '提单详情(H)' ? '提单详情' : row.groupCode
 | 
											
												
													
														|  |              });
 |  |              });
 | 
											
												
													
														|  |              this.$nextTick(() => {
 |  |              this.$nextTick(() => {
 | 
											
												
													
														|  |                  if (data.length == 1) {
 |  |                  if (data.length == 1) {
 | 
											
												
													
														|  |                      this.handleReportPreview(data[0].url, this.documentForm)
 |  |                      this.handleReportPreview(data[0].url, this.documentForm)
 | 
											
												
													
														|  |                  } else {
 |  |                  } else {
 | 
											
												
													
														|  |                      this.previewDialog = true
 |  |                      this.previewDialog = true
 | 
											
												
													
														|  | 
 |  | +                    this.documentVisible = false
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  |              })
 |  |              })
 | 
											
												
													
														|  |              // let obj = {businessType:'HYCK',classifyCode:'单证',groupCode:row.groupCode}
 |  |              // let obj = {businessType:'HYCK',classifyCode:'单证',groupCode:row.groupCode}
 | 
											
										
											
												
													
														|  | @@ -441,7 +442,7 @@ export default {
 | 
											
												
													
														|  |              reportsGetReportData({
 |  |              reportsGetReportData({
 | 
											
												
													
														|  |                  billId: this.assemblyForm.id,
 |  |                  billId: this.assemblyForm.id,
 | 
											
												
													
														|  |                  reportCode: this.businesstypeData.classifyCode,
 |  |                  reportCode: this.businesstypeData.classifyCode,
 | 
											
												
													
														|  | -                groupCode: this.businesstypeData.groupCode,
 |  | 
 | 
											
												
													
														|  | 
 |  | +                groupCode: this.businesstypeData.groupCode=='提单详情(H)'?'提单详情':this.businesstypeData.groupCode,
 | 
											
												
													
														|  |                  reportsType: this.businesstypeData.reportsType,
 |  |                  reportsType: this.businesstypeData.reportsType,
 | 
											
												
													
														|  |                  type: 'HYCK'
 |  |                  type: 'HYCK'
 | 
											
												
													
														|  |              }).then(res => {
 |  |              }).then(res => {
 | 
											
										
											
												
													
														|  | @@ -497,6 +498,7 @@ export default {
 | 
											
												
													
														|  |                  obj.groupCode = this.businesstypeData.groupCode
 |  |                  obj.groupCode = this.businesstypeData.groupCode
 | 
											
												
													
														|  |                  obj.reportsType = this.businesstypeData.reportsType
 |  |                  obj.reportsType = this.businesstypeData.reportsType
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  | 
 |  | +            console.log(this.documentForm)
 | 
											
												
													
														|  |              obj.printContent = JSON.stringify({
 |  |              obj.printContent = JSON.stringify({
 | 
											
												
													
														|  |                  data: {
 |  |                  data: {
 | 
											
												
													
														|  |                      ...this.documentForm,
 |  |                      ...this.documentForm,
 |