From 10848775bccf83fba759fc72498849e0bef9f024 Mon Sep 17 00:00:00 2001
From: admin <>
Date: Sat, 20 Apr 2024 15:56:08 +0800
Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0=E6=94=AF=E4=BB=98?=
=?UTF-8?q?=E6=98=8E=E7=BB=86=20=E6=94=B6=E5=85=A5=E6=98=8E=E7=BB=86=20?=
=?UTF-8?q?=E4=BB=A5=E5=8F=8A=E6=89=80=E6=9C=89=E7=A6=81=E7=94=A8=E9=A2=9C?=
=?UTF-8?q?=E8=89=B2=E8=AE=BE=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/PagesStatistics/customerRanking.vue | 4 +-
src/PagesStatistics/receivePanel.vue | 4 +-
src/PagesStatistics/shipmentPanel.vue | 4 +-
src/PagesStatistics/supplierRanking.vue | 4 +-
src/pagesApp/components/FilterDialog.vue | 121 +++++++++++--
src/pagesApp/components/ProductDialog.vue | 165 ++++++++++++++++++
src/pagesApp/components/addCustomer.vue | 2 +-
src/pagesApp/components/addIncomeDetail.vue | 74 ++++----
src/pagesApp/components/addPayment.vue | 114 ++++++++----
src/pagesApp/components/addReceiveProduct.vue | 129 +++++++++++---
.../components/addShipmentProduct.vue | 16 +-
src/pagesApp/components/addShipmentType.vue | 42 ++++-
src/pagesApp/components/addStockCard.vue | 2 +-
src/pagesApp/components/addSupplier.vue | 2 +-
src/pagesApp/components/addUser.vue | 2 +-
src/pagesApp/receiveDetail.vue | 20 ++-
src/pagesApp/receiveProduct.vue | 22 ++-
src/pagesApp/receiveSpl.vue | 165 ++++++++++++++++--
src/pagesApp/receiveType.vue | 25 ++-
src/pagesApp/shipmentDetail.vue | 8 +-
src/pagesApp/shipmentProduct.vue | 26 ++-
src/pagesApp/shipmentSpl.vue | 126 ++++++++++---
src/pagesApp/shipmentType.vue | 138 +++++++++------
src/pagesReceive/form/pricingForm.vue | 70 +++++---
src/pagesReceive/review/index.vue | 21 ++-
src/pagesShipment/form/settlementForm.vue | 9 +-
src/pagesShipment/form/shipmentForm.vue | 21 +--
src/pagesShipment/review/index.vue | 2 +-
src/services/goods.ts | 10 +-
src/static/style/common.scss | 3 +
30 files changed, 1068 insertions(+), 283 deletions(-)
create mode 100644 src/pagesApp/components/ProductDialog.vue
diff --git a/src/PagesStatistics/customerRanking.vue b/src/PagesStatistics/customerRanking.vue
index e0202a3..eb76509 100644
--- a/src/PagesStatistics/customerRanking.vue
+++ b/src/PagesStatistics/customerRanking.vue
@@ -4,14 +4,14 @@
-
-
-
-
{handleInput(e, {key: 'minPrice', name: '最低价'})}"
>
-
@@ -64,6 +65,7 @@
type="number"
size="small"
v-model="state.maxPrice"
+ @change="(e:any) => {handleInput(e, {key: 'maxPrice', name: '最高价'})}"
>
@@ -144,13 +146,89 @@
>
+
+
+ {handleDialog('showSupplier', v)}"
+ @changeUser="changeUser"
+ :isShipment="isShipment"
+ >
+
+ {handleDialog('showProduct', v)}"
+ @changeProduct="changeProduct"
+ ref="productRef"
+ :isShipment="isShipment"
+ >
diff --git a/src/pagesApp/components/ProductDialog.vue b/src/pagesApp/components/ProductDialog.vue
new file mode 100644
index 0000000..b0fa90a
--- /dev/null
+++ b/src/pagesApp/components/ProductDialog.vue
@@ -0,0 +1,165 @@
+
+
+
+ {{ isShipment ? "出货" : "收货" }}产品
+
+
+ {{ item.shmCategoryName }}
+
+ {{ cItem.shmCategoryName }}
+
+
+
+ {{ child.shmProductsName }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ isShipment ? item.shmProductsName : item.reProductsName }}
+
+
+
+
+
+
diff --git a/src/pagesApp/components/addCustomer.vue b/src/pagesApp/components/addCustomer.vue
index 269822d..9623e29 100644
--- a/src/pagesApp/components/addCustomer.vue
+++ b/src/pagesApp/components/addCustomer.vue
@@ -32,7 +32,7 @@
:customStyle="{}"
border="none"
:disabled="item.type === 'select'"
- disabledColor="#ffffff"
+ :disabledColor="['卡号'].indexOf(item.name) > -1?'#ffffff':'#f5f7fa'"
>
diff --git a/src/pagesApp/components/addIncomeDetail.vue b/src/pagesApp/components/addIncomeDetail.vue
index 7c98c98..2eaaa70 100644
--- a/src/pagesApp/components/addIncomeDetail.vue
+++ b/src/pagesApp/components/addIncomeDetail.vue
@@ -31,7 +31,8 @@
:clearable="true"
:customStyle="{}"
border="none"
- :disabled="item.disabled"
+ :disabled="item.disabled || item.type === 'select'"
+ :disabledColor="['客户','结算时间', '结算方式'].indexOf(item.name) > -1?'#ffffff':'#f5f7fa'"
>
@@ -73,10 +74,7 @@
@confirm="(v: any) => {handleTime(v)}"
@cancel="contrlModalParams.isShowSplTime = false"
>
-
+
+
+ {handleDialog('showSupplier', v)}"
+ @changeUser="changeUser"
+ :isShipment="true"
+ >
diff --git a/src/pagesApp/components/addShipmentProduct.vue b/src/pagesApp/components/addShipmentProduct.vue
index c5dcd41..69918a9 100644
--- a/src/pagesApp/components/addShipmentProduct.vue
+++ b/src/pagesApp/components/addShipmentProduct.vue
@@ -10,7 +10,7 @@
:errorType="'border-bottom'"
>
@@ -227,17 +229,19 @@ onMounted(() => {
onLoad((option) => {
// 接收传递的标题参数
const title = (option as any).title;
- model1.formData = JSON.parse((option as any).item) || {};
- if (option) {
- if (model1.formData.shmCategoryName) {
- model1.formData.reCategoryName = model1.formData.shmCategoryName;
+ if ((option as any).item) {
+ model1.formData = JSON.parse((option as any).item) || {};
+ if (option) {
+ if (model1.formData.shmCategoryName) {
+ model1.formData.reCategoryName = model1.formData.shmCategoryName;
+ }
}
}
// 设置页面标题
if (title) {
uni.setNavigationBarTitle({
- title: title,
+ title: title || "新增出货产品",
});
}
});
diff --git a/src/pagesApp/components/addShipmentType.vue b/src/pagesApp/components/addShipmentType.vue
index 346831e..f0d0690 100644
--- a/src/pagesApp/components/addShipmentType.vue
+++ b/src/pagesApp/components/addShipmentType.vue
@@ -31,6 +31,8 @@
:clearable="true"
:customStyle="{}"
border="none"
+ :disabled="item.type === 'select'"
+ :disabledColor="['上级菜单'].indexOf(item.name) > -1?'#ffffff':'#f5f7fa'"
>
@@ -61,8 +63,6 @@