| ¶Ô±ÈÐÂÎļþ |
| | |
| | | import request from '@/utils/request' |
| | | |
| | | // èæå
¥åºç®¡ç-æ¥è¯¢å
¥åºè®°å½å表 |
| | | export const getConsumablesInRecordListPage = (params) => { |
| | | return request({ |
| | | url: '/consumablesInRecord/listPage', |
| | | method: 'get', |
| | | params |
| | | }) |
| | | } |
| | | |
| | | // ç¼è¾èæå
¥åºï¼ä»
ç¨äºå°è´¦ç¼è¾ï¼ |
| | | export const editStockInStock = (data) => { |
| | | return request({ |
| | | url: '/consumablesInRecord/editStockInStock', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | // æ¹éå é¤å
¥åºè®°å½ |
| | | export const batchDeleteConsumablesInRecords = (ids) => { |
| | | return request({ |
| | | url: '/consumablesInRecord', |
| | | method: 'delete', |
| | | data: ids |
| | | }) |
| | | } |
| | | |
| | |
| | | }); |
| | | }; |
| | | |
| | | // ç¼è¾èæåºåºï¼ä»
ç¨äºå°è´¦ç¼è¾ï¼ |
| | | export const editStockOut = (data) => { |
| | | return request({ |
| | | url: "/consumablesOutRecord/editStockOut", |
| | | method: "post", |
| | | data, |
| | | }); |
| | | }; |
| | | |
| | |
| | | </view> |
| | | </view> |
| | | <view class="card-actions"> |
| | | <view class="btn-delete" @click.stop="handleDeleteSingle(item)">å é¤</view> |
| | | <view v-if="hasCDispatchEdit" class="btn-edit" @click.stop="handleEdit(item)">ç¼è¾</view> |
| | | <view v-if="hasCDispatchCancel" class="btn-delete" @click.stop="handleDeleteSingle(item)">å é¤</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="load-more-wrap" v-if="tableData.length > 0"> |
| | | <u-loadmore :status="loadStatus" @loadmore="loadMore" /> |
| | | </view> |
| | | |
| | | <!-- ç¼è¾å¼¹çª --> |
| | | <up-popup :show="showEditModal" mode="bottom" @close="showEditModal = false"> |
| | | <view class="edit-popup"> |
| | | <view class="popup-header"> |
| | | <text class="popup-title">ç¼è¾åºåº</text> |
| | | </view> |
| | | <scroll-view class="popup-body" scroll-y> |
| | | <view class="form-row"> |
| | | <text class="form-label required">æ°é</text> |
| | | <up-input v-model="editForm.qualitity" type="number" placeholder="请è¾å
¥æ°é" /> |
| | | </view> |
| | | <view class="form-row"> |
| | | <text class="form-label required">éè´å</text> |
| | | <up-input v-model="editForm.purchaser" placeholder="请è¾å
¥éè´å" /> |
| | | </view> |
| | | </scroll-view> |
| | | <view class="popup-footer"> |
| | | <view class="btn-cancel" @click="showEditModal = false">åæ¶</view> |
| | | <view class="btn-ok" @click="handleEditSubmit">确认</view> |
| | | </view> |
| | | </view> |
| | | </up-popup> |
| | | </view> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { reactive, ref, toRefs } from "vue"; |
| | | import { computed, reactive, ref, toRefs } from "vue"; |
| | | import { onReachBottom, onShow } from "@dcloudio/uni-app"; |
| | | import PageHeader from "@/components/PageHeader.vue"; |
| | | import { getConsumablesOutRecordPage, delConsumablesOutRecord } from "@/api/consumablesLogistics/consumablesOutRecord.js"; |
| | | import { getConsumablesOutRecordPage, delConsumablesOutRecord, editStockOut } from "@/api/consumablesLogistics/consumablesOutRecord.js"; |
| | | import { findAllQualifiedStockOutRecordTypeOptions } from "@/api/basicData/enum.js"; |
| | | import { checkPermi } from "@/utils/permission"; |
| | | |
| | | const hasCDispatchEdit = computed(() => checkPermi(["c_dispatch_edit"])); |
| | | const hasCDispatchCancel = computed(() => checkPermi(["c_dispatch_cancel"])); |
| | | |
| | | const stockRecordTypeOptions = ref([]); |
| | | const tableData = ref([]); |
| | |
| | | |
| | | const handleDeleteSingle = (item) => { |
| | | if (!item?.id) return; |
| | | if (!hasCDispatchCancel.value) return; |
| | | uni.showModal({ |
| | | title: "å é¤", |
| | | content: "确认å é¤è¯¥æ¡åºåºè®°å½ï¼", |
| | |
| | | }); |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | | // ---------------- ç¼è¾åºåº ---------------- |
| | | const showEditModal = ref(false); |
| | | const editForm = reactive({ |
| | | id: null, |
| | | qualitity: "", |
| | | purchaser: "", |
| | | }); |
| | | |
| | | const handleEdit = (row) => { |
| | | if (!hasCDispatchEdit.value) return; |
| | | editForm.id = row?.id ?? null; |
| | | editForm.qualitity = row?.qualitity ?? row?.stockOutNum ?? ""; |
| | | editForm.purchaser = row?.purchaser ?? ""; |
| | | showEditModal.value = true; |
| | | }; |
| | | |
| | | const handleEditSubmit = () => { |
| | | if (!hasCDispatchEdit.value) return; |
| | | const q = Number(editForm.qualitity); |
| | | if (!Number.isFinite(q) || q <= 0) { |
| | | uni.showToast({ title: "请è¾å
¥æ£ç¡®æ°é", icon: "none" }); |
| | | return; |
| | | } |
| | | if (!editForm.purchaser) { |
| | | uni.showToast({ title: "请è¾å
¥éè´å", icon: "none" }); |
| | | return; |
| | | } |
| | | |
| | | uni.showLoading({ title: "ä¿åä¸...", mask: true }); |
| | | editStockOut({ |
| | | id: editForm.id, |
| | | qualitity: q, |
| | | purchaser: editForm.purchaser, |
| | | }) |
| | | .then(() => { |
| | | uni.showToast({ title: "ç¼è¾æå", icon: "success" }); |
| | | showEditModal.value = false; |
| | | getList(); |
| | | }) |
| | | .catch(() => { |
| | | uni.showToast({ title: "ç¼è¾å¤±è´¥", icon: "none" }); |
| | | }) |
| | | .finally(() => { |
| | | uni.hideLoading(); |
| | | }); |
| | | }; |
| | | |
| | | const goBack = () => uni.navigateBack(); |
| | |
| | | margin-top: 16rpx; |
| | | padding-top: 16rpx; |
| | | border-top: 1rpx solid #eee; |
| | | width: 100%; |
| | | text-align: center; |
| | | } |
| | | .btn-edit { |
| | | color: #2979ff; |
| | | font-size: 28rpx; |
| | | padding: 12rpx 32rpx; |
| | | margin: 0 auto; |
| | | display: inline-flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | .btn-delete { |
| | | color: #f56c6c; |
| | | font-size: 28rpx; |
| | | padding: 12rpx 36rpx; |
| | | padding: 12rpx 32rpx; |
| | | margin: 0 auto; |
| | | display: inline-flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | .edit-popup { |
| | | background: #fff; |
| | | border-radius: 24rpx 24rpx 0 0; |
| | | padding-bottom: env(safe-area-inset-bottom); |
| | | } |
| | | .popup-header { |
| | | padding: 24rpx; |
| | | border-bottom: 1rpx solid #eee; |
| | | text-align: center; |
| | | } |
| | | .popup-title { |
| | | font-size: 30rpx; |
| | | font-weight: 500; |
| | | color: #333; |
| | | } |
| | | .popup-body { |
| | | padding: 24rpx 24rpx 0; |
| | | max-height: 60vh; |
| | | } |
| | | .form-row { |
| | | margin-bottom: 24rpx; |
| | | } |
| | | .form-label { |
| | | display: block; |
| | | font-size: 26rpx; |
| | | color: #666; |
| | | margin-bottom: 12rpx; |
| | | } |
| | | .form-label.required:before { |
| | | content: "*"; |
| | | color: #f56c6c; |
| | | margin-right: 6rpx; |
| | | } |
| | | .popup-footer { |
| | | display: flex; |
| | | gap: 24rpx; |
| | | padding: 16rpx 24rpx calc(16rpx + env(safe-area-inset-bottom)); |
| | | border-top: 1rpx solid #eee; |
| | | } |
| | | .btn-cancel, |
| | | .btn-ok { |
| | | flex: 1; |
| | | height: 88rpx; |
| | | border-radius: 999rpx; |
| | | border: 1rpx solid rgba(245, 108, 108, 0.55); |
| | | background: rgba(245, 108, 108, 0.08); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 30rpx; |
| | | } |
| | | .btn-cancel { |
| | | background: #f0f0f0; |
| | | color: #666; |
| | | } |
| | | .btn-ok { |
| | | background: #2979ff; |
| | | color: #fff; |
| | | } |
| | | .no-data { text-align: center; padding: 60rpx 0; color: #999; font-size: 28rpx; } |
| | | .load-more-wrap { padding: 24rpx 24rpx 8rpx; } |
| | |
| | | <el-button type="primary" @click="handleQuery" style="margin-left: 10px">æç´¢</el-button> |
| | | </div> |
| | | <div> |
| | | <el-button type="danger" plain @click="handleDelete">å é¤</el-button> |
| | | <el-button |
| | | v-if="hasCReceiptCancel" |
| | | type="danger" |
| | | plain |
| | | @click="handleDelete" |
| | | >å é¤</el-button> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <el-table-column label="产ååç§°" prop="productName" min-width="160" show-overflow-tooltip /> |
| | | <el-table-column label="è§æ ¼åå·" prop="model" min-width="160" show-overflow-tooltip /> |
| | | <el-table-column label="åä½" prop="unit" width="100" show-overflow-tooltip /> |
| | | <el-table-column label="å
¥åºæ°é" prop="stockInNum" width="110" show-overflow-tooltip /> |
| | | <el-table-column label="å
¥åºæ°é" prop="qualitity" width="110" show-overflow-tooltip /> |
| | | <el-table-column label="å
¥åºäºº" prop="createBy" width="120" show-overflow-tooltip /> |
| | | <el-table-column label="æ¥æº" prop="recordType" width="140" show-overflow-tooltip> |
| | | <template #default="scope"> |
| | | {{ getRecordType(scope.row.recordType) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="æä½" width="120" align="center"> |
| | | <template #default="scope"> |
| | | <el-button |
| | | v-if="hasCReceiptEdit" |
| | | type="primary" |
| | | size="mini" |
| | | @click="handleEdit(scope.row)" |
| | | >ç¼è¾</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | @pagination="paginationChange" |
| | | /> |
| | | </div> |
| | | |
| | | <el-dialog |
| | | v-model="isShowEditModal" |
| | | title="ç¼è¾å
¥åº" |
| | | width="600" |
| | | @close="closeEditModal" |
| | | > |
| | | <el-form |
| | | label-width="100px" |
| | | :model="editForm" |
| | | label-position="top" |
| | | ref="editFormRef" |
| | | > |
| | | <el-form-item |
| | | label="æ°é" |
| | | prop="qualitity" |
| | | :rules="[{ required: true, message: '请è¾å
¥æ°é', trigger: ['blur', 'change'] }]" |
| | | > |
| | | <el-input-number |
| | | v-model="editForm.qualitity" |
| | | :min="0" |
| | | :step="1" |
| | | :precision="0" |
| | | controls-position="right" |
| | | style="width: 100%" |
| | | placeholder="请è¾å
¥æ°é" |
| | | /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item |
| | | label="éè´å" |
| | | prop="purchaser" |
| | | :rules="[{ required: true, message: '请è¾å
¥éè´å', trigger: ['blur', 'change'] }]" |
| | | > |
| | | <el-input v-model="editForm.purchaser" placeholder="请è¾å
¥éè´å" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button type="primary" @click="handleEditSubmit">确认</el-button> |
| | | <el-button @click="closeEditModal">åæ¶</el-button> |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { onMounted, reactive, ref, toRefs, watch } from "vue"; |
| | | import { computed, onMounted, reactive, ref, toRefs, watch } from "vue"; |
| | | import { ElMessage, ElMessageBox } from "element-plus"; |
| | | import Pagination from "@/components/PIMTable/Pagination.vue"; |
| | | import { |
| | | batchDeleteConsumablesInRecords, |
| | | getConsumablesInRecordListPage, |
| | | editStockInStock, |
| | | } from "@/api/consumablesLogistics/consumablesInRecord.js"; |
| | | import { |
| | | findAllQualifiedStockInRecordTypeOptions, |
| | | } from "@/api/basicData/enum.js"; |
| | | import { checkPermi } from "@/utils/permission.js"; |
| | | |
| | | const props = defineProps({ |
| | | type: { |
| | |
| | | default: "0", |
| | | }, |
| | | }); |
| | | |
| | | const hasCReceiptEdit = computed(() => checkPermi(['c_receipt_edit'])) |
| | | const hasCReceiptCancel = computed(() => checkPermi(['c_receipt_cancel'])) |
| | | |
| | | const tableData = ref([]); |
| | | const selectedRows = ref([]); |
| | |
| | | }; |
| | | |
| | | const handleDelete = () => { |
| | | if (!hasCReceiptCancel.value) return |
| | | const ids = selectedRows.value.map(i => i.id).filter(Boolean); |
| | | if (ids.length === 0) { |
| | | ElMessage.warning("è¯·éæ©æ°æ®"); |
| | |
| | | .catch(() => {}); |
| | | }; |
| | | |
| | | // ç¼è¾å
¥åº |
| | | const isShowEditModal = ref(false); |
| | | const editFormRef = ref(null); |
| | | const editForm = ref({}); |
| | | |
| | | const handleEdit = (row) => { |
| | | if (!hasCReceiptEdit.value) return |
| | | editForm.value = { |
| | | id: row?.id, |
| | | qualitity: row?.qualitity, |
| | | purchaser: row?.purchaser, |
| | | }; |
| | | isShowEditModal.value = true; |
| | | }; |
| | | |
| | | const closeEditModal = () => { |
| | | isShowEditModal.value = false; |
| | | editForm.value = {}; |
| | | editFormRef.value?.clearValidate?.(); |
| | | }; |
| | | |
| | | const handleEditSubmit = () => { |
| | | editFormRef.value?.validate?.((valid) => { |
| | | if (!valid) return; |
| | | editStockInStock(editForm.value).then(() => { |
| | | closeEditModal(); |
| | | ElMessage.success("ç¼è¾æå"); |
| | | getList(); |
| | | }); |
| | | }); |
| | | }; |
| | | |
| | | watch( |
| | | () => props.type, |
| | | () => { |
| | |
| | | <view class="card-body"> |
| | | <view class="row"><text class="l">è§æ ¼åå·</text><text class="r">{{ item.model }}</text></view> |
| | | <view class="row"><text class="l">åä½</text><text class="r">{{ item.unit }}</text></view> |
| | | <view class="row"><text class="l">å
¥åºæ°é</text><text class="r highlight">{{ item.stockInNum }}</text></view> |
| | | <view class="row"><text class="l">å
¥åºæ°é</text><text class="r highlight">{{ item.qualitity ?? item.stockInNum }}</text></view> |
| | | <view class="row"><text class="l">éè´å</text><text class="r">{{ item.purchaser || '-' }}</text></view> |
| | | <view class="row"><text class="l">å
¥åºäºº</text><text class="r">{{ item.createBy }}</text></view> |
| | | <view class="row" v-if="item.recordType !== undefined"><text class="l">æ¥æº</text><text class="r">{{ getRecordType(item.recordType) || item.recordType }}</text></view> |
| | | </view> |
| | | </view> |
| | | <view class="card-actions"> |
| | | <view class="btn-delete" @click.stop="handleDeleteSingle(item)">å é¤</view> |
| | | <view v-if="hasCReceiptEdit" class="btn-edit" @click.stop="handleEdit(item)">ç¼è¾</view> |
| | | <view v-if="hasCReceiptCancel" class="btn-delete" @click.stop="handleDeleteSingle(item)">å é¤</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view class="load-more-wrap" v-if="tableData.length > 0"> |
| | | <u-loadmore :status="loadStatus" @loadmore="loadMore" /> |
| | | </view> |
| | | |
| | | <!-- ç¼è¾å¼¹çª --> |
| | | <up-popup :show="showEditModal" mode="bottom" @close="showEditModal = false"> |
| | | <view class="edit-popup"> |
| | | <view class="popup-header"> |
| | | <text class="popup-title">ç¼è¾å
¥åº</text> |
| | | </view> |
| | | <scroll-view class="popup-body" scroll-y> |
| | | <view class="form-row"> |
| | | <text class="form-label required">æ°é</text> |
| | | <up-input v-model="editForm.qualitity" type="number" placeholder="请è¾å
¥æ°é" /> |
| | | </view> |
| | | <view class="form-row"> |
| | | <text class="form-label required">éè´å</text> |
| | | <up-input v-model="editForm.purchaser" placeholder="请è¾å
¥éè´å" /> |
| | | </view> |
| | | </scroll-view> |
| | | <view class="popup-footer"> |
| | | <view class="btn-cancel" @click="showEditModal = false">åæ¶</view> |
| | | <view class="btn-ok" @click="handleEditSubmit">确认</view> |
| | | </view> |
| | | </view> |
| | | </up-popup> |
| | | </view> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { reactive, ref, toRefs } from "vue"; |
| | | import { computed, reactive, ref, toRefs } from "vue"; |
| | | import { onReachBottom, onShow } from "@dcloudio/uni-app"; |
| | | import PageHeader from "@/components/PageHeader.vue"; |
| | | import request from "@/utils/request"; |
| | | import { findAllQualifiedStockInRecordTypeOptions } from "@/api/basicData/enum.js"; |
| | | import { checkPermi } from "@/utils/permission"; |
| | | import { editStockInStock } from "@/api/consumablesLogistics/consumablesInRecord.js"; |
| | | |
| | | const hasCReceiptEdit = computed(() => checkPermi(['c_receipt_edit'])) |
| | | const hasCReceiptCancel = computed(() => checkPermi(['c_receipt_cancel'])) |
| | | |
| | | const stockRecordTypeOptions = ref([]); |
| | | const tableData = ref([]); |
| | |
| | | |
| | | const handleDeleteSingle = (item) => { |
| | | if (!item?.id) return; |
| | | if (!hasCReceiptCancel.value) return |
| | | uni.showModal({ |
| | | title: "å é¤", |
| | | content: "确认å é¤è¯¥æ¡å
¥åºè®°å½ï¼", |
| | |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | | // ---------------- ç¼è¾å
¥åº ---------------- |
| | | const showEditModal = ref(false) |
| | | const editForm = reactive({ |
| | | id: null, |
| | | qualitity: '', |
| | | purchaser: '' |
| | | }) |
| | | |
| | | const handleEdit = (row) => { |
| | | if (!hasCReceiptEdit.value) return |
| | | editForm.id = row?.id ?? null |
| | | editForm.qualitity = row?.qualitity ?? row?.stockInNum ?? '' |
| | | editForm.purchaser = row?.purchaser ?? '' |
| | | showEditModal.value = true |
| | | } |
| | | |
| | | const handleEditSubmit = () => { |
| | | if (!hasCReceiptEdit.value) return |
| | | const q = Number(editForm.qualitity) |
| | | if (!Number.isFinite(q) || q <= 0) { |
| | | uni.showToast({ title: "请è¾å
¥æ£ç¡®æ°é", icon: "none" }) |
| | | return |
| | | } |
| | | if (!editForm.purchaser) { |
| | | uni.showToast({ title: "请è¾å
¥éè´å", icon: "none" }) |
| | | return |
| | | } |
| | | |
| | | uni.showLoading({ title: "ä¿åä¸...", mask: true }) |
| | | editStockInStock({ |
| | | id: editForm.id, |
| | | qualitity: q, |
| | | purchaser: editForm.purchaser |
| | | }) |
| | | .then(() => { |
| | | uni.showToast({ title: "ç¼è¾æå", icon: "success" }) |
| | | showEditModal.value = false |
| | | getList() |
| | | }) |
| | | .catch(() => { |
| | | uni.showToast({ title: "ç¼è¾å¤±è´¥", icon: "none" }) |
| | | }) |
| | | .finally(() => { |
| | | uni.hideLoading() |
| | | }) |
| | | } |
| | | |
| | | const goBack = () => uni.navigateBack(); |
| | | |
| | |
| | | margin-top: 16rpx; |
| | | padding-top: 16rpx; |
| | | border-top: 1rpx solid #eee; |
| | | width: 100%; |
| | | text-align: center; |
| | | } |
| | | .btn-edit { |
| | | color: #2979ff; |
| | | font-size: 28rpx; |
| | | padding: 12rpx 32rpx; |
| | | border-radius: 999rpx; |
| | | border: 1rpx solid rgba(41, 121, 255, 0.25); |
| | | background: rgba(41, 121, 255, 0.06); |
| | | margin: 0 auto; |
| | | display: inline-flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | .btn-delete { |
| | | color: #f56c6c; |
| | | font-size: 28rpx; |
| | | padding: 12rpx 36rpx; |
| | | padding: 12rpx 32rpx; |
| | | border-radius: 999rpx; |
| | | border: 1rpx solid rgba(245, 108, 108, 0.55); |
| | | background: rgba(245, 108, 108, 0.08); |
| | | margin: 0 auto; |
| | | display: inline-flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | |
| | | /* ç¼è¾å¼¹çªæ ·å¼ */ |
| | | .edit-popup { |
| | | background: #fff; |
| | | border-radius: 24rpx 24rpx 0 0; |
| | | padding-bottom: env(safe-area-inset-bottom); |
| | | } |
| | | .popup-header { |
| | | padding: 24rpx; |
| | | border-bottom: 1rpx solid #eee; |
| | | text-align: center; |
| | | } |
| | | .popup-title { |
| | | font-size: 30rpx; |
| | | font-weight: 500; |
| | | color: #333; |
| | | } |
| | | .popup-body { |
| | | padding: 24rpx 24rpx 0; |
| | | max-height: 60vh; |
| | | } |
| | | .form-row { |
| | | margin-bottom: 24rpx; |
| | | } |
| | | .form-label { |
| | | display: block; |
| | | font-size: 26rpx; |
| | | color: #666; |
| | | margin-bottom: 12rpx; |
| | | } |
| | | .form-label.required:before { |
| | | content: '*'; |
| | | color: #f56c6c; |
| | | margin-right: 6rpx; |
| | | } |
| | | .popup-footer { |
| | | display: flex; |
| | | gap: 24rpx; |
| | | padding: 16rpx 24rpx calc(16rpx + env(safe-area-inset-bottom)); |
| | | border-top: 1rpx solid #eee; |
| | | } |
| | | .btn-cancel, |
| | | .btn-ok { |
| | | flex: 1; |
| | | height: 88rpx; |
| | | border-radius: 999rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 30rpx; |
| | | } |
| | | .btn-cancel { |
| | | background: #f0f0f0; |
| | | color: #666; |
| | | } |
| | | .btn-ok { |
| | | background: #2979ff; |
| | | color: #fff; |
| | | } |
| | | .no-data { text-align: center; padding: 60rpx 0; color: #999; font-size: 28rpx; } |
| | | .load-more-wrap { padding: 24rpx 24rpx 8rpx; } |
| | |
| | | </view> |
| | | <view class="detail-row detail-row-highlight"> |
| | | <text class="label">å
¥åºæ°é</text> |
| | | <text class="value value-num">{{ detail.stockInNum ?? '-' }}</text> |
| | | <text class="value value-num">{{ detail.qualitity ?? detail.stockInNum ?? '-' }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="label">å
¥åºäºº</text> |
| | |
| | | model: d.model, |
| | | unit: d.unit, |
| | | stockInNum: d.stockInNum, |
| | | qualitity: d.qualitity, |
| | | createBy: d.createBy, |
| | | recordType: d.recordType, |
| | | purchaser: d.purchaser, |