Browse Source

订单管理调整

qymljy 1 month ago
parent
commit
43fe110be0

+ 1 - 0
src/HDrpManagement/orderManage/modules/add.vue

@@ -294,6 +294,7 @@ export default {
     contractClick (row) {
       this.form.sa_contractid = row.sa_contractid
       this.form.sa_projectid = row.sa_projectid
+      this.form.sa_brandid = row.sa_brandid
       this.form.contractname = row.title === ''?'未知':row.title
       this.visible = false
       this.$refs.form.validateField('contractname')

+ 2 - 1
src/template/addProduct/index1.vue

@@ -260,7 +260,6 @@ export default {
       });
       this.queryBrands();
       this.queryClass();
-      this.listData((this.params.content.pageNumber = 1));
     },
     /*可添加商品*/
     async listData() {
@@ -309,6 +308,8 @@ export default {
       this.querySa_brandid !== "" && this.querySa_brandid !== 0
           ? (this.sa_brandid = this.querySa_brandid)
           : (this.sa_brandid = res.data[0].sa_brandid);
+      this.params.content.where.sa_brandid = this.sa_brandid
+      this.listData((this.params.content.pageNumber = 1));
       this.queryClass();
     },
     brandChange() {