From 47cf5518f0f61dbf8066c2273b9f77c2cd7b1751 Mon Sep 17 00:00:00 2001
From: YLouie <929705085@qq.com>
Date: 星期五, 19 九月 2025 17:56:03 +0800
Subject: [PATCH] 销售订单plm同步
---
src/views/quality/Packaging_ledger/pack-fromadd.vue | 72 ++++++++++++++++++++++++++++-------
1 files changed, 57 insertions(+), 15 deletions(-)
diff --git a/src/views/quality/Packaging_ledger/pack-fromadd.vue b/src/views/quality/Packaging_ledger/pack-fromadd.vue
index a720891..6bf4000 100644
--- a/src/views/quality/Packaging_ledger/pack-fromadd.vue
+++ b/src/views/quality/Packaging_ledger/pack-fromadd.vue
@@ -1,7 +1,7 @@
<template>
<el-dialog
width="60%"
- title="鍙傛暟"
+ title="浜у搧搴撳瓨鏄庣粏"
top="5vh"
:visible.sync="innerVisible"
:show="currshowlist"
@@ -16,7 +16,7 @@
:options="options"
:ajaxFun="ajaxFun"
:paramObj="packageBoxIddata"
- :bottomOffset="350"
+ :bottomOffset="150"
ref="paramTable"
>
<template #toolbar></template>
@@ -43,7 +43,6 @@
data() {
return {
datalist:[],
- datalistid:"",
ajaxFun: dataadd,
currentRow: false,
typeOptions: [],
@@ -78,6 +77,15 @@
// 鏍囬
column: [
{
+ minWidth: '120',
+ prop: 'customerOrderNo',
+ label: '鍚堝悓鍙�',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
minWidth: 'code',
prop: 'product',
label: '浜у搧',
@@ -111,7 +119,43 @@
sort: true,
isTrue: true,
isSearch: true,
- searchInfoType: 'datetimerange'
+ searchInfoType: 'text'
+ },
+ {
+ minWidth: '120',
+ prop: 'outBatchNo',
+ label: '鎵规鍙�',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ minWidth: '120',
+ prop: 'number',
+ label: '鏁伴噺',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ minWidth: '120',
+ prop: 'locNo',
+ label: '搴撲綅缂栧彿',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
+ },
+ {
+ minWidth: '120',
+ prop: 'locName',
+ label: '搴撲綅鍚嶇О',
+ sort: true,
+ isTrue: true,
+ isSearch: true,
+ searchInfoType: 'text'
},
],
},
@@ -124,6 +168,11 @@
watch: {
currshowlist() {
this.innerVisible = this.currshowlist
+ if(this.currshowlist){
+ this.$nextTick(() => {
+ this.getData()
+ });
+ }
}
},
computed: {
@@ -133,16 +182,10 @@
this.getParamType()
},
methods: {
- // 鑾峰彇鏁版嵁鍒楄〃
- getData() {
- this.$refs.paramTable.getDataList()
- },
- handleSelectionChange(val){
- let data = val
- data.forEach(el => {
- this.datalistid = el
- });
- },
+ // 鑾峰彇鏁版嵁鍒楄〃
+ getData() {
+ this.$refs.paramTable.getDataList()
+ },
handleSelectionChange(val){
this.datalist = val
},
@@ -153,4 +196,3 @@
}
}
</script>
-
\ No newline at end of file
--
Gitblit v1.9.3