From d7e7e80121be970b323288a3f52a9cc51d51ab54 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期三, 03 十二月 2025 11:03:10 +0800
Subject: [PATCH] 提交
---
ui/admin-ui3/src/views/tms/tmsProductInfo/index.vue | 164 +++++++++++++++++++++++++++---------------------------
1 files changed, 82 insertions(+), 82 deletions(-)
diff --git a/ui/admin-ui3/src/views/tms/tmsProductInfo/index.vue b/ui/admin-ui3/src/views/tms/tmsProductInfo/index.vue
index 7fcdd5f..adc44c3 100644
--- a/ui/admin-ui3/src/views/tms/tmsProductInfo/index.vue
+++ b/ui/admin-ui3/src/views/tms/tmsProductInfo/index.vue
@@ -99,82 +99,82 @@
label: '鍩虹淇℃伅',
prop: 'jcxx',
column: {
- customerId: {
- label: '鎵�灞炲鎴�',minWidth: 150,
- addDisplay: true,
- editDisplay: true,suffixIcon:'search',
- viewDisplay: true,
- hide: true,
- search: true,
- rules: [
- {
- required: true,
- message: "鎵�灞炲鎴蜂笉鑳戒负绌�", trigger: "change"
- }
- ],
- type: 'table',
- children:{
- border: true,
- searchMenuSpan: 5,
- column:{
- customerType: {
- label: '瀹㈡埛绫诲瀷', minWidth: 120,
- type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/customer_type',
- search: true,
- },
- customerShortName: {
- label: '瀹㈡埛绠�绉�', minWidth: 130,
- search: true,
- },
- customerCode: {
- label: '瀹㈡埛缂栧彿',minWidth: 120,
- search: true,
- },
- contactName: {
- label: '鑱旂郴浜哄鍚�',minWidth: 120,
- },
- signCompanyName: {
- label: '绛剧害鍏徃', minWidth: 150,
- },
- },
-
- },
- props:{
- label: 'customerShortName',
- value: 'id'
- },
- onLoad: ({ page, value, data }: { page: any, value: any, data: any }, callback:any) => {
- if (value){
- let id = value;
- if (Array.isArray(value)){
- id = value[0]
- }
- getTmsCustomerInfo(id).then(res=>{
- return callback(res.data||{})
- })
- }else{
- listTmsCustomerInfo({pageSize:page.pageSize,pageNum:page.currentPage,...data}).then(res=>{
- return callback({
- total: res.total,
- data: res.rows||[],
- })
- })
- }
-
- },
- change: (val: any) => {
- const table = crudRef.value?.getPropRef?.('customerId')?.$refs?.temp;
- if (!table) return;
- let active = table.active;
- if (Array.isArray(active)) active = active[0];
- if (active) {
- Object.assign(form.value, {
- customerId: active.id,
- customer: active.customerShortName,
- });
- }
- },
- },
+ // customerId: {
+ // label: '鎵�灞炲鎴�',minWidth: 150,
+ // addDisplay: true,
+ // editDisplay: true,suffixIcon:'search',
+ // viewDisplay: true,
+ // hide: true,
+ // search: true,
+ // rules: [
+ // {
+ // required: true,
+ // message: "鎵�灞炲鎴蜂笉鑳戒负绌�", trigger: "change"
+ // }
+ // ],
+ // type: 'table',
+ // children:{
+ // border: true,
+ // searchMenuSpan: 5,
+ // column:{
+ // customerType: {
+ // label: '瀹㈡埛绫诲瀷', minWidth: 120,
+ // type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/customer_type',
+ // search: true,
+ // },
+ // customerShortName: {
+ // label: '瀹㈡埛绠�绉�', minWidth: 130,
+ // search: true,
+ // },
+ // customerCode: {
+ // label: '瀹㈡埛缂栧彿',minWidth: 120,
+ // search: true,
+ // },
+ // contactName: {
+ // label: '鑱旂郴浜哄鍚�',minWidth: 120,
+ // },
+ // signCompanyName: {
+ // label: '绛剧害鍏徃', minWidth: 150,
+ // },
+ // },
+ //
+ // },
+ // props:{
+ // label: 'customerShortName',
+ // value: 'id'
+ // },
+ // onLoad: ({ page, value, data }: { page: any, value: any, data: any }, callback:any) => {
+ // if (value){
+ // let id = value;
+ // if (Array.isArray(value)){
+ // id = value[0]
+ // }
+ // getTmsCustomerInfo(id).then(res=>{
+ // return callback(res.data||{})
+ // })
+ // }else{
+ // listTmsCustomerInfo({pageSize:page.pageSize,pageNum:page.currentPage,...data}).then(res=>{
+ // return callback({
+ // total: res.total,
+ // data: res.rows||[],
+ // })
+ // })
+ // }
+ //
+ // },
+ // change: (val: any) => {
+ // const table = crudRef.value?.getPropRef?.('customerId')?.$refs?.temp;
+ // if (!table) return;
+ // let active = table.active;
+ // if (Array.isArray(active)) active = active[0];
+ // if (active) {
+ // Object.assign(form.value, {
+ // customerId: active.id,
+ // customer: active.customerShortName,
+ // });
+ // }
+ // },
+ // },
productCode: {
label: '璐у搧缂栫爜',
addDisplay: true,
@@ -411,12 +411,12 @@
// search: false,
// },
- customer: {
- label: '鎵�灞炲鎴�',
- display: false,
- hide: false, minWidth: 150,
- search: true,
- },
+ // customer: {
+ // label: '鎵�灞炲鎴�',
+ // display: false,
+ // hide: false, minWidth: 150,
+ // search: true,
+ // },
productCode: {
label: '璐у搧缂栫爜',
display: false,
--
Gitblit v1.8.0