Bladeren bron

添加tCntr

qukaidi 4 jaren geleden
bovenliggende
commit
f7fadde0f8

+ 5 - 0
src/views/warehouseBusiness/goodsTransfer/index.vue

@@ -3735,6 +3735,7 @@ export default {
             "warehousebillsfeesDr",
             JSON.stringify(this.warehouseDrList)
           );
+          formData.append("tCntr", JSON.stringify([]));
           addWhgenleg(formData).then((response) => {
             this.$refs.tableListRef.clearSelection();
             this.msgSuccess("入账成功");
@@ -3797,6 +3798,7 @@ export default {
                   "warehousebillsfeesDr",
                   JSON.stringify(this.warehouseDrList)
                 );
+                formData.append("tCntr", JSON.stringify([]));
                 addGoodsTransfer(formData).then((response) => {
                   this.form = response.data.warehouseBills;
                   this.$set(
@@ -3852,6 +3854,7 @@ export default {
         "warehousebillsfeesDr",
         JSON.stringify(this.warehouseDrList)
       );
+      formData.append("tCntr", JSON.stringify([]));
       updateCredit(formData).then((response) => {
         this.fid = response.data;
         this.formBrowseStatus = false;
@@ -4001,6 +4004,7 @@ export default {
             "warehousebillsfeesDr",
             JSON.stringify(this.warehouseDrList)
           );
+          formData.append("tCntr", JSON.stringify([]));
           formData.append("mblnoStatus", this.mblnoStatus);
           addGoodsTransfer(formData).then((response) => {
             if (response.data == false) {
@@ -4127,6 +4131,7 @@ export default {
             "warehousebillsfeesDr",
             JSON.stringify(this.warehouseDrList)
           );
+          formData.append("tCntr", JSON.stringify([]));
           warehouseSubmission(formData).then((response) => {
             this.msgSuccess("提交成功");
             // this.browseStatus = true

+ 8 - 1
src/views/warehouseBusiness/inStock/index.vue

@@ -6433,6 +6433,7 @@ export default {
             JSON.stringify(this.relevantAttachments)
           );
           formData.append("whgenleg", JSON.stringify(this.relevantAttachments));
+          formData.append("tCntr", JSON.stringify([]));
           addWhgenleg(formData).then((response) => {
             this.fid = response.data;
             this.formBrowseStatus = true;
@@ -6626,6 +6627,7 @@ export default {
               JSON.stringify(this.warehouseDrList)
             );
             formDatae.append("mblnoStatus", this.mblnoStatus);
+            formData.append("tCntr", JSON.stringify([]));
             addWarehousebills(formDatae).then((response) => {
               this.form = response.data.warehouseBills;
               this.$set(this.form, "fEta", Date.parse(this.form.fEta));
@@ -6697,7 +6699,7 @@ export default {
               "tEnclosure",
               JSON.stringify(this.relevantAttachments)
             );
-
+            formData.append("tCntr", JSON.stringify([]));
             addJoblist(formData).then((response) => {
               if (response.code == 200) {
                 for (let li in response.data.warehousebillsitems) {
@@ -6765,6 +6767,7 @@ export default {
         JSON.stringify(this.warehouseCrList)
       );
       formData.append("tEnclosure", JSON.stringify(this.relevantAttachments));
+      formData.append("tCntr", JSON.stringify([]));
       updateCredit(formData).then((response) => {
         this.fid = response.data;
         this.formBrowseStatus = false;
@@ -6851,6 +6854,7 @@ export default {
               "warehousebillsfeesCr",
               JSON.stringify(this.warehouseCrList)
             );
+            formData.append("tCntr", JSON.stringify([]));
             if (!this.form.fId) {
               this.form.fId = this.fid;
             }
@@ -7108,6 +7112,7 @@ export default {
               JSON.stringify(this.warehouseDrList)
             );
             formDatae.append("mblnoStatus", this.mblnoStatus);
+            formData.append("tCntr", JSON.stringify([]));
             addWarehousebills(formDatae).then((response) => {
               if (response.data == false) {
                 this.$confirm(response.msg, "提示", {
@@ -7210,6 +7215,7 @@ export default {
               JSON.stringify(this.warehouseDrList)
             );
             formDatae.append("mblnoStatus", this.mblnoStatus);
+            formData.append("tCntr", JSON.stringify([]));
             addWarehousebills(formDatae).then((response) => {
               if (response.data == false) {
                 this.$confirm(response.msg, "提示", {
@@ -7385,6 +7391,7 @@ export default {
             "tWarehousebillsfeesDr",
             JSON.stringify(this.warehouseDrList)
           );
+          formData.append("tCntr", JSON.stringify([]));
           addWarehouse(formData).then((response) => {
             this.msgSuccess("提交成功");
             this.open = false;

+ 7 - 0
src/views/warehouseBusiness/outStock/index.vue

@@ -6311,6 +6311,7 @@ export default {
             "warehousebillsfeesDr",
             JSON.stringify(this.warehouseDrList)
           );
+          formData.append("tCntr", JSON.stringify([]));
           addWhgenleg(formData).then((response) => {
             this.fid = response.data.fPid;
             // 暂时注释掉,后续可能会加回来 仓储费得出的明细
@@ -6483,6 +6484,7 @@ export default {
                     JSON.stringify(this.warehouseDrList)
                   );
                   formData.append("mblnoStatus", this.mblnoStatus);
+                  formData.append("tCntr", JSON.stringify([]));
                   addWarehousebills(formData).then((response) => {
                     this.form = response.data.warehouseBills;
                     this.$set(
@@ -6565,6 +6567,7 @@ export default {
               "warehousebillsfeesDr",
               JSON.stringify(this.warehouseDrList)
             );
+            formData.append("tCntr", JSON.stringify([]));
             addJoblist(formData).then((response) => {
               if (response.code == 200) {
                 for (let li in response.data.warehousebillsitems) {
@@ -6638,6 +6641,7 @@ export default {
         "warehousebillsfeesDr",
         JSON.stringify(this.warehouseDrList)
       );
+      formData.append("tCntr", JSON.stringify([]));
       updateCredit(formData).then((response) => {
         this.fid = response.data;
         this.formBrowseStatus = false;
@@ -6717,6 +6721,7 @@ export default {
             "warehousebillsfeesDr",
             JSON.stringify(this.warehouseDrList)
           );
+          formData.append("tCntr", JSON.stringify([]));
           this.formBrowseStatus = true;
           this.$refs.tableList.clearSelection();
           disChargelist(formData).then((response) => {
@@ -6871,6 +6876,7 @@ export default {
               JSON.stringify(this.warehouseDrList)
             );
             formData.append("mblnoStatus", this.mblnoStatus);
+            formData.append("tCntr", JSON.stringify([]));
             addWarehousebills(formData).then((response) => {
               if (response.data == false) {
                 this.$confirm(response.msg, "提示", {
@@ -7079,6 +7085,7 @@ export default {
               "warehousebillsfeesDr",
               JSON.stringify(this.warehouseDrList)
             );
+            formData.append("tCntr", JSON.stringify([]));
             warehouseSubmission(formData).then((response) => {
               this.msgSuccess("提交成功");
               this.cancel();

+ 7 - 0
src/views/warehouseBusiness/stockTransfer/index.vue

@@ -5882,6 +5882,7 @@ export default {
             "warehousebillsfeesDr",
             JSON.stringify(this.warehouseDrList)
           );
+          formData.append("tCntr", JSON.stringify([]));
           addWhgenleg(formData).then((response) => {
             this.fid = response.data.fPid;
             this.dataWithdrawList = [];
@@ -6040,6 +6041,7 @@ export default {
                     JSON.stringify(this.warehouseDrList)
                   );
                   formData.append("mblnoStatus", this.mblnoStatus);
+                  formData.append("tCntr", JSON.stringify([]));
                   addStockTransfer(formData).then((response) => {
                     this.form = response.data.warehouseBills;
                     this.$set(this.form, "fEta", Date.parse(this.form.fEta));
@@ -6121,6 +6123,7 @@ export default {
               "warehousebillsfeesDr",
               JSON.stringify(this.warehouseDrList)
             );
+            formData.append("tCntr", JSON.stringify([]));
             addJoblist(formData).then((response) => {
               if (response.code == 200) {
                 for (let li in response.data.warehousebillsitems) {
@@ -6193,6 +6196,7 @@ export default {
         "warehousebillsfeesDr",
         JSON.stringify(this.warehouseDrList)
       );
+      formData.append("tCntr", JSON.stringify([]));
       updateCredit(formData).then((response) => {
         this.fid = response.data;
         this.formBrowseStatus = false;
@@ -6271,6 +6275,7 @@ export default {
             "warehousebillsfeesDr",
             JSON.stringify(this.warehouseDrList)
           );
+          formData.append("tCntr", JSON.stringify([]));
           for (let li in this.dataListSelection) {
             this.dataListSelection[li].fBillstatus = 30;
           }
@@ -6392,6 +6397,7 @@ export default {
               JSON.stringify(this.warehouseDrList)
             );
             formData.append("mblnoStatus", this.mblnoStatus);
+            formData.append("tCntr", JSON.stringify([]));
             addStockTransfer(formData).then((response) => {
               if (response.data == false) {
                 this.$confirm(response.msg, "提示", {
@@ -6598,6 +6604,7 @@ export default {
               "warehousebillsfeesDr",
               JSON.stringify(this.warehouseDrList)
             );
+            formData.append("tCntr", JSON.stringify([]));
             warehouseSubmission(formData).then((response) => {
               this.msgSuccess("提交成功");
               this.cancel();