From 3c75ba788897a524771bfde12feddcc94aaf14c6 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期二, 22 四月 2025 11:26:02 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiXinLaiRui/LunDuiYa --- 项目代码/WMS/WIDESEA_WMSClient/src/views/basicinfo/Dt_needBarcode.vue | 93 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 93 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/basicinfo/Dt_needBarcode.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/basicinfo/Dt_needBarcode.vue" new file mode 100644 index 0000000..287deaa --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/basicinfo/Dt_needBarcode.vue" @@ -0,0 +1,93 @@ +<!-- +*Author锛歫xx + *Contact锛�283591387@qq.com + *浠g爜鐢辨鏋剁敓鎴�,浠讳綍鏇存敼閮藉彲鑳藉鑷磋浠g爜鐢熸垚鍣ㄨ鐩� + *涓氬姟璇峰湪@/extension/widesea_wms/basicinfo/Dt_AreaInfo.js姝ゅ缂栧啓 + --> +<template> + <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" + :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" + :table="table" :extend="extend"> + </view-grid> +</template> +<script> +import extend from "@/extension/basicinfo/Dt_needBarcode.js"; +import { ref, defineComponent } from "vue"; +export default defineComponent({ + setup() { + const table = ref({ + key: 'areaID', + footer: "Foots", + cnName: '鍦ㄩ�旀暟鎹�', + name: 'basicinfo/dt_needBarcode', + url: "/dt_needBarcode/", + sortName: "AreaCode" + }); + const editFormFields = ref({ + "id":"", + "toArea": "", + "fromArea": "", + "barcodeType": "", + "productLine": "", + "inLineNum": "", + "cacheNum":"" + }); + const editFormOptions = ref([ + [ + { "title": "鍦ㄩ�旀暟閲�", "field": "inLineNum", type: "text" }, + { "title": "鍙紦瀛樻暟閲�", "field": "cacheNum", type: "text" }, + ] + ]); + const searchFormFields = ref({ + "iD":"", + "toArea": "", + "fromArea": "", + "barcodeType": "", + "productLine": "", + "inLineNum": "", + "cacheNum":"" + }); + const searchFormOptions = ref([ + [ + { "title": "鐩爣搴撳尯", "field": "toArea", type: "text" }, + { "title": "鏉ユ簮搴撳尯", "field": "fromArea", type: "text" }, + { "title": "鎵樼洏绫诲瀷", "field": "barcodeType", type: "text" }, + ], + [ + { "title": "鎵�灞炰骇绾�", "field": "productLine", type: "text" }, + { "title": "鍦ㄩ�旀暟閲�", "field": "inLineNum", type: "text" }, + { "title": "鍙紦瀛樻暟閲�", "field": "cacheNum", type: "text" }, + ] + ]); + const columns = ref([{ field: 'iD', title: '涓婚敭', type: 'int', sort: true, hidden: true, width: 110, readonly: true, require: true, align: 'left' }, + { field: 'toArea', title: '鐩爣搴撳尯', type: 'string', sort: true, width: 110, require: true, align: 'left', sort: true }, + { field: 'fromArea', title: '鏉ユ簮搴撳尯', type: 'string', sort: true, width: 110, align: 'left' }, + { field: 'barcodeType', title: '鎵樼洏绫诲瀷', type: 'string', sort: true, width: 110, align: 'left' }, + { field: 'productLine', title: '鎵�灞炰骇绾�', type: 'string', sort: true, width: 110, align: 'left',bind: { key: "ProductionLine", data: [] } }, + { field: 'inLineNum', title: '鍦ㄩ�旀暟閲�', type: 'int', sort: true, width: 110, align: 'left' }, + { field: 'cacheNum', title: '鍙紦瀛樻暟閲�', type: 'int', sort: true, width: 100, align: 'left' }, + { field: 'creater', title: '鍒涘缓浜�', type: 'string', sort: true, width: 110, align: 'left' }, + { field: 'createDate', title: '鍒涘缓鏃堕棿', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, + { field: 'modifier', title: '淇敼浜�', type: 'string', sort: true, width: 100, align: 'left' }, + { field: 'modifyDate', title: '淇敼鏃堕棿', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, + ]); + const detail = ref({ + cnName: "#detailCnName", + table: "#detailTable", + columns: [], + sortName: "", + key: "" + }); + return { + table, + extend, + editFormFields, + editFormOptions, + searchFormFields, + searchFormOptions, + columns, + detail, + }; + }, +}); +</script> -- Gitblit v1.9.3