-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
- 批量转单
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 批量转单
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
商务附件
@@ -62,8 +102,8 @@
其他附件
-
-
+
+
-
@@ -91,6 +131,7 @@ import ContractSelect from "@/components/KLPService/ContractSelect";
import { batchUpdateContractCoil } from "@/api/wms/coil";
import FileList from "@/components/FileList";
import DeliveryTable from "../../components/DeliveryTable.vue";
+import ContractPreview from "./ContractPreview.vue";
// 导入可能需要的组件
import OrderDetail from "../../components/OrderDetail.vue";
@@ -108,6 +149,7 @@ export default {
ContractSelect,
FileList,
DeliveryTable,
+ ContractPreview,
OrderDetail,
OrderEdit,
ReceiveTable,
@@ -153,7 +195,7 @@ export default {
data() {
return {
// 活动tab
- activeTab: "finance",
+ activeTab: "contract",
selectedProductRows: [],
batchTransferDialogVisible: false,
batchTargetContractId: '',
@@ -304,4 +346,57 @@ export default {
},
}
};
-
\ No newline at end of file
+
+
+
diff --git a/klp-ui/src/views/crm/contract/index.vue b/klp-ui/src/views/crm/contract/index.vue
index 4981333c6..32334aaf0 100644
--- a/klp-ui/src/views/crm/contract/index.vue
+++ b/klp-ui/src/views/crm/contract/index.vue
@@ -11,24 +11,11 @@
-
-
-
-
-
-
-
-
-
-
+
+ :other-attachment="form.productionSchedule" :currentOrder="form"
+ @updateStatus="handleStatusChange" />
@@ -234,7 +221,6 @@ import { addCustomer } from "@/api/crm/customer";
import { listDeliveryWaybill } from "@/api/wms/deliveryWaybill";
import dayjs from "dayjs";
import ContractList from "./components/ContractList.vue";
-import ContractPreview from "./components/ContractPreview.vue";
import ContractTabs from "./components/ContractTabs.vue";
import ContractExportDialog from "./components/ContractExportDialog.vue";
import ProductContent from "./components/ProductContent.vue";
@@ -246,7 +232,6 @@ export default {
name: "Contract",
components: {
ContractList,
- ContractPreview,
ContractTabs,
ContractExportDialog,
ProductContent,
@@ -706,34 +691,6 @@ export default {
this.customerOpen = false;
this.customerForm = {};
},
- /** 开始拖拽调整 */
- startResize(e) {
- e.preventDefault();
- const previewPanel = this.$refs.previewPanel;
- const tabPanel = this.$refs.tabPanel;
- const startY = e.clientY;
- const startPreviewHeight = previewPanel.offsetHeight;
- const parentHeight = previewPanel.parentElement.offsetHeight;
-
- const handleMouseMove = (event) => {
- const deltaY = event.clientY - startY;
- const newPreviewHeight = startPreviewHeight + deltaY;
- const newTabHeight = parentHeight - newPreviewHeight - 8; // 8是拖拽条的高度
-
- if (newPreviewHeight > 100 && newTabHeight > 100) { // 最小高度限制
- previewPanel.style.flex = `0 0 ${newPreviewHeight}px`;
- tabPanel.style.flex = `0 0 ${newTabHeight}px`;
- }
- };
-
- const handleMouseUp = () => {
- document.removeEventListener('mousemove', handleMouseMove);
- document.removeEventListener('mouseup', handleMouseUp);
- };
-
- document.addEventListener('mousemove', handleMouseMove);
- document.addEventListener('mouseup', handleMouseUp);
- }
}
};
@@ -756,11 +713,7 @@ export default {
overflow: hidden;
}
-.preview-panel {
- overflow-y: auto;
-}
-
.tab-panel {
- overflow-y: auto;
+ overflow: hidden;
}
\ No newline at end of file