lilei hai 1 ano
pai
achega
8e63fc1985

+ 5 - 5
src/views/financialManagement/collectionDetailStatic/list.vue

@@ -407,7 +407,7 @@ export default {
               dataList.map(item => {
                 data.push({ id: item.id, printStatus: 'NO_PRINT' })
               })
-              _this.plUpdateStatus(data)
+              _this.plUpdateStatus(data,1)
             }
           })
         } else {
@@ -418,16 +418,16 @@ export default {
       if (e.key == 2) { // 批量开票
         const data = []
         rows.map(item => {
-          data.push({ id: item.id, invoiceDate: '', remarks: '' })
+          data.push({ id: item.id, invoiceDate: '', remarks: ''})
         })
         _this.plinvoiceInfo = data
         _this.plinvoiceIsShow = true
       }
     },
     // 批量操作
-    plUpdateStatus (data) {
+    plUpdateStatus (data,type) {
       this.spinning = true
-      financeBookDetailUpdateBatch(data).then(res => {
+      financeBookDetailUpdateBatch(data,type).then(res => {
         if (res.status == 200) {
           this.searchForm()
         }
@@ -440,7 +440,7 @@ export default {
         item.invoiceDate = data.invoiceDate
         item.remarks = data.remarks
       })
-      this.plUpdateStatus(this.plinvoiceInfo)
+      this.plUpdateStatus(this.plinvoiceInfo,0)
     },
     // 表格选中项
     rowSelectionFun (obj) {

+ 1 - 1
src/views/financialManagement/collectionDetailStatic/printModal.vue

@@ -92,7 +92,7 @@ export default {
       
       _this.spinning = true
       _this.confirmLoading = true
-      updateFinanceBookDetail(ajax_form).then(res => {
+      updateFinanceBookDetail(ajax_form,0).then(res => {
         if (res.status == 200) {
           _this.$message.success(res.message)
           _this.cancel(1)

+ 1 - 1
src/views/salesManagement/receiptPrint/list.vue

@@ -415,7 +415,7 @@ export default {
       this.showPrintModal = false
     },
     updatePrintStatus () {
-      updateFinanceBookDetail({ id: this.tipData.id, printStatus: 'UNABLE_PRINT' }).then(res => {
+      updateFinanceBookDetail({ id: this.tipData.id, printStatus: 'UNABLE_PRINT' },1).then(res => {
         if (res.status == 200) {
           this.canselModal()
           this.$message.info(res.message)

+ 1 - 1
src/views/salesReturnManagement/billOfLading/selectXtModal.vue

@@ -122,7 +122,7 @@ export default {
         this.disabled = true
         this.spinning = true
         this.queryParam.warehouseSn = this.warehouseSn
-        return salesReturnList(Object.assign(parameter, this.queryParam)).then(res => {
+        return salesReturnList(Object.assign(parameter, this.queryParam),1).then(res => {
           let data
           if (res.status == 200) {
             data = res.data

+ 1 - 1
src/views/salesReturnManagement/custConfirm/list.vue

@@ -483,7 +483,7 @@ export default {
         onOk () {
           _this.loading = true
           _this.spinning = true
-          deleteByCustomerService({ salesReturnDetailSn: row.salesReturnDetailSn }).then(res => {
+          deleteByCustomerService({ salesReturnDetailSn: row.salesReturnDetailSn, salesReturnBillSn: _this.orderSn }).then(res => {
             if (res.status == 200) {
               _this.resetSearchForm(false)
             }

+ 1 - 1
src/views/salesReturnManagement/receiveCheck/receiving.vue

@@ -267,7 +267,7 @@ export default {
         onOk () {
           _this.loading = true
           _this.spinning = true
-          deleteByReceiver({ salesReturnDetailSn: row.salesReturnDetailSn }).then(res => {
+          deleteByReceiver({ salesReturnDetailSn: row.salesReturnDetailSn, salesReturnBillSn: _this.orderSn }).then(res => {
             if (res.status == 200) {
               _this.resetSearchForm(false)
             }

+ 1 - 1
src/views/salesReturnManagement/salesReturn/salesReturnEdit.vue

@@ -433,7 +433,7 @@ export default {
         onOk () {
           _this.delLoading = true
           _this.spinning = true
-          salesReturnDetailDel({ salesReturnDetailSn: row.salesReturnDetailSn }).then(res => {
+          salesReturnDetailDel({ salesReturnDetailSn: row.salesReturnDetailSn, salesReturnBillSn: this.orderSn }).then(res => {
             if (res.status == 200) {
               _this.resetTable(false)
             }