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 = []