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 @@