|
@@ -1180,13 +1180,12 @@ export default {
|
|
|
this.$message.error("请选择安装时间");
|
|
|
return;
|
|
|
}
|
|
|
- for (let i = 0; i < this.detailList.items.length; i++) {
|
|
|
- this.detailList.items[i].contractAmount = this.detailList.items[i].contractQty * this.detailList.items[i].contractPrice
|
|
|
- if (this.detailList.items[i].contractAmount) {
|
|
|
- return this.$errorMsg('合同单价、合同数量不能为空')
|
|
|
- }
|
|
|
+ // this.detailList.items.map(e=>{
|
|
|
+ // if (!e.contractAmount) {
|
|
|
+ // return this.$errorMsg('合同单价、合同数量不能为空')
|
|
|
+ // }
|
|
|
+ // })
|
|
|
|
|
|
- }
|
|
|
let data = {
|
|
|
...this.detailList,
|
|
|
checkBy: this.checkBy,
|