snow 1 gadu atpakaļ
vecāks
revīzija
4583fe3421

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/0.js


+ 8 - 2
src/views/goodStore/supplierGoodsCost/components/baseForm.vue

@@ -40,7 +40,7 @@
                 disabled
                 :size="'mini'"
                 :names="supplierName"
-                :isDetail="type !== 'add'"
+                :isDetail="true"
                 :isp="this.type !== 'view'"
                 @searchChange="supplierNosearchChange"
               />
@@ -1837,7 +1837,13 @@ export default {
           this.status = status;
           this.brand_name = brand_name;
           this.unit_name = unit;
-          this.supplierName = supplierName || "";
+
+          if(this.type === 'add'){
+             this.supplierName = this.getCompanyWithCode(this.currentCompany).name
+          }else{
+            this.supplierName = supplierName || "";
+          }
+
           this.ruleForm = {
             id: id || "",
             spuCode: spuCode || "",

+ 1 - 1
src/views/netOrderEntry/netOrderEnter/detail-modal.vue

@@ -738,7 +738,7 @@ export default {
       this.detailLoading = false
     },
     platform_codesearchChange(e) {
-      const { id, label, pay_name } = e
+      const { id, pay_name } = e
       this.ruleForm.platform_id = id || ''
       this.pay_name = pay_name || ''
       this.$refs.ruleForm.validateField('platform_id')

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels