diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/document/FolderTree.vue b/jnpf-java-boot/jnpf-web/src/views/scm/document/FolderTree.vue new file mode 100644 index 00000000..d65e1c79 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/document/FolderTree.vue @@ -0,0 +1,69 @@ + + + \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/document/Preview.vue b/jnpf-java-boot/jnpf-web/src/views/scm/document/Preview.vue new file mode 100644 index 00000000..a508cf85 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/document/Preview.vue @@ -0,0 +1,62 @@ + + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/document/UserBox.vue b/jnpf-java-boot/jnpf-web/src/views/scm/document/UserBox.vue new file mode 100644 index 00000000..cbb1011b --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/document/UserBox.vue @@ -0,0 +1,62 @@ + + + \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/document/fileUploader.vue b/jnpf-java-boot/jnpf-web/src/views/scm/document/fileUploader.vue new file mode 100644 index 00000000..59421996 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/document/fileUploader.vue @@ -0,0 +1,138 @@ + + + + + \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/document/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/document/index.vue new file mode 100644 index 00000000..4e48394e --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/document/index.vue @@ -0,0 +1,544 @@ + + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/documentPreview/Detail.vue b/jnpf-java-boot/jnpf-web/src/views/scm/documentPreview/Detail.vue new file mode 100644 index 00000000..8306b15a --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/documentPreview/Detail.vue @@ -0,0 +1,49 @@ + + + \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/documentPreview/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/documentPreview/index.vue new file mode 100644 index 00000000..a6b74b42 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/documentPreview/index.vue @@ -0,0 +1,116 @@ + + + + \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/form.vue index 1a43624f..f0fd4f11 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/productWarehouse/form.vue @@ -274,7 +274,8 @@ + :style='{ "width": "100%" }' :options="productUnitList" :props="inventoryUnitIdProps" + disable="true"> @@ -777,9 +778,21 @@ export default { return obj; }) return arrB + }, + }, + watch: { + 'dataForm.manyUnitFlag': function (nManyUnitFlag, oManyUnitFlag) { + if (nManyUnitFlag == '1') { + if (this.dataForm.productUnitList.length > 0) { + this.dataForm.inventoryUnitId = this.productUnitList[0]['id'] + this.dataForm.orderMainUnitId = this.productUnitList[0]['id'] + this.dataForm.salesMainUnitId = this.productUnitList[0]['id'] + this.dataForm.operateUnitId = this.productUnitList[0]['id'] + this.dataForm.pricingUnitId = this.productUnitList[0]['id'] + } + } } }, - watch: {}, created() { this.getFormById() if (this.dataForm.id == null || this.dataForm.id == '' && this.dataForm.id == undefined || this.dataForm.id == 0) { @@ -1073,7 +1086,9 @@ export default { if (this.dataForm.productUnitList.length < 1) { item.conversionRules = '1' } - this.getproductunitList(item) + if (!(this.dataForm.manyUnitFlag == '1' && this.dataForm.productUnitList.length > 0)) { + this.getproductunitList(item) + } }, delproductunitList(index) { this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {