|
@@ -241,7 +241,7 @@
|
|
|
</ws-form-item>
|
|
|
</ws-info-table>
|
|
|
</div>
|
|
|
- <div class="small-title">上传磅单照片</div>
|
|
|
+ <!-- <div class="small-title">上传磅单照片</div>
|
|
|
<el-upload
|
|
|
action="https://www.zthymaoyi.com/upload/admin"
|
|
|
:show-file-list="false"
|
|
@@ -256,7 +256,7 @@
|
|
|
</el-upload>
|
|
|
<div v-if='deptBudgetList.addressUrl!=""'>
|
|
|
<img style='width:100px;height:100px;' :src="deptBudgetList.addressUrl" alt="">
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div class="small-title">化验数据(选填)</div>
|
|
|
<div class="inspector">
|
|
|
<!--自检员-->
|
|
@@ -354,7 +354,7 @@
|
|
|
>保存</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-else
|
|
|
+ v-if="!allowEdit"
|
|
|
class="bg-bottom-up"
|
|
|
type="primary"
|
|
|
size="small"
|
|
@@ -670,7 +670,7 @@ export default {
|
|
|
}
|
|
|
if (this.information == '皮重检斤'&&(
|
|
|
this.deptBudgetList.tare < 0 ||
|
|
|
- this.deptBudgetList.tare > 10000 ||
|
|
|
+ this.deptBudgetList.tare > 200000 ||
|
|
|
(String(this.deptBudgetList.tare).indexOf('.') != -1 &&
|
|
|
String(this.deptBudgetList.tare).length -
|
|
|
(String(this.deptBudgetList.tare).indexOf('.') + 1) >
|
|
@@ -704,16 +704,16 @@ export default {
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- if (
|
|
|
- this.deptBudgetList.contractNo.length < 6 ||
|
|
|
- this.deptBudgetList.contractNo.length > 20
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- message: '合同编号长度不符合要求,请输入6-20个字符之内',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // this.deptBudgetList.contractNo.length < 6 ||
|
|
|
+ // this.deptBudgetList.contractNo.length > 20
|
|
|
+ // ) {
|
|
|
+ // this.$message({
|
|
|
+ // message: '合同编号长度不符合要求,请输入6-20个字符之内',
|
|
|
+ // type: 'warning',
|
|
|
+ // })
|
|
|
+ // return
|
|
|
+ // }
|
|
|
//自检员
|
|
|
if (this.deptBudgetList.warehouseInOutDetail.qualityInspector) {
|
|
|
if (
|
|
@@ -953,7 +953,7 @@ export default {
|
|
|
}
|
|
|
if (
|
|
|
this.deptBudgetList.grossWeight <= 0 ||
|
|
|
- this.deptBudgetList.grossWeight > 10000 ||
|
|
|
+ this.deptBudgetList.grossWeight > 5000000 ||
|
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') != -1 &&
|
|
|
String(this.deptBudgetList.grossWeight).length -
|
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') + 1) >
|
|
@@ -974,7 +974,7 @@ export default {
|
|
|
}
|
|
|
if (
|
|
|
this.deptBudgetList.tare < 0 ||
|
|
|
- this.deptBudgetList.tare > 10000 ||
|
|
|
+ this.deptBudgetList.tare > 500000 ||
|
|
|
(String(this.deptBudgetList.tare).indexOf('.') != -1 &&
|
|
|
String(this.deptBudgetList.tare).length -
|
|
|
(String(this.deptBudgetList.tare).indexOf('.') + 1) >
|
|
@@ -995,7 +995,7 @@ export default {
|
|
|
}
|
|
|
if (
|
|
|
this.deptBudgetList.netWeight <= 0 ||
|
|
|
- this.deptBudgetList.netWeight >= 10000
|
|
|
+ this.deptBudgetList.netWeight >= 5000000
|
|
|
) {
|
|
|
this.$message({
|
|
|
message: '净重输入错误!',
|