diff --git a/api/packageElectron/packageElectron.js b/api/packageElectron/packageElectron.js
new file mode 100644
index 0000000..0e69b48
--- /dev/null
+++ b/api/packageElectron/packageElectron.js
@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+export default{
+ getByPage(data) {
+ return request({
+ url: `/oil-finance/xoilSiteElectronicStatement/getByPage`,
+ method: 'post',
+ data
+ })
+ },
+ update(data) {
+ return request({
+ url: `/oil-finance/xoilSiteElectronicStatement/update`,
+ method: 'PUT',
+ data
+ })
+ }
+}
\ No newline at end of file
diff --git a/api/packageIntegral/productList.js b/api/packageIntegral/productList.js
new file mode 100644
index 0000000..6077a23
--- /dev/null
+++ b/api/packageIntegral/productList.js
@@ -0,0 +1,76 @@
+import request from '@/utils/request'
+
+export default{
+ productByPage(data) { // 商品分页查询
+ return request({
+ url: `/oil-mall/mobile/productByPage`,
+ method: 'post',
+ data
+ })
+ },
+ getTopInfo() { // 获取头部信息
+ return request({
+ url: `/oil-mall/mobile/getTopInfo`,
+ method: 'get',
+ })
+ },
+ productStatus(data) { // 上下架接口
+ return request({
+ url: `/oil-mall/mobile/productStatus`,
+ method: 'post',
+ data
+ })
+ },
+ productAuditHistory(data) { // 审核信息接口
+ return request({
+ url: `/oil-mall/mobile/productAuditHistory`,
+ method: 'post',
+ data
+ })
+ },
+ classification() { // 商品分类-树形接口
+ return request({
+ url: `/oil-mall/mobile/classification`,
+ method: 'get',
+ })
+ },
+ getProductBrands() { // 品牌信息接口
+ return request({
+ url: `/oil-mall/mobile/getProductBrands`,
+ method: 'get',
+ })
+ },
+ getAttributesType() { // 属性类型接口
+ return request({
+ url: `/oil-mall/mobile/getAttributesType`,
+ method: 'get',
+ })
+ },
+ getEdit(id) { // 根据id查询商品数据接口
+ return request({
+ url: `/oil-mall/mallProductInfo/getEdit/${id}`,
+ method: 'get'
+ })
+ },
+ saveProduct(data) { // 新增商品接口
+ return request({
+ url: `/oil-mall/mobile/saveProduct`,
+ method: 'post',
+ data
+ })
+ },
+ updateProduct(data) { // 编辑更新商品数据接口
+ return request({
+ url: `/oil-mall/mobile/updateProduct`,
+ method: 'post',
+ data
+ })
+ },
+ deleteProductById(data) { // 删除商品接口
+ return request({
+ url: `/oil-mall/mobile/deleteProductById`,
+ method: 'post',
+ data
+ })
+ },
+}
\ No newline at end of file
diff --git a/components/my-sign/index.js b/components/my-sign/index.js
new file mode 100644
index 0000000..ab58258
--- /dev/null
+++ b/components/my-sign/index.js
@@ -0,0 +1,16 @@
+/**
+ * 判断是否未数值
+ * @param {Object} val
+ */
+export function isNumber(val) {
+ return !isNaN(Number(val))
+}
+
+/**
+ * 处理大小单位
+ * @param {Object} val
+ */
+export function formatSize(val, unit = 'rpx') {
+ return isNumber(val) ? `${val}${unit}` : val
+}
+
diff --git a/components/my-sign/my-sign.vue b/components/my-sign/my-sign.vue
new file mode 100644
index 0000000..352095a
--- /dev/null
+++ b/components/my-sign/my-sign.vue
@@ -0,0 +1,320 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/packageElectron/components/autograph.vue b/packageElectron/components/autograph.vue
new file mode 100644
index 0000000..39d4cc0
--- /dev/null
+++ b/packageElectron/components/autograph.vue
@@ -0,0 +1,192 @@
+
+
+
+ 请在空白处签字
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packageElectron/index.vue b/packageElectron/index.vue
new file mode 100644
index 0000000..3803aac
--- /dev/null
+++ b/packageElectron/index.vue
@@ -0,0 +1,262 @@
+
+
+
+ 返回
+ 电子对账单
+
+
+
+ {{item.text}}
+
+
+
+
+
+
+ {{item.id}}
+
+ 结算周期:
+ {{item.beginReconciliationTime}}至 {{item.endReconciliationTime}}
+
+ 结算金额:{{item.statementAmount}}元
+ 推送时间:{{item.reviewTime?item.reviewTime:'暂无'}}
+
+
+
+
+
+
+
+ 暂无对账单~
+
+
+
+
+
+
+
+
diff --git a/packageElectron/reconciliationDetails/index.vue b/packageElectron/reconciliationDetails/index.vue
new file mode 100644
index 0000000..a5da1c8
--- /dev/null
+++ b/packageElectron/reconciliationDetails/index.vue
@@ -0,0 +1,198 @@
+
+
+
+ 返回
+ 对账单详情
+
+
+
+ 结算周期:
+ {{detailsData.beginReconciliationTime}}至 {{detailsData.endReconciliationTime}}
+
+
+ 上期结转金额:{{detailsData.lastBalance}}
+
+
+ 打款金额:{{detailsData.amount}}
+
+
+ 消耗体积:{{detailsData.volume}}
+
+
+ 结算金额:{{detailsData.statementAmount}}
+
+
+ 余额:{{detailsData.balance}}
+
+
+ 充值应返返利金额:{{detailsData.rechargeRebateAmount?detailsData.rechargeRebateAmount:0}}
+
+
+ 充值已返返利金额:{{detailsData.realRechargeRebateAmount?detailsData.realRechargeRebateAmount:0}}
+
+
+ 消费应返返利金额:{{detailsData.consumeRebateAmount?detailsData.consumeRebateAmount:0}}
+
+
+ 消费已返返利金额:{{detailsData.realConsumeRebateAmount?detailsData.realConsumeRebateAmount:0}}
+
+
+ 备注:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packageIntegral/components/mulpicker.vue b/packageIntegral/components/mulpicker.vue
index eb1b465..b180403 100644
--- a/packageIntegral/components/mulpicker.vue
+++ b/packageIntegral/components/mulpicker.vue
@@ -19,7 +19,7 @@
pidkey: { default: 'pid' }, // 对应父id取值
placeholder: { default: '请选择' },
emitPath: { default: false, type: Boolean }, // 是否子父级关联 ,是的时候返回的是逗号分隔的父子code
- level: { default: 3, type: Number } // 列数 2或者3
+ level: { default: 2, type: Number } // 列数 2或者3
},
data() {
return {
@@ -30,21 +30,20 @@
},
methods: {
handleColumnChange(e) {
-
let columnindex = e.detail.value; // 拖动列索引
switch (e.detail.column) {
case 0: //拖动第1列
-
+
// 第二级
let arr1 = this.multiArray[0];
this.multiArray[1] = arr1[columnindex][this.childkey]||[];
-
+
if(this.level === 3) {
// 第三级
let arr2 = this.multiArray[1];
this.multiArray[2] = arr2[0][this.childkey]||[];
}
-
+
this.multiIndex.splice(0, 1, columnindex)
this.multiIndex.splice(1, 1, 0)
this.multiIndex.splice(2, 1, 0)
@@ -55,14 +54,14 @@
let arr3 = this.multiArray[1];
this.multiArray[2] = arr3[columnindex][this.childkey]||[];
}
-
+
this.multiIndex.splice(1, 1, columnindex)
this.multiIndex.splice(2, 1, 0)
break
}
-
+
},
- //
+ //
pickerChange(e) {
let multiIndex = e.detail.value;
if(this.emitPath) {
@@ -75,21 +74,19 @@
}
let code = codeArr.join(',');
this.name = nameArr.join('/');
- console.log('code1',code);
this.$emit('input', code)
}else {
-
+
let curArr = this.multiArray[2], code='';
if(curArr && curArr.length) {
code = curArr[multiIndex[2]][this.code];
this.name = curArr[multiIndex[2]][this.rangekey];
- }else {
+ }else {
curArr = this.multiArray[1]
code = curArr[multiIndex[1]][this.code];
this.name = curArr[multiIndex[1]][this.rangekey];
}
-
- console.log('code2',code);
+
this.$emit('input', code)
}
},
@@ -104,7 +101,7 @@
// 第三级
let arr2 = this.multiArray[1];
this.multiArray.push(arr2[this.multiIndex[1]][this.childkey]||[]);
-
+
}
},
curDataFind (data, code) {
@@ -151,16 +148,17 @@
list: {
immediate: true,
handler(val) {
- console.log(val)
- this.dataInit();
- this.initName();
+ if(JSON.stringify(val) != '[]'){
+ this.dataInit();
+ this.initName();
+ }
+
}
},
value: {
// immediate: true,
handler(val) {
- console.log(val)
- this.initName();
+ this.initName();
}
},
}
@@ -168,5 +166,5 @@
\ No newline at end of file
+
+
diff --git a/packageIntegral/productAddition/index.vue b/packageIntegral/productAddition/index.vue
index 04a0c16..dc32b42 100644
--- a/packageIntegral/productAddition/index.vue
+++ b/packageIntegral/productAddition/index.vue
@@ -4,62 +4,147 @@
返回
新增商品
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
取消
- 下一步
+ 下一步
-
-
-
-
-
- 上一步
- 完成
+
+
+
+
+
+
+
+
+ 商品规格:
+
+
+
+ {{item.attributeName}}:
+
+
+
+
+
+
+
+
+
+ 批量填充:批量填充填入信息后,可以批量将内容填写到SKU 信息里
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定
+
+
+
+
+ *
+ 规格:
+
+ {{value}}
+ + {{value}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 删除
+
+
+
+ *
+ 商品图片:
+ 最多可上传10张图片
+
+
+
+
+ 商品主图
+
+
+
+
+ 设为主图
+
+
+
+
+
+
+
+
+
+
+
+
+ 上一步
+ 完成
+
-
-
+
@@ -67,215 +152,752 @@
diff --git a/packageIntegral/productAddition/productAddStep2.vue b/packageIntegral/productAddition/productAddStep2.vue
deleted file mode 100644
index fa962aa..0000000
--- a/packageIntegral/productAddition/productAddStep2.vue
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
- 属性类型:
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/packageIntegral/productList/index.vue b/packageIntegral/productList/index.vue
index 54e62db..286d7ac 100644
--- a/packageIntegral/productList/index.vue
+++ b/packageIntegral/productList/index.vue
@@ -9,29 +9,31 @@
{{item.text}}({{item.count}})
-
-
+
+
-
-
+
- {{item.status}}
+ {{statusEnum[item.auditStatus].value}}
- {{item.dateil}}
+ {{item.remark}}
@@ -70,17 +72,17 @@
是否删除该商品?
取消
- 确认
+ 确认
- 是否上架/下架该商品?
+ 是否{{productData.productStatus =='1'?'下架':'上架'}}该商品?
取消
- 确认
+ 确认
@@ -89,7 +91,7 @@
+
+
\ No newline at end of file
diff --git a/packageIntegral/takeGoods/index.vue b/packageIntegral/takeGoods/index.vue
index 1fd931f..aa977b6 100644
--- a/packageIntegral/takeGoods/index.vue
+++ b/packageIntegral/takeGoods/index.vue
@@ -132,7 +132,7 @@
icon: 'none'
});
this.$refs.popup.close();
- this;getByPageCloudMini()
+ this.getByPageCloudMini()
uni.navigateTo({
url: `../orderDetails/index?orderId=${this.dataList[0].orderId}`
})
diff --git a/pages.json b/pages.json
index cf9ca96..462adcb 100644
--- a/pages.json
+++ b/pages.json
@@ -91,20 +91,44 @@
"pages": [{
"path": "takeGoods/index",
"style": {}
- },{
+ }, {
"path": "orderDetails/index",
"style": {}
- },{
+ }, {
"path": "orderList/index",
"style": {}
- },{
+ }, {
"path": "productList/index",
"style": {}
- },{
+ }, {
"path": "productAddition/index",
"style": {}
+ }, {
+ "path": "productUpdate/index",
+ "style": {}
}]
},
+ {
+ "root": "packageElectron",
+ "pages": [{
+ "path": "index",
+ "style": {}
+ },
+ {
+ "path": "reconciliationDetails/index",
+ "style": {}
+ }, {
+ "path": "components/autograph",
+ "style": {
+ "navigationBarTitleText": "签字",
+ "enablePullDownRefresh": false,
+ "pageOrientation": "landscape",
+ "backgroundColor": "#f8f8f8",
+ "navigationStyle": "custom"
+ }
+ }
+ ]
+ },
{
"root": "packageOrders",
"pages": [{
@@ -281,4 +305,4 @@
}
-}
+}
\ No newline at end of file
diff --git a/pages/home/home.vue b/pages/home/home.vue
index fd18300..0d0bd4c 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -445,6 +445,12 @@
obj.color = 'blue',
obj.badge = 0
obj.name = list.roleName
+ }else if (list.roleName == '电子对账单') {
+ obj.cuIcon = 'punch',
+ obj.path = '/packageElectron/index',
+ obj.color = 'blue',
+ obj.badge = 0
+ obj.name = list.roleName
}
return obj
},
diff --git a/pages/stationDetail/ZYSite.vue b/pages/stationDetail/ZYSite.vue
index 37817fa..639c31c 100644
--- a/pages/stationDetail/ZYSite.vue
+++ b/pages/stationDetail/ZYSite.vue
@@ -727,7 +727,7 @@
filePath: res.tempFilePaths[0],
formData: {
ossKey: 'xingyou',
- pathKey: 'publicxingyou ',
+ pathKey: 'publicxingyou',
encrypt: 'PUBLIC',
},
name: 'file',
diff --git a/uni_modules/uni-data-select/changelog.md b/uni_modules/uni-data-select/changelog.md
new file mode 100644
index 0000000..639b459
--- /dev/null
+++ b/uni_modules/uni-data-select/changelog.md
@@ -0,0 +1,37 @@
+## 1.0.7(2024-01-20)
+- 修复 长文本回显超过容器的bug,超过容器部分显示省略号
+## 1.0.6(2023-04-12)
+- 修复 微信小程序点击时会改变背景颜色的 bug
+## 1.0.5(2023-02-03)
+- 修复 禁用时会显示清空按钮
+## 1.0.4(2023-02-02)
+- 优化 查询条件短期内多次变更只查询最后一次变更后的结果
+- 调整 内部缓存键名调整为 uni-data-select-lastSelectedValue
+## 1.0.3(2023-01-16)
+- 修复 不关联服务空间报错的问题
+## 1.0.2(2023-01-14)
+- 新增 属性 `format` 可用于格式化显示选项内容
+## 1.0.1(2022-12-06)
+- 修复 当where变化时,数据不会自动更新的问题
+## 0.1.9(2022-09-05)
+- 修复 微信小程序下拉框出现后选择会点击到蒙板后面的输入框
+## 0.1.8(2022-08-29)
+- 修复 点击的位置不准确
+## 0.1.7(2022-08-12)
+- 新增 支持 disabled 属性
+## 0.1.6(2022-07-06)
+- 修复 pc端宽度异常的bug
+## 0.1.5
+- 修复 pc端宽度异常的bug
+## 0.1.4(2022-07-05)
+- 优化 显示样式
+## 0.1.3(2022-06-02)
+- 修复 localdata 赋值不生效的 bug
+- 新增 支持 uni.scss 修改颜色
+- 新增 支持选项禁用(数据选项设置 disabled: true 即禁用)
+## 0.1.2(2022-05-08)
+- 修复 当 value 为 0 时选择不生效的 bug
+## 0.1.1(2022-05-07)
+- 新增 记住上次的选项(仅 collection 存在时有效)
+## 0.1.0(2022-04-22)
+- 初始化
diff --git a/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
new file mode 100644
index 0000000..26a6fe9
--- /dev/null
+++ b/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue
@@ -0,0 +1,527 @@
+
+
+ {{label + ':'}}
+
+
+
+ {{textShow}}
+ {{typePlaceholder}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{emptyTips}}
+
+
+ {{formatItemName(item)}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-data-select/package.json b/uni_modules/uni-data-select/package.json
new file mode 100644
index 0000000..47afe60
--- /dev/null
+++ b/uni_modules/uni-data-select/package.json
@@ -0,0 +1,85 @@
+{
+ "id": "uni-data-select",
+ "displayName": "uni-data-select 下拉框选择器",
+ "version": "1.0.7",
+ "description": "通过数据驱动的下拉框选择器",
+ "keywords": [
+ "uni-ui",
+ "select",
+ "uni-data-select",
+ "下拉框",
+ "下拉选"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": "^3.1.1"
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+"dcloudext": {
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui",
+ "type": "component-vue"
+ },
+ "uni_modules": {
+ "dependencies": ["uni-load-more"],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "u",
+ "app-nvue": "n"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "u",
+ "百度": "u",
+ "字节跳动": "u",
+ "QQ": "u",
+ "京东": "u"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-data-select/readme.md b/uni_modules/uni-data-select/readme.md
new file mode 100644
index 0000000..eb58de3
--- /dev/null
+++ b/uni_modules/uni-data-select/readme.md
@@ -0,0 +1,8 @@
+## DataSelect 下拉框选择器
+> **组件名:uni-data-select**
+> 代码块: `uDataSelect`
+
+当选项过多时,使用下拉菜单展示并选择内容
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-data-select)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839