|
@@ -131,8 +131,8 @@
|
|
|
</el-form-item>
|
|
|
<!--业务描述=-->
|
|
|
<el-form-item v-if="dataList.taskTypeKey != 3" label="业务描述" span="20">
|
|
|
- <el-input v-model="dataList.businessDescribe" placeholder="请输入业务描述(运输方式),不超过150字"
|
|
|
- maxlength="150" size="large" />
|
|
|
+ <el-input v-model="dataList.businessDescribe" placeholder="请输入业务描述(运输方式),不超过500字"
|
|
|
+ maxlength="500" size="large" />
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
@@ -256,8 +256,8 @@
|
|
|
</el-form-item>
|
|
|
<!--业务描述=-->
|
|
|
<el-form-item v-if="dataList.taskTypeKey != 4" label="业务描述">
|
|
|
- <el-input v-model="dataList1.businessDescribe" placeholder="请输入业务描述(运输方式),不超过150字"
|
|
|
- maxlength="150" size="large" />
|
|
|
+ <el-input v-model="dataList1.businessDescribe" placeholder="请输入业务描述(运输方式),不超过500字"
|
|
|
+ maxlength="500" size="large" />
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
@@ -362,8 +362,8 @@
|
|
|
</el-form-item>
|
|
|
<!--业务描述=-->
|
|
|
<el-form-item label="业务描述">
|
|
|
- <el-input v-model="dataList.businessDescribe" placeholder="请输入业务描述(运输方式),不超过150字"
|
|
|
- maxlength="150" size="large" />
|
|
|
+ <el-input v-model="dataList.businessDescribe" placeholder="请输入业务描述(运输方式),不超过500字"
|
|
|
+ maxlength="500" size="large" />
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
@@ -995,21 +995,21 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (
|
|
|
- isNaN(this.dataList.weight) ||
|
|
|
- (String(this.dataList.weight).indexOf('.') != -1 &&
|
|
|
- String(this.dataList.weight).length -
|
|
|
- (String(this.dataList.weight).indexOf('.') + 1) >
|
|
|
- 2) ||
|
|
|
- this.dataList.weight < 0 ||
|
|
|
- this.dataList.weight > 200000
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- message: '重量(吨)输入有误!',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // isNaN(this.dataList.weight) ||
|
|
|
+ // (String(this.dataList.weight).indexOf('.') != -1 &&
|
|
|
+ // String(this.dataList.weight).length -
|
|
|
+ // (String(this.dataList.weight).indexOf('.') + 1) >
|
|
|
+ // 2) ||
|
|
|
+ // this.dataList.weight < 0 ||
|
|
|
+ // this.dataList.weight > 200000
|
|
|
+ // ) {
|
|
|
+ // this.$message({
|
|
|
+ // message: '重量(吨)输入有误!',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // return
|
|
|
+ // }
|
|
|
// if (!this.dataList.bulkDensity) {
|
|
|
// this.$message({
|
|
|
// message: '容重不能为空!',
|
|
@@ -1143,21 +1143,21 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (
|
|
|
- isNaN(this.dataList1.weight) ||
|
|
|
- (String(this.dataList1.weight).indexOf('.') != -1 &&
|
|
|
- String(this.dataList1.weight).length -
|
|
|
- (String(this.dataList1.weight).indexOf('.') + 1) >
|
|
|
- 2) ||
|
|
|
- this.dataList1.weight < 0 ||
|
|
|
- this.dataList1.weight > 200000
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- message: '重量(吨)输入有误!',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // isNaN(this.dataList1.weight) ||
|
|
|
+ // (String(this.dataList1.weight).indexOf('.') != -1 &&
|
|
|
+ // String(this.dataList1.weight).length -
|
|
|
+ // (String(this.dataList1.weight).indexOf('.') + 1) >
|
|
|
+ // 2) ||
|
|
|
+ // this.dataList1.weight < 0 ||
|
|
|
+ // this.dataList1.weight > 200000
|
|
|
+ // ) {
|
|
|
+ // this.$message({
|
|
|
+ // message: '重量(吨)输入有误!',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // return
|
|
|
+ // }
|
|
|
// if (!this.dataList1.bulkDensity) {
|
|
|
// this.$message({
|
|
|
// message: '容重不能为空!',
|
|
@@ -1301,21 +1301,21 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (
|
|
|
- isNaN(this.dataList1.weight) ||
|
|
|
- (String(this.dataList1.weight).indexOf('.') != -1 &&
|
|
|
- String(this.dataList1.weight).length -
|
|
|
- (String(this.dataList1.weight).indexOf('.') + 1) >
|
|
|
- 2) ||
|
|
|
- this.dataList1.weight < 0 ||
|
|
|
- this.dataList1.weight > 200000
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- message: '重量(吨)输入有误!',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // isNaN(this.dataList1.weight) ||
|
|
|
+ // (String(this.dataList1.weight).indexOf('.') != -1 &&
|
|
|
+ // String(this.dataList1.weight).length -
|
|
|
+ // (String(this.dataList1.weight).indexOf('.') + 1) >
|
|
|
+ // 2) ||
|
|
|
+ // this.dataList1.weight < 0 ||
|
|
|
+ // this.dataList1.weight > 200000
|
|
|
+ // ) {
|
|
|
+ // this.$message({
|
|
|
+ // message: '重量(吨)输入有误!',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // return
|
|
|
+ // }
|
|
|
if (!this.dataList.predictDate) {
|
|
|
this.$message({
|
|
|
message: '预计出库日期不能为空!',
|
|
@@ -1396,21 +1396,21 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (
|
|
|
- isNaN(this.dataList1.weight) ||
|
|
|
- (String(this.dataList1.weight).indexOf('.') != -1 &&
|
|
|
- String(this.dataList1.weight).length -
|
|
|
- (String(this.dataList1.weight).indexOf('.') + 1) >
|
|
|
- 2) ||
|
|
|
- this.dataList1.weight < 0 ||
|
|
|
- this.dataList1.weight > 200000
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- message: '重量(吨)输入有误!',
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // isNaN(this.dataList1.weight) ||
|
|
|
+ // (String(this.dataList1.weight).indexOf('.') != -1 &&
|
|
|
+ // String(this.dataList1.weight).length -
|
|
|
+ // (String(this.dataList1.weight).indexOf('.') + 1) >
|
|
|
+ // 2) ||
|
|
|
+ // this.dataList1.weight < 0 ||
|
|
|
+ // this.dataList1.weight > 200000
|
|
|
+ // ) {
|
|
|
+ // this.$message({
|
|
|
+ // message: '重量(吨)输入有误!',
|
|
|
+ // type: 'warning'
|
|
|
+ // })
|
|
|
+ // return
|
|
|
+ // }
|
|
|
// if (!this.dataList1.bulkDensity) {
|
|
|
// this.$message({
|
|
|
// message: '容重不能为空!',
|