Parcourir la source

【修改】销售返利单 将折让金额字段隐藏起来

howie il y a 2 ans
Parent
commit
fc79d67dbd

+ 15 - 12
src/views/finance/components/rebate_list-confirm.vue

@@ -91,17 +91,17 @@
               <el-input class="mountclass" :disabled="show" type="number" v-model="scope.row.rebateAmount"></el-input>
             </template>
           </el-table-column>
-          <el-table-column align="right" label="折让金额" prop="" min-width="160" show-overflow-tooltip>
-            <template slot-scope="scope">
-              <el-input
-                class="mountclass"
-                :disabled="show"
-                type="number"
-                @mousewheel.native.prevent
-                v-model="scope.row.allowanceAmount"
-              ></el-input>
-            </template>
-          </el-table-column>
+          <!--          <el-table-column align="right" label="折让金额" prop="" min-width="160" show-overflow-tooltip>-->
+          <!--            <template slot-scope="scope">-->
+          <!--              <el-input-->
+          <!--                class="mountclass"-->
+          <!--                :disabled="show"-->
+          <!--                type="number"-->
+          <!--                @mousewheel.native.prevent-->
+          <!--                v-model="scope.row.allowanceAmount"-->
+          <!--              ></el-input>-->
+          <!--            </template>-->
+          <!--          </el-table-column>-->
           <el-table-column
             align="left"
             label="备注"
@@ -219,11 +219,14 @@ export default {
       // console.log(this.dataList);
       const res = this.dataList.map(v => {
         return {
-          allowanceAmount: v.allowanceAmount,
+          // allowanceAmount: v.allowanceAmount,
+          allowanceAmount: 0,
           rebateAmount: v.rebateAmount,
           itemId: v.id
         }
       })
+      console.log(774)
+      return
       // console.log(res, 888);
       if (this.state == 1) {
         await getRebateOrderAclUpdate(res)

+ 11 - 11
src/views/finance/rebate_list.vue

@@ -261,17 +261,17 @@
                 {{ scope.row.withholdAmount | numToFixed }}
               </template>
             </el-table-column>
-            <el-table-column
-              align="right"
-              label="折让金额"
-              prop="allowanceAmount"
-              min-width="160"
-              show-overflow-tooltip
-            >
-              <template slot-scope="scope">
-                {{ scope.row.allowanceAmount | numToFixed }}
-              </template>
-            </el-table-column>
+            <!--            <el-table-column-->
+            <!--              align="right"-->
+            <!--              label="折让金额"-->
+            <!--              prop="allowanceAmount"-->
+            <!--              min-width="160"-->
+            <!--              show-overflow-tooltip-->
+            <!--            >-->
+            <!--              <template slot-scope="scope">-->
+            <!--                {{ scope.row.allowanceAmount | numToFixed }}-->
+            <!--              </template>-->
+            <!--            </el-table-column>-->
             <el-table-column
               v-if="!isCustomer"
               align="left"