添加商品
@@ -214,6 +214,16 @@
+
+
+
+
+
+
+
+
+
+
@@ -287,7 +297,9 @@ const formData = ref({
system_store: '',
pay_type: '',
supplier_id: '',
- financial_pm: ''
+ financial_pm: '',
+ manufacture: '',
+ expiration_date: ''
})
const updateInfo = ref({})
const goodsOfferUpdate = () => {
@@ -320,7 +332,6 @@ const goodsOfferUpdate = () => {
id: queryParams.oid,
product_arr: product_arr
}).then((res) => {
- console.log(res)
dialogShop.value = false
getLists()
})
@@ -376,6 +387,8 @@ const handleDeleteProdut = (id: number) => {
const onBindProduct = (e: any[]) => {
e.forEach((item: any) => {
if (!productList.value.find((t: any) => t.id == item.id)) {
+ item.manufacture = ''
+ item.expiration_date = ''
productList.value.push(item)
}
})
diff --git a/src/views/warehouse_order/editProduct.vue b/src/views/warehouse_order/editProduct.vue
index 547a7bad2..2703491fd 100644
--- a/src/views/warehouse_order/editProduct.vue
+++ b/src/views/warehouse_order/editProduct.vue
@@ -67,6 +67,12 @@
:readonly="false"
/>
+
+
+
+
+
+
赊账
@@ -114,7 +120,9 @@ const formData = reactive({
pay_type: '',
purchase: '',
financial_pm: '',
- price: ''
+ price: '',
+ manufacture: '',
+ expiration_date: ''
})
// 表单验证