diff --git a/package.json b/package.json index a6412da7..869367e7 100644 --- a/package.json +++ b/package.json @@ -97,6 +97,7 @@ "vue-i18n": "^8.28.2", "vue-meta": "2.4.0", "vue-okr-tree": "^1.0.17", + "vue-pdf-embed": "1", "vue-print-nb": "^1.7.5", "vue-property-decorator": "^9.1.2", "vue-resize-sensor": "^2.0.0", diff --git a/src/api/emis/emisSettleSubBill.js b/src/api/emis/emisSettleSubBill.js index 7265e3ec..840ddafb 100644 --- a/src/api/emis/emisSettleSubBill.js +++ b/src/api/emis/emisSettleSubBill.js @@ -48,10 +48,66 @@ export function cancelConfirmBillByCenter(id,note) { return request({ url: '/emis/emisSettleSubBill/cancelConfirmBillByCenter/' + id, method: 'post', - data: {centerConfirmNote: note} + data: {confirmNote: note} }) } +// 中心确认不出账 +export function confirmNoBillByCenter(id,note) { + return request({ + url: '/emis/emisSettleSubBill/confirmNoBillByCenter/' + id, + method: 'post', + data: {confirmNote: note} + }) +} + +// 中心设置账单异常 +export function setBillErrorByCenter(id,note) { + return request({ + url: '/emis/emisSettleSubBill/setBillErrorByCenter/' + id, + method: 'post', + data: {confirmNote: note} + }) +} + +// ------------------------------------------- +// 站点确认 +export function confirmBillBySite(id) { + return request({ + url: '/emis/emisSettleSubBill/confirmBillBySite/' + id, + method: 'post' + }) +} + +// 站点取消确认 +export function cancelConfirmBillBySite(id,note) { + return request({ + url: '/emis/emisSettleSubBill/cancelConfirmBillBySite/' + id, + method: 'post', + data: {siteConfirmNote: note} + }) +} + +// 站点确认不出账 +export function confirmNoBillBySite(id,note) { + return request({ + url: '/emis/emisSettleSubBill/confirmNoBillBySite/' + id, + method: 'post', + data: {siteConfirmNote: note} + }) +} + +// 站点设置账单异常 +export function setBillErrorBySite(id,note) { + return request({ + url: '/emis/emisSettleSubBill/setBillErrorBySite/' + id, + method: 'post', + data: {siteConfirmNote: note} + }) +} + + + // 删除结算子账单 export function delEmisSettleSubBill(id) { return request({ diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index 0f561981..1cab300a 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -29,7 +29,8 @@
  • - {{ getFileName(file.name) }} + + {{ file.name }}
    删除 @@ -154,7 +155,6 @@ export default { return false; } } - // 如果不需要上传则拦截 if(!this.isNeedUpload){ let that=this; @@ -184,7 +184,6 @@ export default { // } // that.$emit("onUploaded", fileName); // this.fileList.push(fileItem); - } this.$modal.loading("正在上传文件,请稍候..."); this.number++; @@ -204,16 +203,12 @@ export default { this.uploadList.push({ name: res.fileName, url:res.url }); - console.log("==1111==>", this.uploadList); - if (this.uploadList.length === this.number) { this.fileList = this.fileList.concat(this.uploadList); - - console.log("==2222==>", this.uploadList); - this.uploadList = []; this.number = 0; - this.$emit("input", this.listToString(this.fileList)); + console.log("==this.listToString(this.fileList)==>", this.listToString(this.fileList)); + this.$emit("input", this.listToString(this.fileList), this.filesSize); this.$modal.closeLoading(); } }, diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index 9f659351..0db48779 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -129,6 +129,7 @@ export default { // 上传成功回调 handleUploadSuccess(res) { // this.uploadList.push({ name: res.fileName, url: res.fileName }); + // this.uploadList.push({ name: res.fileName, url: res.url }); this.uploadList.push({ name: res.fileName, url: res.url }); if (this.uploadList.length === this.number) { this.fileList = this.fileList.concat(this.uploadList); diff --git a/src/components/PdfViewer/viewer.vue b/src/components/PdfViewer/viewer.vue index cdfddb4c..58aef27d 100644 --- a/src/components/PdfViewer/viewer.vue +++ b/src/components/PdfViewer/viewer.vue @@ -42,6 +42,7 @@
    + -
    - - - - - - - - - - -
    - - 运单号 - - -
    - - -
    -
    - - -
    - - 发货时间 - -
    - -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - -
    - - - - - - - - -
    -
    -
    -
    - - - - -
    - - - 批量确认 - - - 确认不出账 - - - 置账单异常 - - - 取消确认 - - - - 拆分子账单 - - - - 导出 - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - -
    - - - - - diff --git a/src/views/emis/emisWaybill/waybillModify.vue b/src/views/emis/emisWaybill/waybillModify.vue index 9594d202..74d67b38 100644 --- a/src/views/emis/emisWaybill/waybillModify.vue +++ b/src/views/emis/emisWaybill/waybillModify.vue @@ -868,7 +868,7 @@ data() { { required: true, message: "收货省不能为空", trigger: ["blur",'change'] } ], company: [ - { required: true, message: "发件公司不能为空", trigger: ["blur",'change'] } + { required: true, message: "收货公司不能为空", trigger: ["blur",'change'] } ], // city: [ // { required: true, message: "市不能为空", trigger: "blur" } @@ -894,7 +894,7 @@ data() { { required: true, message: "寄件省不能为空", trigger: ["blur",'change'] } ], company: [ - { required: true, message: "发件公司不能为空", trigger: ["blur",'change'] } + { required: true, message: "寄件公司不能为空", trigger: ["blur",'change'] } ], // city: [ @@ -2014,7 +2014,7 @@ methods: { newItem.cargoQty=1; this.form.cargoList.splice(index+1, 0, newItem); // this.form.cargoList.push(newItem); - handleCargoQtyChange(); + this.handleCargoQtyChange(); }, showLocalTime(){ @@ -2107,8 +2107,17 @@ methods: { text-align: center; } + // .el-input-number--mini { + // width: 100%; + // line-height: 26px; + // } + + .el-input-number { + width: 100%!important; + } + .el-input-number.is-without-controls .el-input__inner { - height: 28px; + height: 28px; line-height: 28px; border: none; background: #ffffcd; diff --git a/src/views/emis/emisWaybill/waybillRecord.vue b/src/views/emis/emisWaybill/waybillRecord.vue index c6eb76e9..df873ac8 100644 --- a/src/views/emis/emisWaybill/waybillRecord.vue +++ b/src/views/emis/emisWaybill/waybillRecord.vue @@ -868,7 +868,7 @@ data() { { required: true, message: "收货省不能为空", trigger: ["blur",'change'] } ], company: [ - { required: true, message: "发件公司不能为空", trigger: ["blur",'change'] } + { required: true, message: "收货公司不能为空", trigger: ["blur",'change'] } ], // city: [ // { required: true, message: "市不能为空", trigger: "blur" } @@ -894,7 +894,7 @@ data() { { required: true, message: "寄件省不能为空", trigger: ["blur",'change'] } ], company: [ - { required: true, message: "发件公司不能为空", trigger: ["blur",'change'] } + { required: true, message: "寄件公司不能为空", trigger: ["blur",'change'] } ], // city: [ @@ -2107,8 +2107,17 @@ methods: { text-align: center; } + // .el-input-number--mini { + // width: 100%; + // line-height: 26px; + // } + + .el-input-number { + width: 100%!important; + } + .el-input-number.is-without-controls .el-input__inner { - height: 28px; + height: 28px; line-height: 28px; border: none; background: #ffffcd; diff --git a/src/views/system/updater/printerUpdater.vue b/src/views/system/updater/printerUpdater.vue index 1ca1a57e..62563798 100644 --- a/src/views/system/updater/printerUpdater.vue +++ b/src/views/system/updater/printerUpdater.vue @@ -61,6 +61,7 @@ export default { methods: { initData() { + this.reset(); /* { http://doc.xdadan.com/download/2024/06/10/d585b4c1ad5fc36b7e17320f5dfa603b.zip } */