|
@@ -4,7 +4,7 @@
|
|
<div class='container'>
|
|
<div class='container'>
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
- <h2 class="bg-left">查看合同详情</h2>
|
|
|
|
|
|
+ <h2 class="bg-left title">修改合同信息</h2>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12" class="bg-right">
|
|
<el-col :span="12" class="bg-right">
|
|
<el-button
|
|
<el-button
|
|
@@ -12,7 +12,7 @@
|
|
type="primary"
|
|
type="primary"
|
|
size="small"
|
|
size="small"
|
|
@click="returnsales()"
|
|
@click="returnsales()"
|
|
- >返回</el-button
|
|
|
|
|
|
+ ><img width='6' height='10' style='vertical-align: bottom;' src="../../../public/img/lujing.png" alt=""> 返回</el-button
|
|
>
|
|
>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -26,12 +26,11 @@
|
|
<h3>基本信息</h3>
|
|
<h3>基本信息</h3>
|
|
</div>
|
|
</div>
|
|
<ws-info-table>
|
|
<ws-info-table>
|
|
- <ws-form-item
|
|
|
|
|
|
+ <ws-form-item class='readonly'
|
|
label="合同编号"
|
|
label="合同编号"
|
|
span="1"
|
|
span="1"
|
|
prop="contractNo"
|
|
prop="contractNo"
|
|
>
|
|
>
|
|
-
|
|
|
|
{{deptBudgetList.contractNo}}
|
|
{{deptBudgetList.contractNo}}
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item
|
|
<ws-form-item
|
|
@@ -45,7 +44,7 @@
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
- <ws-form-item
|
|
|
|
|
|
+ <ws-form-item class='readonly'
|
|
label="买方"
|
|
label="买方"
|
|
span="1"
|
|
span="1"
|
|
prop="buyer"
|
|
prop="buyer"
|
|
@@ -63,7 +62,7 @@
|
|
size="small"
|
|
size="small"
|
|
/>
|
|
/>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
- <ws-form-item
|
|
|
|
|
|
+ <ws-form-item class='readonly'
|
|
label="卖方"
|
|
label="卖方"
|
|
span="1"
|
|
span="1"
|
|
prop="seller"
|
|
prop="seller"
|
|
@@ -169,7 +168,9 @@
|
|
</el-option>
|
|
</el-option>
|
|
<!-- 新增按钮 -->
|
|
<!-- 新增按钮 -->
|
|
<el-option value="" label="">
|
|
<el-option value="" label="">
|
|
- <div style="text-align: center">
|
|
|
|
|
|
+ <div style="text-align: right;
|
|
|
|
+ border-top: 1px solid #DCDFE6;
|
|
|
|
+ padding: 5px;">
|
|
<ws-button type="primary" @click.stop="addClick">{{$t('button.add')}}</ws-button>
|
|
<ws-button type="primary" @click.stop="addClick">{{$t('button.add')}}</ws-button>
|
|
</div>
|
|
</div>
|
|
</el-option>
|
|
</el-option>
|
|
@@ -199,7 +200,7 @@
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
/>
|
|
/>
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
- <ws-form-item
|
|
|
|
|
|
+ <ws-form-item class='readonly'
|
|
label="合同单价(元/吨)"
|
|
label="合同单价(元/吨)"
|
|
span="1"
|
|
span="1"
|
|
prop="unitContractPrice"
|
|
prop="unitContractPrice"
|
|
@@ -252,7 +253,7 @@
|
|
<h3>货物信息</h3>
|
|
<h3>货物信息</h3>
|
|
</div>
|
|
</div>
|
|
<ws-info-table>
|
|
<ws-info-table>
|
|
- <ws-form-item
|
|
|
|
|
|
+ <ws-form-item class='readonly'
|
|
label="货名"
|
|
label="货名"
|
|
span="1"
|
|
span="1"
|
|
prop="waterContent"
|
|
prop="waterContent"
|
|
@@ -544,10 +545,19 @@ export default {
|
|
examineList({ id: this.$route.query.id })
|
|
examineList({ id: this.$route.query.id })
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
- response.weight = String(response.weight)
|
|
|
|
- response.overShort = String(response.overShort)
|
|
|
|
- response.totalContractPrice = String(response.totalContractPrice)
|
|
|
|
- response.unitContractPrice = String(response.unitContractPrice)
|
|
|
|
|
|
+ if (response.weight) {
|
|
|
|
+ response.weight = String(response.weight)
|
|
|
|
+ }
|
|
|
|
+ if (response.overShort) {
|
|
|
|
+ response.overShort = String(response.overShort)
|
|
|
|
+ }
|
|
|
|
+ if (response.totalContractPrice) {
|
|
|
|
+ response.totalContractPrice = String(response.totalContractPrice)
|
|
|
|
+ }
|
|
|
|
+ if (response.unitContractPrice) {
|
|
|
|
+ response.unitContractPrice = String(response.unitContractPrice)
|
|
|
|
+ }
|
|
|
|
+
|
|
this.deptBudgetList = response
|
|
this.deptBudgetList = response
|
|
})
|
|
})
|
|
// 包装方式
|
|
// 包装方式
|
|
@@ -671,6 +681,37 @@ export default {
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+.readonly {
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
|
|
+.readonly:after {
|
|
|
|
+ content: '*';
|
|
|
|
+ color: #ff2727;
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 8px;
|
|
|
|
+ z-index: 10;
|
|
|
|
+ top: 26%;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+}
|
|
|
|
+.title {
|
|
|
|
+ position: relative;
|
|
|
|
+}
|
|
|
|
+.title::before {
|
|
|
|
+ content: '';
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 5px;
|
|
|
|
+ height: 30px;
|
|
|
|
+ background: #5473e8;
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 0;
|
|
|
|
+}
|
|
|
|
+.el-button--primary {
|
|
|
|
+ background-color: #5878e8;
|
|
|
|
+ border-color: #5878e8;
|
|
|
|
+}
|
|
|
|
+.el-col {
|
|
|
|
+ background: #f6f7fc;
|
|
|
|
+}
|
|
/deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
/deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
width: 140px;
|
|
width: 140px;
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -752,7 +793,7 @@ export default {
|
|
text-align: right;
|
|
text-align: right;
|
|
}
|
|
}
|
|
.bg-bottom {
|
|
.bg-bottom {
|
|
- margin: 20px 0px;
|
|
|
|
|
|
+ margin: 15px 0px;
|
|
}
|
|
}
|
|
.remark h3 {
|
|
.remark h3 {
|
|
display: inline-block;
|
|
display: inline-block;
|