修改问题
This commit is contained in:
		
							parent
							
								
									5af43012a9
								
							
						
					
					
						commit
						ef09010f2b
					
				| 
						 | 
				
			
			@ -2,7 +2,7 @@
 | 
			
		|||
  <div>
 | 
			
		||||
    <obj-modal
 | 
			
		||||
      ref="modal"
 | 
			
		||||
      labelWidth="150px"
 | 
			
		||||
      labelWidth="190px"
 | 
			
		||||
      :modalCols="modalCols"
 | 
			
		||||
      :modalConfig="modalConfig"
 | 
			
		||||
      :modalData="modalData"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -962,14 +962,14 @@ export default {
 | 
			
		|||
    //   let res = await this.$api.mer_admin.getProductCategory();
 | 
			
		||||
    //   return res.data.data;
 | 
			
		||||
    // },
 | 
			
		||||
    async getSaleUnit() {
 | 
			
		||||
      let res = await this.$api.mer_admin.getSaleUnit({
 | 
			
		||||
        shopId: JSON.parse(sessionStorage.getItem("userInfo")).shopId,
 | 
			
		||||
      });
 | 
			
		||||
      console.log(res);
 | 
			
		||||
    // async getSaleUnit() {
 | 
			
		||||
    //   let res = await this.$api.mer_admin.getSaleUnit({
 | 
			
		||||
    //     shopId: JSON.parse(sessionStorage.getItem("userInfo")).shopId,
 | 
			
		||||
    //   });
 | 
			
		||||
    //   console.log(res);
 | 
			
		||||
 | 
			
		||||
      return res.data.data;
 | 
			
		||||
    },
 | 
			
		||||
    //   return res.data.data;
 | 
			
		||||
    // },
 | 
			
		||||
  },
 | 
			
		||||
};
 | 
			
		||||
</script>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -227,8 +227,15 @@
 | 
			
		|||
            <div style="font-size: 16px; margin: 0 0 20px 0; font-weight: 600">
 | 
			
		||||
              钱包账单
 | 
			
		||||
            </div>
 | 
			
		||||
            <div style="background: #fff; padding: 10px; height: 51vh;min-width: 400px;
 | 
			
		||||
            overflow-y:scroll;">
 | 
			
		||||
            <div
 | 
			
		||||
              style="
 | 
			
		||||
                background: #fff;
 | 
			
		||||
                padding: 10px;
 | 
			
		||||
                height: 51vh;
 | 
			
		||||
                min-width: 400px;
 | 
			
		||||
                overflow-y: scroll;
 | 
			
		||||
              "
 | 
			
		||||
            >
 | 
			
		||||
              <div
 | 
			
		||||
                v-for="item in billList"
 | 
			
		||||
                :key="item.id"
 | 
			
		||||
| 
						 | 
				
			
			@ -246,7 +253,7 @@
 | 
			
		|||
                  <div>订单状态:{{ getBillStatus(item.billStatus) }}</div>
 | 
			
		||||
                </div>
 | 
			
		||||
                <div class="wallet-item">
 | 
			
		||||
                  <div>{{ item.billTypeName }}:{{item.billAmount}}</div>
 | 
			
		||||
                  <div>{{ item.billTypeName }}:{{ item.billAmount }}</div>
 | 
			
		||||
                  <div>余额:{{ item.amountAfterChange }}</div>
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
| 
						 | 
				
			
			@ -268,7 +275,11 @@
 | 
			
		|||
      </el-col>
 | 
			
		||||
    </el-row>
 | 
			
		||||
    <!-- 提现 -->
 | 
			
		||||
    <withdrawal @init="init" ref="withdrawal"></withdrawal>
 | 
			
		||||
    <withdrawal
 | 
			
		||||
      @init="init"
 | 
			
		||||
      @getWithdrawalRecord="getWithdrawalRecord"
 | 
			
		||||
      ref="withdrawal"
 | 
			
		||||
    ></withdrawal>
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -127,6 +127,7 @@ export default {
 | 
			
		|||
                  console.log(valid);
 | 
			
		||||
                  this.$api.wallet.Withdrawal(this.ruleForm).then((res) => {
 | 
			
		||||
                    this.$emit("init");
 | 
			
		||||
                    this.$emit("getWithdrawalRecord");
 | 
			
		||||
                    this.toggle();
 | 
			
		||||
                  });
 | 
			
		||||
                }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue