Jelajahi Sumber

提交代码

zyf 2 tahun lalu
induk
melakukan
3b3333f34f

+ 1 - 1
build/utils.js

@@ -15,7 +15,7 @@ const devPathSrc = path.resolve(__dirname, '../../../src') // node_modules应用
 // ['index','appoint','configManager','homepage',''inward,'queue','RMS','sale','serviceManager','SporadicManage'
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
-// let devModules = ['index', 'statisticalReport', 'appoint', 'queue']
+//let devModules = ['index', 'statisticalReport', 'appoint', 'queue','inward','sale','RMS',]
 let devModules = ['all']
 //let devModules=['index']
 if (pathSrc.indexOf('node_modules') > -1) {

+ 2 - 1
src/views/appoint/components/saleContract/addSaleOrderSteelSendCarrier.vue

@@ -475,7 +475,8 @@ export default {
     //校验是否为电话号码
     checkIsTelephone(index) {
       //电话号码校验
-      var reg = /^[1][345789]\d{9}$/;
+      console.log("电话号码"+this.selectionList[index].driverTel);
+      var reg = /^[1][3456789]\d{9}$/;
       if (!reg.test(this.selectionList[index].driverTel)) {
         this.canSend = -1;
         this.$message.warning("电话号码格式不正确,请输入正确的电话号码!");