From a7908eb0da4ca02ae7a7cc917f074fed429c5142 Mon Sep 17 00:00:00 2001
From: lewis <604446095@qq.com>
Date: Fri, 27 Dec 2024 11:04:19 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=95=86=E5=93=81=E6=89=B9?=
=?UTF-8?q?=E6=AC=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pageQuota/purchase_product_offer/index.vue | 43 +++++++++++++++++-----
1 file changed, 34 insertions(+), 9 deletions(-)
diff --git a/pageQuota/purchase_product_offer/index.vue b/pageQuota/purchase_product_offer/index.vue
index 64bb03f..7aa35fb 100644
--- a/pageQuota/purchase_product_offer/index.vue
+++ b/pageQuota/purchase_product_offer/index.vue
@@ -57,6 +57,9 @@
+
+
+
{{formData.unit_name}}
@@ -86,6 +89,12 @@
+
+
+
+
+
+
{
+ if (formData.value.manufacture != '' && formData.value.manufacture.toString().length >= 13) {
+ formData.value.manufacture = formData.value.manufacture / 1000
+ }
+ if (formData.value.expiration_date != '' && formData.value.expiration_date.toString().length >= 13) {
+ formData.value.expiration_date = formData.value.expiration_date / 1000
+ }
purchaseProductOfferUpdate(formData.value).then(res => {
uni.$u.toast(res.msg);
show.value = false
@@ -227,6 +246,12 @@
formData.value.total_price = (formData.value.buyer_nums * formData.value.purchase).toFixed(2)
}
}
+ const changeManufacture = (e) => {
+ formData.value.manufacture = e.value
+ }
+ const changeExpirationDate = (e) => {
+ formData.value.expiration_date = e.value
+ }
const sectionChange = (index) => {
where.value.buyer_confirm = index
goodsList1.value = []