tableField140;
+
+
+}
diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VoucherExcelVO222.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VoucherExcelVO222.java
new file mode 100644
index 00000000..7025925d
--- /dev/null
+++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VoucherExcelVO222.java
@@ -0,0 +1,27 @@
+package jnpf.model.voucher;
+
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import com.alibaba.fastjson.annotation.JSONField;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import lombok.Data;
+
+import java.util.List;
+
+/**
+ *
+ * Voucher
+ * @版本: V3.5
+ * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com)
+ * @作者: JNPF开发平台组
+ * @日期: 2024-05-10
+ */
+@Data
+public class VoucherExcelVO222 {
+ /** 凭证类型 **/
+ @Excel(name = "凭证类型")
+ private String voucherType;
+ /** 单据类型 **/
+ @Excel(name = "单据类型")
+ private String documentType;
+}
diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VoucherproductExcelVO.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VoucherproductExcelVO.java
new file mode 100644
index 00000000..d2e4a30a
--- /dev/null
+++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VoucherproductExcelVO.java
@@ -0,0 +1,66 @@
+package jnpf.model.voucher;
+
+import lombok.Data;
+import java.sql.Time;
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.alibaba.fastjson.annotation.JSONField;
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
+import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
+import java.math.BigDecimal;
+import java.util.List;
+/**
+ *
+ * Voucher
+ * @版本: V3.5
+ * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com)
+ * @作者: JNPF开发平台组
+ * @日期: 2024-05-10
+ */
+@Data
+public class VoucherproductExcelVO{
+ /** 规格 **/
+ @JSONField(name = "spec")
+ @Excel(name = "规格",orderNum = "1", isImportField = "true" )
+ private String spec;
+
+ /** 单位 **/
+ @JSONField(name = "unit")
+ @Excel(name = "单位",orderNum = "1", isImportField = "true" )
+ private String unit;
+
+ /** 毛重 **/
+ @JSONField(name = "grossWeight")
+ @Excel(name = "毛重",orderNum = "1", isImportField = "true" )
+ private String grossWeight;
+
+ /** 皮重 **/
+ @JSONField(name = "tareWeight")
+ @Excel(name = "皮重",orderNum = "1", isImportField = "true" )
+ private String tareWeight;
+
+ /** 扣重 **/
+ @JSONField(name = "buckleWeight")
+ @Excel(name = "扣重",orderNum = "1", isImportField = "true" )
+ private String buckleWeight;
+
+ /** 净重 **/
+ @JSONField(name = "netWeight")
+ @Excel(name = "净重",orderNum = "1", isImportField = "true" )
+ private String netWeight;
+
+ /** 备注 **/
+ @JSONField(name = "remark")
+ @Excel(name = "备注",orderNum = "1", isImportField = "true" )
+ private String remark;
+
+ /** 打印时间 **/
+ @JSONField(name = "printTime")
+ @Excel(name = "打印时间",orderNum = "1", isImportField = "true" )
+ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+ private String printTime;
+
+
+}
diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VouchervehicleExcelVO.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VouchervehicleExcelVO.java
new file mode 100644
index 00000000..eaa51a3c
--- /dev/null
+++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/voucher/VouchervehicleExcelVO.java
@@ -0,0 +1,40 @@
+package jnpf.model.voucher;
+
+import lombok.Data;
+import java.sql.Time;
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.alibaba.fastjson.annotation.JSONField;
+import cn.afterturn.easypoi.excel.annotation.Excel;
+import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
+import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
+import java.math.BigDecimal;
+import java.util.List;
+/**
+ *
+ * Voucher
+ * @版本: V3.5
+ * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com)
+ * @作者: JNPF开发平台组
+ * @日期: 2024-05-10
+ */
+@Data
+public class VouchervehicleExcelVO{
+ /** 驾驶员名称 **/
+ @JSONField(name = "driverName")
+ @Excel(name = "驾驶员名称",orderNum = "1", isImportField = "true" )
+ private String driverName;
+
+ /** 联系电话 **/
+ @JSONField(name = "telephone")
+ @Excel(name = "联系电话",orderNum = "1", isImportField = "true" )
+ private String telephone;
+
+ /** 承运商 **/
+ @JSONField(name = "carrier")
+ @Excel(name = "承运商",orderNum = "1", isImportField = "true" )
+ private String carrier;
+
+
+}
diff --git a/jnpf-java-boot/jnpf-web/src/components/JNPFImport/index.vue b/jnpf-java-boot/jnpf-web/src/components/JNPFImport/index.vue
index 9cf527a1..4102cf65 100644
--- a/jnpf-java-boot/jnpf-web/src/components/JNPFImport/index.vue
+++ b/jnpf-java-boot/jnpf-web/src/components/JNPFImport/index.vue
@@ -16,8 +16,8 @@
文件后缀名必须是xls或xlsx,文件大小不超过500KB,最多支持导入1000条数据
+ :on-change="handleChange" :file-list="fileList" accept=".xls,.xlsx,.zip"
+ :before-upload="beforeUpload" class="upload-area" :data="uploadObjs">
上传文件
@@ -164,6 +164,10 @@ export default {
snum: 0,
fnum: 0
},
+ uploadObjs: {
+ businessType: '',
+ documentType: ''
+ },
modelId: "",
url: '',
actionUrl: '',
@@ -174,7 +178,13 @@ export default {
}
},
methods: {
- init(modelId, url, enableFlow, flowList) {
+ init(modelId, url, enableFlow, flowList, businessType, documentType) {
+ if(businessType && businessType != ''){
+ this.uploadObjs.businessType = businessType
+ }
+ if(documentType && documentType != ''){
+ this.uploadObjs.documentType = documentType
+ }
this.active = 1
this.fileList = []
this.fileName = ''
@@ -187,8 +197,8 @@ export default {
this.url = url ? url : `visualdev/OnlineDev/${this.modelId}`
},
beforeUpload(file) {
- let isRightSize = file.size / 1024 < 500
- if (!isRightSize) this.$message.error(`文件大小不能超过500KB`)
+ let isRightSize = file.size / 1024 / 1024 < 100
+ if (!isRightSize) this.$message.error(`文件大小不能超过100MB`)
return isRightSize
},
handleRemove(file, fileList) {
@@ -331,4 +341,4 @@ export default {
.import-main-overflow {
overflow: unset;
}
-
\ No newline at end of file
+
diff --git a/jnpf-java-boot/jnpf-web/src/views/extend/cwaccount/Warehousingstorageoutbound.vue b/jnpf-java-boot/jnpf-web/src/views/extend/cwaccount/Warehousingstorageoutbound.vue
index 625c89e6..5d3b3c8f 100644
--- a/jnpf-java-boot/jnpf-web/src/views/extend/cwaccount/Warehousingstorageoutbound.vue
+++ b/jnpf-java-boot/jnpf-web/src/views/extend/cwaccount/Warehousingstorageoutbound.vue
@@ -26,7 +26,7 @@
-
+
diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/purchaseCenter/receiptVoucher/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/purchaseCenter/receiptVoucher/index.vue
index 3c4fa7c7..004032c3 100644
--- a/jnpf-java-boot/jnpf-web/src/views/scm/purchaseCenter/receiptVoucher/index.vue
+++ b/jnpf-java-boot/jnpf-web/src/views/scm/purchaseCenter/receiptVoucher/index.vue
@@ -428,7 +428,6 @@ export default {
deliveryFlag = false;
}
});
- debugger
if (!stateFlag) {
this.$message({
type: 'error',
@@ -820,7 +819,7 @@ export default {
handelUpload() {
this.uploadBoxVisible = true
this.$nextTick(() => {
- this.$refs.UploadBox.init("", "scm/Voucher")
+ this.$refs.UploadBox.init("", "scm/Voucher", undefined, undefined, "采购", "收货凭证")
})
},
handleSelectionChange(val) {
From 471f615edcd887732082bcc776b8b381f12920b5 Mon Sep 17 00:00:00 2001
From: mhsnet
Date: Tue, 14 May 2024 14:30:18 +0800
Subject: [PATCH 3/7] =?UTF-8?q?app=E5=95=86=E5=93=81=E5=8F=8A=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6=E5=8A=9F=E8=83=BD=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/jnpf/jnpf-checkbox/index.vue | 36 +++++++++++----
jnpf-app/components/jnpf/jnpf-radio/index.vue | 31 +++++++++++--
.../pages/scm/form/productWarehouse/index.vue | 46 ++++++-------------
3 files changed, 68 insertions(+), 45 deletions(-)
diff --git a/jnpf-app/components/jnpf/jnpf-checkbox/index.vue b/jnpf-app/components/jnpf/jnpf-checkbox/index.vue
index 8347c82a..306b3d10 100644
--- a/jnpf-app/components/jnpf/jnpf-checkbox/index.vue
+++ b/jnpf-app/components/jnpf/jnpf-checkbox/index.vue
@@ -2,20 +2,36 @@
-
- {{ item[props.label] }}
-
+
+
+ {{ item[props.label] }}
+
+
+
+
+ {{ item[props.label] }}
+
+
-
- {{ item[props.label] }}
-
+
+
+ {{ item[props.label] }}
+
+
+
+
+ {{ item[props.label] }}
+
+
@@ -52,6 +68,10 @@
disabled: {
type: Boolean,
default: false
+ },
+ showOnly: {
+ type: Boolean,
+ default: false
}
},
data() {
diff --git a/jnpf-app/components/jnpf/jnpf-radio/index.vue b/jnpf-app/components/jnpf/jnpf-radio/index.vue
index 0e50ab7f..abf82e12 100644
--- a/jnpf-app/components/jnpf/jnpf-radio/index.vue
+++ b/jnpf-app/components/jnpf/jnpf-radio/index.vue
@@ -2,17 +2,34 @@
-
- {{ item[props.label] }}
-
+
+
+ {{ item[props.label] }}
+
+
+
+
+ {{ item[props.label] }}
+
+
-
+
+
+
+ {{ item[props.label] }}
+
+
+
+
+ {{ item[props.label] }}
+
+
@@ -47,6 +64,10 @@
disabled: {
type: Boolean,
default: false
+ },
+ showOnly: {
+ type: Boolean,
+ default: false
}
},
data() {
diff --git a/jnpf-app/pages/scm/form/productWarehouse/index.vue b/jnpf-app/pages/scm/form/productWarehouse/index.vue
index 2c474d94..01dc4bd3 100644
--- a/jnpf-app/pages/scm/form/productWarehouse/index.vue
+++ b/jnpf-app/pages/scm/form/productWarehouse/index.vue
@@ -4,10 +4,7 @@
label-align="right" :label-width="labelwidth" class="jnpf-form">
-
-
+ 商品类型
@@ -15,16 +12,13 @@
prop="productTypeId">
+ :props="productTypeIdProps" :options="productTypeIdOptions" :showOnly="true">
-
-
+ 基本信息
@@ -104,10 +98,7 @@
-
-
+ 商品特性
@@ -148,11 +139,14 @@
+ 供应链/财务信息
+
+
-
-
+ 单位/价格信息
@@ -303,10 +294,7 @@
-
-
+ 销售信息
@@ -333,10 +321,7 @@
-
-
+ 库存信息
@@ -397,10 +382,7 @@
-
-
+ 适配业务范围
@@ -411,7 +393,7 @@
:disabled="judgeWrite('jnpf_jg_product_business_jnpf_businessLineId')"
@change="changeData('jnpf_jg_product_business_jnpf_businessLineId',-1)" optionType="default"
direction="horizontal" :props="jnpf_jg_product_business_jnpf_businessLineIdProps"
- :options="jnpf_jg_product_business_jnpf_businessLineIdOptions">
+ :options="jnpf_jg_product_business_jnpf_businessLineIdOptions" :showOnly="true">
@@ -745,7 +727,7 @@
"multiple": false,
"children": ""
},
- labelwidth: 120 * 1.5,
+ labelwidth: 130 * 1.5,
menuId: '',
jurisdictionType: '',
ruleList: {
From ced3b31b7f17eedbfdb532886adcfa31cbefb63e Mon Sep 17 00:00:00 2001
From: mhsnet
Date: Tue, 14 May 2024 15:18:52 +0800
Subject: [PATCH 4/7] =?UTF-8?q?app=20=E5=90=88=E5=90=8C=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jnpf-app/pages/scm/form/contractL/index.vue | 211 ++++++++++++++------
1 file changed, 151 insertions(+), 60 deletions(-)
diff --git a/jnpf-app/pages/scm/form/contractL/index.vue b/jnpf-app/pages/scm/form/contractL/index.vue
index 9403ba6b..f3dc6037 100644
--- a/jnpf-app/pages/scm/form/contractL/index.vue
+++ b/jnpf-app/pages/scm/form/contractL/index.vue
@@ -4,10 +4,8 @@
label-align="right" :label-width="labelwidth" class="jnpf-form">
-
-
+
+ 合同类型
@@ -17,16 +15,14 @@
:left-icon-style="{'color':'#a0acb7'}" prop="contractType">
+ :props="contractTypeProps" :options="contractTypeOptions" :showOnly="true">
-
-
+
+ 基本信息
@@ -115,10 +111,8 @@
-
-
+
+ 主体信息
@@ -147,18 +141,14 @@
-
-
+
+ 财务信息
-
-
+
+ 合同信息
@@ -208,10 +198,8 @@
-
-
+
+ 交货和运输信息
@@ -252,10 +240,8 @@
-
-
+
+ 合同条款信息
@@ -485,14 +471,128 @@
-
-
+
+ 商品明细
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ %
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -614,10 +714,8 @@
-
-
+
+ 费用条款
@@ -668,10 +766,8 @@
-
-
+
+ 付款节点
@@ -743,7 +839,7 @@
+ prop="totalAmount" label-position="top" label-align="left">
@@ -752,7 +848,7 @@
+ label="大写金额(人民币)" prop="amountCapitalization" label-position="top" label-align="left">
@@ -761,10 +857,8 @@
-
-
+
+ 其他信息
@@ -777,8 +871,7 @@
-
+
@@ -787,15 +880,13 @@
-
-
+
+ 附件信息
+ label="合同附件" prop="contractAppendices" label-position="top" label-align="left">
+ label="附属文件" prop="ancillaryDocuments" label-position="top" label-align="left">
+ label="关联交易合同(二级)" prop="transactionAppendices" label-position="top" label-align="left">
+ label="关联交易合同(三级)" prop="transactionAppendices2" label-position="top" label-align="left">
Date: Tue, 14 May 2024 15:22:45 +0800
Subject: [PATCH 5/7] =?UTF-8?q?app=20=E5=90=88=E5=90=8C=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E6=95=88=E6=9E=9C=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jnpf-app/pages/scm/form/contractL/index.vue | 114 --------------------
1 file changed, 114 deletions(-)
diff --git a/jnpf-app/pages/scm/form/contractL/index.vue b/jnpf-app/pages/scm/form/contractL/index.vue
index f3dc6037..3070b5d1 100644
--- a/jnpf-app/pages/scm/form/contractL/index.vue
+++ b/jnpf-app/pages/scm/form/contractL/index.vue
@@ -592,120 +592,6 @@
-
From d85fdf53aea4ef6ca13b06157ff364d9d2db537d Mon Sep 17 00:00:00 2001
From: mhsnet
Date: Tue, 14 May 2024 15:41:28 +0800
Subject: [PATCH 6/7] =?UTF-8?q?app=20=E5=90=88=E5=90=8C=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jnpf-app/pages/scm/form/contractL/index.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/jnpf-app/pages/scm/form/contractL/index.vue b/jnpf-app/pages/scm/form/contractL/index.vue
index 3070b5d1..9d878fa1 100644
--- a/jnpf-app/pages/scm/form/contractL/index.vue
+++ b/jnpf-app/pages/scm/form/contractL/index.vue
@@ -160,6 +160,7 @@
+
@@ -172,6 +173,7 @@
+
@@ -1223,7 +1225,7 @@
"multiple": false,
"children": ""
},
- labelwidth: 160 * 1.5,
+ labelwidth: 180 * 1.5,
menuId: '',
jurisdictionType: '',
ruleList: {
From a8f8cf1afbe64dc8e34f26354d81f7fe3ad425f3 Mon Sep 17 00:00:00 2001
From: "XI_TENG\\xixi_" <971623072>
Date: Tue, 14 May 2024 16:40:18 +0800
Subject: [PATCH 7/7] =?UTF-8?q?=E5=87=BA=E5=BA=93=E5=8D=95=E6=95=B0?=
=?UTF-8?q?=E9=87=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/scm/warehousing/warehousingoutbound/index.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousingoutbound/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousingoutbound/index.vue
index 3736bb5e..1aaddbb9 100644
--- a/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousingoutbound/index.vue
+++ b/jnpf-java-boot/jnpf-web/src/views/scm/warehousing/warehousingoutbound/index.vue
@@ -87,13 +87,13 @@
-
+
-
+