lilei 3 minggu lalu
induk
melakukan
db918e1e76

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1758858811116
+  "version": 1758866497685
 }

+ 1 - 1
src/api/sales.js

@@ -179,7 +179,7 @@ export const supperCodeByVin = (params) => {
 // 销售 详情  打印
 export const salesDetailPrint = params => {
   const data = {
-    url: `/sales/print/${params.sn}/${params.type}/${params.printOrgCode}/${params.printAllName}/${params.remarksShowFlag}/${params.priceFlag}`,
+    url: `/sales/print/${params.sn}/${params.type}/${params.printOrgCode}/${params.printAllName}/${params.remarksShowFlag}/${params.remarksShowFlag}/${params.printDate}/${params.printNo}`,
     method: 'get',
     headers: {
       'module': encodeURIComponent(params.type == 'INK' ? '喷墨打印' : '针式打印')

+ 1 - 1
src/views/salesManagement/salesQuery/detail.vue

@@ -250,7 +250,7 @@ export default {
       const _this = this
       _this.spinning = true
       let url = salesDetailPrint
-      const params = { sn: this.outBizSn || this.$route.params.sn, printOrgCode: this.printOrgCode ? 1 : 0, printAllName: this.printAllName ? 1 : 0, remarksShowFlag: 0, priceFlag: 1, printNo: 1 }
+      const params = { sn: this.outBizSn || this.$route.params.sn, printOrgCode: this.printOrgCode ? 1 : 0, printAllName: this.printAllName ? 1 : 0, remarksShowFlag: 0, priceFlag: 1, printNo: 1, printDate: 1 }
       if (type == 'export') { //  导出
         url = salesDetailExport
       }

+ 1 - 7
src/views/salesManagement/salesQueryNew/detail.vue

@@ -25,7 +25,7 @@
                 <br>
                 <a-checkbox v-model="printPrice" :checked="printPrice" id="salesQuery-printPrice">售价</a-checkbox>
                 <a-checkbox v-model="printRemarks" :checked="printRemarks" id="salesQuery-printRemarks">备注</a-checkbox>
-                <a-checkbox v-model="printWarehouse" :checked="printWarehouse" id="salesQuery-printWarehouse">仓库仓位</a-checkbox>
+                <!-- <a-checkbox v-model="printWarehouse" :checked="printWarehouse" id="salesQuery-printWarehouse">仓库仓位</a-checkbox> -->
                 <a-checkbox v-model="printDate" :checked="printDate" id="salesQuery-printDate">打印时间</a-checkbox>
               </div>
             </PrintPanel>
@@ -166,7 +166,6 @@ export default {
       printPrice: false, // 是否打印价格
       printNo: true, // 是否打印销售单号
       printDate: true, // 是否打印日期
-      printWarehouse: false, // 是否打印仓库
       showOutInModal: false, // 出库明细弹框
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
@@ -273,7 +272,6 @@ export default {
         remarksShowFlag: this.printRemarks ? 1 : 0,
         printNo: this.printNo ? 1 : 0,
         priceFlag: this.printPrice ? 1 : 0,
-        printWarehouse: this.printWarehouse ? 1 : 0,
         printDate: this.printDate ? 1 : 0
       }
       if (type == 'export') { //  导出
@@ -314,7 +312,6 @@ export default {
         vm.printAllName = localStorage.getItem('printAllName-' + this.$store.state.user.info.orgId) == 'true'
         vm.printRemarks = localStorage.getItem('printRemarks-' + this.$store.state.user.info.orgId) == 'true'
         vm.printPrice = localStorage.getItem('printPrice-' + this.$store.state.user.info.orgId) == 'true'
-        vm.printWarehouse = localStorage.getItem('printWarehouse-' + this.$store.state.user.info.orgId) == 'true'
         const printDate = localStorage.getItem('printDate-' + this.$store.state.user.info.orgId)
         vm.printDate = printDate ? printDate == 'true' : true
         const printNo = localStorage.getItem('printNo-' + this.$store.state.user.info.orgId)
@@ -343,9 +340,6 @@ export default {
     printDate (newValue, oldValue) {
       localStorage.setItem('printDate-' + this.$store.state.user.info.orgId, newValue)
     },
-    printWarehouse (newValue, oldValue) {
-      localStorage.setItem('printWarehouse-' + this.$store.state.user.info.orgId, newValue)
-    },
     printNo (newValue, oldValue) {
       localStorage.setItem('printNo-' + this.$store.state.user.info.orgId, newValue)
     }