|
@@ -21,7 +21,7 @@
|
|
<el-form ref="dataList" :model="dataList" label-width="140px">
|
|
<el-form ref="dataList" :model="dataList" label-width="140px">
|
|
<!-- 标题 -->
|
|
<!-- 标题 -->
|
|
<ws-form-item label="标题" span="1" prop="title">
|
|
<ws-form-item label="标题" span="1" prop="title">
|
|
- <el-input v-model="dataList.title" maxlength="16" class="typeselect" placeholder="标题须包含企业简称,不超过16个字" />
|
|
|
|
|
|
+ <el-input v-model="dataList.title" maxlength="20" class="typeselect" placeholder="标题须包含企业简称,不超过20个字" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<!-- 货名 -->
|
|
<!-- 货名 -->
|
|
<ws-form-item label="货名" span="1" prop="goodsName">
|
|
<ws-form-item label="货名" span="1" prop="goodsName">
|
|
@@ -32,7 +32,7 @@
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<!-- 计划销售量(吨) -->
|
|
<!-- 计划销售量(吨) -->
|
|
<ws-form-item label="计划销售量(吨)" span="1" prop="plannedSaleVolume">
|
|
<ws-form-item label="计划销售量(吨)" span="1" prop="plannedSaleVolume">
|
|
- <el-input v-model="dataList.plannedSaleVolume" class="typeselect" placeholder="请输入计划采购量" />
|
|
|
|
|
|
+ <el-input v-model="dataList.plannedSaleVolume" class="typeselect" placeholder="请输入计划销售量" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<!-- 最小成交量 -->
|
|
<!-- 最小成交量 -->
|
|
<ws-form-item label="最小成交量(吨)" span="1" prop="minimumVolume">
|
|
<ws-form-item label="最小成交量(吨)" span="1" prop="minimumVolume">
|
|
@@ -426,16 +426,16 @@
|
|
this.dataList.outputPrivate = CodeToText[value[0]]
|
|
this.dataList.outputPrivate = CodeToText[value[0]]
|
|
// this.dataList.outputCity = CodeToText[value[1]]
|
|
// this.dataList.outputCity = CodeToText[value[1]]
|
|
},
|
|
},
|
|
- submit() {
|
|
|
|
- if (this.outputYear) {
|
|
|
|
- this.startDate = this.dateFormat('YYYY-mm-dd', this.outputYear[0])
|
|
|
|
- this.endDate = this.dateFormat('YYYY-mm-dd', this.outputYear[1])
|
|
|
|
- } else {
|
|
|
|
- this.startDate = ''
|
|
|
|
- this.endDate = ''
|
|
|
|
- }
|
|
|
|
- // this.getList()
|
|
|
|
- },
|
|
|
|
|
|
+ // submit() {
|
|
|
|
+ // if (this.outputYear) {
|
|
|
|
+ // this.startDate = this.dateFormat('YYYY-mm-dd', this.outputYear[0])
|
|
|
|
+ // this.endDate = this.dateFormat('YYYY-mm-dd', this.outputYear[1])
|
|
|
|
+ // } else {
|
|
|
|
+ // this.startDate = ''
|
|
|
|
+ // this.endDate = ''
|
|
|
|
+ // }
|
|
|
|
+ // // this.getList()
|
|
|
|
+ // },
|
|
//关闭
|
|
//关闭
|
|
close() {
|
|
close() {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
@@ -517,7 +517,7 @@
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- if (this.dataList.title.length > 16) {
|
|
|
|
|
|
+ if (this.dataList.title.length > 20) {
|
|
this.$message({
|
|
this.$message({
|
|
message: '标题输入错误!',
|
|
message: '标题输入错误!',
|
|
type: 'warning',
|
|
type: 'warning',
|
|
@@ -1096,7 +1096,7 @@
|
|
|
|
|
|
.container {
|
|
.container {
|
|
overflow: scroll;
|
|
overflow: scroll;
|
|
- height: 93vh;
|
|
|
|
|
|
+ height: 89vh;
|
|
}
|
|
}
|
|
|
|
|
|
/deep/.basicInformation .el-form-item .el-form-item__content {
|
|
/deep/.basicInformation .el-form-item .el-form-item__content {
|