Browse Source

修改指示

Qukatie 1 week ago
parent
commit
58fd04de3e

+ 4 - 2
src/views/iosBasicData/PaymentApplication/assembly/cashierItem.vue

@@ -16,8 +16,7 @@
         @on-load="onLoad"
       >
         <template slot="indexHeader" slot-scope="{ row }">
-          <el-button type="primary" size="small" icon="el-icon-plus" circle @click="addRow" 
-            :disabled="form.cashierStatus == 2"></el-button>
+          <el-button type="primary" size="small" icon="el-icon-plus" circle @click="addRow" :disabled="form.cashierStatus == 2"></el-button>
         </template>
         <template slot="index" slot-scope="{ row, index }">
           <span>{{ index + 1 }}</span>
@@ -267,6 +266,7 @@ export default {
     },
     //生成指示
     async processData(row, list, dataList) {
+      this.loading = true;
       let amountDr = 0;
       let amountDrUsd = 0;
       let amountCr = 0;
@@ -365,6 +365,7 @@ export default {
         const res = await submitList(this.data);
         this.data = res.data.data;
       }
+      this.loading = false;
     },
     rowEdit(row) {
       if (row.$cellEdit) {
@@ -539,6 +540,7 @@ export default {
     },
     openDialog(row, dataList, type) {
       this.dialogVisible = true;
+      this.selectionList = [];
       this.form = row;
       let obj = {
         srcId: row.id

+ 1 - 1
src/views/iosBasicData/PaymentApplication/index.vue

@@ -105,7 +105,7 @@ export default {
   data() {
     return {
       itemOption: {
-        height: 300,
+        // height: 300,
         header: false,
         index: true,
         menu: false,

+ 1 - 0
src/views/iosBasicData/cashier/components/cashierItem.vue

@@ -386,6 +386,7 @@ export default {
     },
     openDialog(row) {
       this.dialogVisible = true;
+      this.selectionList =[]
       this.form = row;
       let obj = {
         srcIds: row.id

+ 3 - 0
src/views/iosBasicData/fininvoicesApplyfor/assembly/cashierItem.vue

@@ -266,6 +266,7 @@ export default {
     },
     //生成指示
     async processData(row, list, dataList) {
+      this.loading = true;
       let amountDr = 0;
       let amountDrUsd = 0;
       let amountCr = 0;
@@ -364,6 +365,7 @@ export default {
         const res = await submitList(this.data);
         this.data = res.data.data;
       }
+      this.loading = false;
     },
     rowEdit(row) {
       if (row.$cellEdit) {
@@ -539,6 +541,7 @@ export default {
     },
     openDialog(row, dataList, type) {
       this.dialogVisible = true;
+      this.selectionList = [];
       this.form = row;
       let obj = {
         srcId: row.id

+ 3 - 0
src/views/iosBasicData/fininvoicesOutput/assembly/cashierItem.vue

@@ -266,6 +266,7 @@ export default {
     },
     //生成指示
     async processData(row, list, dataList) {
+      this.loading = true;
       let amountDr = 0;
       let amountDrUsd = 0;
       let amountCr = 0;
@@ -364,6 +365,7 @@ export default {
         const res = await submitList(this.data);
         this.data = res.data.data;
       }
+      this.loading = false;
     },
     rowEdit(row) {
       if (row.$cellEdit) {
@@ -539,6 +541,7 @@ export default {
     },
     openDialog(row, dataList, type) {
       this.dialogVisible = true;
+      this.selectionList = [];
       this.form = row;
       let obj = {
         srcId: row.id

+ 1 - 0
src/views/iosBasicData/finstlbills/assembly/cashierItem.vue

@@ -554,6 +554,7 @@ export default {
     },
     openDialog(row, dataList, type) {
       this.dialogVisible = true;
+      this.selectionList =[]
       this.form = row;
       let obj = {
         srcId: row.id

+ 1 - 1
src/views/iosBasicData/finstlbills/index.vue

@@ -557,7 +557,7 @@ export default {
         ]
       },
       itemOption: {
-        height: "300",
+        // height: "300",
         header: false,
         index: true,
         menu:false,