소스 검색

数据版本修正

xiaohaizhao 1 년 전
부모
커밋
847c90a825
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      packageA/orderForm/modules/product/index.js

+ 3 - 2
packageA/orderForm/modules/product/index.js

@@ -86,12 +86,13 @@ Component({
                 index = this.data.list.findIndex(v => v.itemid == detail.itemid),
                 data = this.data.list[index];
             if (data.qty == obj.qty && data.remarks == obj.remarks && data.needdate == obj.needdate) return;
-            detail.sa_order_v = this.data.sa_order_v;
+            detail.sa_order_v = this.data.sa_order_v - 0;
             _Http.basic({
                 "id": 20221109093602,
                 "content": {
                     ...this.data.base,
-                    "items": [detail]
+                    "items": [detail],
+                    sa_order_v: this.data.sa_order_v - 0
                 }
             }).then(res => {
                 console.log("产品修改", res)