|
@@ -251,7 +251,7 @@
|
|
accept=".jpg, .jpeg, .png, .gif"
|
|
accept=".jpg, .jpeg, .png, .gif"
|
|
><el-button size="small" type="primary">点击上传</el-button>
|
|
><el-button size="small" type="primary">点击上传</el-button>
|
|
</el-upload>
|
|
</el-upload>
|
|
- <div v-if='deptBudgetList.addressUrl!=""'>
|
|
|
|
|
|
+ <div @click='imgBig(deptBudgetList.addressUrl)' v-if='deptBudgetList.addressUrl!=""'>
|
|
<img style='width:100px;height:100px;' :src="deptBudgetList.addressUrl" alt="">
|
|
<img style='width:100px;height:100px;' :src="deptBudgetList.addressUrl" alt="">
|
|
</div>
|
|
</div>
|
|
<div class="small-title">化验数据(选填)</div>
|
|
<div class="small-title">化验数据(选填)</div>
|
|
@@ -359,6 +359,9 @@
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
</ws-form>
|
|
</ws-form>
|
|
|
|
+ <!-- <div >
|
|
|
|
+ <img :src="img" alt="">
|
|
|
|
+ </div> -->
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -403,6 +406,8 @@ export default {
|
|
// 年
|
|
// 年
|
|
year: '',
|
|
year: '',
|
|
deptBudgetTotal: 0,
|
|
deptBudgetTotal: 0,
|
|
|
|
+ img:'',
|
|
|
|
+ imgshow:false,
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
searchType: 1,
|
|
searchType: 1,
|
|
@@ -468,6 +473,11 @@ export default {
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ imgBig(item){
|
|
|
|
+ console.log(item)
|
|
|
|
+ this.img=item
|
|
|
|
+ this.imgshow=true
|
|
|
|
+ },
|
|
qualityInspectorChange(e){
|
|
qualityInspectorChange(e){
|
|
console.log(e)
|
|
console.log(e)
|
|
},
|
|
},
|
|
@@ -1294,14 +1304,14 @@ export default {
|
|
if (this.deptBudgetList.grossWeight && this.deptBudgetList.tare) {
|
|
if (this.deptBudgetList.grossWeight && this.deptBudgetList.tare) {
|
|
this.deptBudgetList.netWeight = Number(
|
|
this.deptBudgetList.netWeight = Number(
|
|
this.deptBudgetList.grossWeight - this.deptBudgetList.tare
|
|
this.deptBudgetList.grossWeight - this.deptBudgetList.tare
|
|
- )
|
|
|
|
|
|
+ ).toFixed(2)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
grossWeightchange(e) {
|
|
grossWeightchange(e) {
|
|
if (this.deptBudgetList.grossWeight && this.deptBudgetList.tare) {
|
|
if (this.deptBudgetList.grossWeight && this.deptBudgetList.tare) {
|
|
this.deptBudgetList.netWeight = Number(
|
|
this.deptBudgetList.netWeight = Number(
|
|
this.deptBudgetList.grossWeight - this.deptBudgetList.tare
|
|
this.deptBudgetList.grossWeight - this.deptBudgetList.tare
|
|
- )
|
|
|
|
|
|
+ ).toFixed(2)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
selectgoodsName(e) {
|
|
selectgoodsName(e) {
|