| src/pages/procurementManagement/procurementLedger/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/pages/sales/salesAccount/detail.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/pages/sales/salesAccount/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/pages/procurementManagement/procurementLedger/index.vue
@@ -77,17 +77,13 @@ </view> </view> <!-- 仅非“审批通过”的台账展示删除按钮 --> <view class="detail-row" <view class="detail-row" v-if="item.approvalStatus !== 3" style="justify-content: flex-end; margin-top: 8px;" > <up-button type="error" style="justify-content: flex-end; margin-top: 8px;"> <up-button type="error" size="small" plain @click.stop="handleDelete(item)" > @click.stop="handleDelete(item)"> 删除 </up-button> </view> @@ -114,7 +110,10 @@ import { onShow } from "@dcloudio/uni-app"; import useUserStore from "@/store/modules/user"; import PageHeader from "@/components/PageHeader.vue"; import { purchaseListPage, delPurchase } from "@/api/procurementManagement/procurementLedger"; import { purchaseListPage, delPurchase, } from "@/api/procurementManagement/procurementLedger"; const userStore = useUserStore(); const approvalStatusText = { 1: "待审核", @@ -180,6 +179,7 @@ try { // 设置操作类型 uni.setStorageSync("operationType", type); uni.removeStorageSync("editData"); // 如果是查看或编辑操作 if (type !== "add") { @@ -265,7 +265,10 @@ // 只有在真正异常时,才在这里兜底提示 const msg = (error && error.msg) || (error && error.response && error.response.data && error.response.data.msg) || (error && error.response && error.response.data && error.response.data.msg) || (error && error.message) || "删除失败"; uni.showToast({ src/pages/sales/salesAccount/detail.vue
@@ -184,7 +184,7 @@ @click="openCategoryPicker(idx)" /> <template #right> <up-icon name="arrow-right" @click="showCategoryPicker = true"></up-icon> @click="openCategoryPicker(idx)"></up-icon> </template> </up-form-item> <!-- 规格型号 --> @@ -197,7 +197,7 @@ @click="openSpecificationPicker(idx)" /> <template #right> <up-icon name="arrow-right" @click="showSpecificationPicker = true"></up-icon> @click="openSpecificationPicker(idx)"></up-icon> </template> </up-form-item> <!-- 绑定机器 --> @@ -229,7 +229,7 @@ @click="openTaxRatePicker(idx)" /> <template #right> <up-icon name="arrow-right" @click="showTaxRatePicker = true"></up-icon> @click="openTaxRatePicker(idx)"></up-icon> </template> </up-form-item> <!-- 含税单价 --> @@ -278,7 +278,7 @@ @click="openInvoiceTypePicker(idx)" /> <template #right> <up-icon name="arrow-right" @click="showInvoiceTypePicker = true"></up-icon> @click="openInvoiceTypePicker(idx)"></up-icon> </template> </up-form-item> </view> src/pages/sales/salesAccount/index.vue
@@ -152,9 +152,7 @@ const statusStr = (p.shippingStatus ?? "").toString(); // 包含“发货”或有发货日期/车牌号视为已发货 return ( statusStr.includes("发货") || !!p.shippingDate || !!p.shippingCarNumber statusStr.includes("发货") || !!p.shippingDate || !!p.shippingCarNumber ); }); }; @@ -240,6 +238,7 @@ try { // 设置操作类型 uni.setStorageSync("operationType", type); uni.removeStorageSync("editData"); // 如果是查看或编辑操作 if (type !== "add") {