diff --git a/src/utils/wmsDic.js b/src/utils/wmsDic.js
index 2001824..ad660e5 100644
--- a/src/utils/wmsDic.js
+++ b/src/utils/wmsDic.js
@@ -93,6 +93,14 @@ export function getOperationCode2List() {
return operationCode
}
+// 仓库
+const storeList = ['1号立体库', '2号立体库', '3号立体库', '4号立体库', '5号立体库', '6号立体库', '7号立体库', '8号立体库']
+export function getStoreList() {
+ let store = ''
+ store += storeList[parseInt(Math.random() * storeList.length)]
+ return store
+}
+
// 库区
const KQList = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N']
export function getKQList() {
@@ -155,7 +163,63 @@ export function getMaterialCodeList() {
// 名字
const nameList = ['张明', '李燕', '王国庆', '张强', '周敏']
export function getNameList() {
- let name = 'WL'
+ let name = ''
name = nameList[parseInt(Math.random() * (nameList.length))]
return name
}
+
+// 客户数据
+const compList = ['台玻', 'FUYAO福耀', 'SG南玻', 'XYG信义玻璃', '耀皮', '福莱特玻璃', 'CLFG洛玻', 'SHABO沙玻', 'KIBING旗滨', '金晶玻璃', '济南金昊', '东莞佳美特', '汇中矿产', '文盛新材料', '西点化学', '开源塑胶', '奥驰商贸', '竹中科技', '程龙玻璃']
+export function getCompTyleList() {
+ let comp = ''
+ comp = compList[parseInt(Math.random() * (compList.length))]
+ return comp
+}
+
+// 客户联系人
+const contactList = ['张总', '李总', '王总', '孙总', '赵总', '周总', '钱总', '吴总', '郑总', '杨总', '朱总', '蒋总', '江总', '马总']
+export function getContactList() {
+ let name = ''
+ name = contactList[parseInt(Math.random() * (contactList.length))]
+ return name
+}
+
+// 手机号前三位
+const phoneList = ['139', '138', '137', '136', '135', '134', '159', '158', '157', '150', '151', '152', '188', '187', '182', '183', '184', '178', '130', '131', '132', '156', '155', '186', '185', '176', '133', '153', '189', '180', '181', '177']
+export function getPhoneList() {
+ let name = ''
+ name = phoneList[parseInt(Math.random() * (phoneList.length))]
+ return name
+}
+
+// 物品名称
+const goodsList = ['钢化玻璃', '磨砂玻璃', '喷砂玻璃', '压花玻璃', '夹丝玻璃', '夹层玻璃']
+export function getGoodsList() {
+ let name = ''
+ name = goodsList[parseInt(Math.random() * (goodsList.length))]
+ return name
+}
+
+// 玻璃编码List
+export function getGlassCodeList() {
+ let materialCode = 'SJG'
+ for (let i = 0; i < 4; i++) {
+ materialCode += parseInt(Math.random() * 89 + 10)
+ }
+ return materialCode
+}
+
+// 角色编码List
+export function getRoleCodeList() {
+ let materialCode = 'R'
+ for (let i = 0; i < 4; i++) {
+ materialCode += parseInt(Math.random() * 89 + 10)
+ }
+ return materialCode
+}
+
+// 角色名称List
+export function getRoleNameList() {
+ const materialCode = ['超级管理员', '管理员', '1号线管理员', '2号线管理员', '1号线加工人员', '2号线加工人员', '质检1组', '质检2组', '质检3组', '质检4组']
+ return materialCode
+}
diff --git a/src/views/wmsBasicData/components/customerData-add.vue b/src/views/wmsBasicData/components/customerData-add.vue
index f4757ba..cb261af 100644
--- a/src/views/wmsBasicData/components/customerData-add.vue
+++ b/src/views/wmsBasicData/components/customerData-add.vue
@@ -7,10 +7,6 @@
-->
-
-
-
@@ -63,7 +52,6 @@