代码更新

This commit is contained in:
GaoHao
2025-03-12 14:13:29 +08:00
parent 2f1523d4e9
commit c2135c6119
105 changed files with 2026 additions and 278 deletions

View File

@@ -36,9 +36,9 @@
</view>
</view>
<view>
<view style="background-color: #fff;" @tap="show=true;showData = filtersSproductId(item.product)">
<view style="background-color: #fff;" @tap="show=true;showData = filtersSproductId(item.productList)">
所属商品:
{{ filtersSproductId(item.product).length>7?filtersSproductId(item.product).substring(0,6)+'...':filtersSproductId(item.product)}}
{{ filtersSproductId(item.productList).length>7?filtersSproductId(item.productList).substring(0,6)+'...':filtersSproductId(item.productList)}}
</view>
<view class="">
<up-button shape="circle" type="primary" size="mini" color="#999"
@@ -56,12 +56,8 @@
<view style="font-size: 28rpx;color: #999;">暂无数据</view>
</view>
<view class="ConsumablesBottom">
<view @tap="toUrl('PAGES_ADD_CONSUMABLES')">
新增耗材
</view>
<view @tap="toUrl('PAGES_SUPPLIER')">
供应商管理
</view>
<view @tap="toUrl('PAGES_ADD_CONSUMABLES')"> 新增耗材 </view>
<view @tap="toUrl('PAGES_SUPPLIER')"> 供应商管理 </view>
</view>
<my-action-sheet @itemClick="sheetClick" ref="refMoreSheet" :list="actionSheet.list"></my-action-sheet>
<my-reportDamage ref="reportDamage" title="耗材报损" :item="report.data" @affirm="affirm"></my-reportDamage>
@@ -88,7 +84,7 @@
import color from '@/commons/color.js';
import go from '@/commons/utils/go.js';
import { hasPermission } from '@/commons/utils/hasPermission.js';
import { getConsPage,getConsGrpupList } from '@/api/cons.js';
import { getConsPage,getConsGrpupList } from '@/http/api/cons.js';
let reportDamage = ref(null)
let refMoreSheet = ref(null)
@@ -138,7 +134,7 @@
conName: datas.conName,
conTypeId: d,
size: 100,
page: 0
page: 1
}).then(res => {
datas.list = res.records
})
@@ -150,7 +146,7 @@
let gettbConsTypeList = () => {
datas.typeLists = ['全部']
getConsGrpupList({
page: 0,
page: 1,
size: 30,
shopId: uni.getStorageSync("shopId"),
}).then(res => {