QuKatie %!s(int64=3) %!d(string=hai) anos
pai
achega
10284b6b7a

+ 10 - 3
src/views/exportTrade/customerInquiry/detailsPage.vue

@@ -988,6 +988,13 @@ export default {
     if (this.detailData.status == 1) {
       this.option.disabled = true;
     }
+    if (localStorage.getItem("roleName") == "贸易") {
+      this.findObject(this.tableOption.column, "purchaseCost").hide = true;
+      this.findObject(
+        this.tableOption.column,
+        "purchaseCost"
+      ).showColumn = false;
+    }
     this.getWorkDicts("product_properties").then(res => {
       this.findObject(this.tableOption.column, "itemProp").dicData =
         res.data.data;
@@ -1083,8 +1090,8 @@ export default {
         });
       }
     },
-    addRow(){
-      this.data.push({$cellEdit:true})
+    addRow() {
+      this.data.push({ $cellEdit: true });
     },
     corpAttnChange() {
       this.corpsattns.forEach(e => {
@@ -2039,7 +2046,7 @@ export default {
             if (res.data.code == 200) {
               this.detailData.status = 2;
               this.option = this.$options.data().option;
-              this.$refs.crud.refreshTable()
+              this.$refs.crud.refreshTable();
             }
           });
         }

+ 7 - 0
src/views/exportTrade/salesContract/detailsPage.vue

@@ -1153,6 +1153,13 @@ export default {
       this.insuranceOption.disabled = true;
       this.markOption.disabled = true;
     }
+    if (localStorage.getItem("roleName") == "贸易") {
+      this.findObject(this.tableOption.column, "purchaseCost").hide = true;
+      this.findObject(
+        this.tableOption.column,
+        "purchaseCost"
+      ).showColumn = false;
+    }
     getPorts().then(res => {
       this.findObject(this.option.column, "portOfLoad").dicData = res.data;
       this.findObject(this.option.column, "portOfDestination").dicData =

+ 11 - 0
src/views/salaryManagement/highSchool/js/optionList.js

@@ -275,6 +275,17 @@ export const optionList = {
       span: 4
     },
     {
+      label: "虚拟工作量工资标准",
+      prop: "virtualWorkloadSalary",
+      width: 140,
+      overHidden: true,
+      rules: [{
+        validator: validateDecimal,
+        trigger: "blur"
+      }],
+      span: 4
+    },
+    {
       label: "月份工作量",
       prop: "monthHour",
       width: 100,

+ 11 - 0
src/views/salaryManagement/juniorhighSchool/js/optionList.js

@@ -275,6 +275,17 @@ export const optionList = {
       span: 4
     },
     {
+      label: "虚拟工作量工资标准",
+      prop: "virtualWorkloadSalary",
+      width: 140,
+      overHidden: true,
+      rules: [{
+        validator: validateDecimal,
+        trigger: "blur"
+      }],
+      span: 4
+    },
+    {
       label: "月份工作量",
       prop: "monthHour",
       width: 100,

+ 11 - 0
src/views/salaryManagement/logisticsDepartment/js/optionList.js

@@ -275,6 +275,17 @@ export const optionList = {
       span: 4
     },
     {
+      label: "虚拟工作量工资标准",
+      prop: "virtualWorkloadSalary",
+      width: 140,
+      overHidden: true,
+      rules: [{
+        validator: validateDecimal,
+        trigger: "blur"
+      }],
+      span: 4
+    },
+    {
       label: "月份工作量",
       prop: "monthHour",
       width: 100,

+ 11 - 0
src/views/salaryManagement/primarySchool/js/optionList.js

@@ -275,6 +275,17 @@ export const optionList = {
       span: 4
     },
     {
+      label: "虚拟工作量工资标准",
+      prop: "virtualWorkloadSalary",
+      width: 140,
+      overHidden: true,
+      rules: [{
+        validator: validateDecimal,
+        trigger: "blur"
+      }],
+      span: 4
+    },
+    {
       label: "月份工作量",
       prop: "monthHour",
       width: 100,