Browse Source

批次号加上参数

qukaidi 1 week ago
parent
commit
14410334bd

+ 1 - 1
src/views/tirePartsMall/salesManagement/saleOrder/components/viewArea.vue

@@ -9,7 +9,7 @@
           placeholder="批次号"
           label="dot"
           :disabled="disabled || query.historyList.length || query.whether != 1"
-          :url="'/blade-sales-part/stockDesc/dotList?storageId=' + form.storageId + '&goodsId=' + query.goodsId"
+          :url="'/blade-sales-part/stockDesc/dotList?storageId=' + form.storageId + '&goodsId=' + query.goodsId+'&whether=1'"
           :filterable="true"
           @selectChange="dicChange('dot', $event)"
         ></dic-select>

+ 9 - 5
src/views/tirePartsMall/salesManagement/saleOrder/detailsPage.vue

@@ -1556,7 +1556,8 @@ export default {
             this.findObject(this.optionContactsBack.column, "dot").disabled = false;
             dotList({
               storageId: this.form.storageId,
-              goodsId: this.formContacts.goodsId
+              goodsId: this.formContacts.goodsId,
+              whether: 1
             }).then(res => {
               this.findObject(this.optionContactsBack.column, "dot").dicData = res.data.data;
             });
@@ -1621,7 +1622,8 @@ export default {
             this.findObject(this.optionContacts.column, "dot").disabled = false;
             dotList({
               storageId: this.form.storageId,
-              goodsId: this.formContacts.goodsId
+              goodsId: this.formContacts.goodsId,
+              whether: 1
             }).then(res => {
               this.findObject(this.optionContacts.column, "dot").dicData = res.data.data;
             });
@@ -1891,7 +1893,8 @@ export default {
           res.forEach(item => {
             dotList({
               storageId: this.form.storageId,
-              goodsId: res.goodsId
+              goodsId: res.goodsId,
+              whether: 1
             }).then(e => {
               this.findObject(this.optionContactsBack.column, "dot").dicData = e.data.data;
             });
@@ -2135,7 +2138,7 @@ export default {
           goodsNumtype: false,
           // 价格
           pricetype: false,
-          historyList:[],
+          historyList: []
           // sendNum: 0,
         };
         if (item.goodsFilesList && item.goodsFilesList.length) {
@@ -2271,7 +2274,8 @@ export default {
       this.$refs.formContacts.rowEdit(row, index);
       dotList({
         storageId: this.form.storageId,
-        goodsId: this.formContacts.goodsId
+        goodsId: this.formContacts.goodsId,
+        whether: 1
       }).then(res => {
         this.findObject(this.optionContactsBack.column, "dot").dicData = res.data.data;
       });

+ 4 - 2
src/views/tirePartsMall/salesService/inStorage/detailsPage.vue

@@ -807,7 +807,8 @@ export default {
       if (this.formContacts.goodsId !== value) {
         dotListAll({
           storageId: this.form.storageId,
-          goodsId: this.formContacts.goodsId
+          goodsId: this.formContacts.goodsId,
+          whether: 1
         }).then(res => {
           (this.formContacts.price = res.data.data[0].inventoryCostPrice), console.log(res);
         });
@@ -848,7 +849,8 @@ export default {
       if (this.formContacts.goodsId !== value) {
         dotListAll({
           storageId: this.form.storageId,
-          goodsId: this.formContacts.goodsId
+          goodsId: this.formContacts.goodsId,
+          whether: 1
         }).then(res => {
           this.formContacts.price = res.data.data[0].inventoryCostPrice;
         });