|
@@ -5,14 +5,20 @@
|
|
|
<div class="search" style="justify-content: flex-start;">
|
|
|
<el-button class="btn-check" size="medium" type="primary" @click="outlist">导出
|
|
|
</el-button>
|
|
|
- <el-button class="btn-check" size="medium" type="primary" @click="exportTempletelist">下载导入模板
|
|
|
+ <el-button v-if="
|
|
|
+ userInfo.countyName != null || userInfo.cityName != null
|
|
|
+ " class="btn-check" size="medium" type="primary" @click="exportTempletelist">下载导入模板
|
|
|
</el-button>
|
|
|
- <myUpload style="display:inline-block;" :fileInfo="fileInfot" :fileList="fileInfot.fileList"
|
|
|
+ <myUpload v-if="
|
|
|
+ userInfo.countyName != null || userInfo.cityName != null
|
|
|
+ " style="display:inline-block;" :fileInfo="fileInfot" :fileList="fileInfot.fileList"
|
|
|
@uploadBack='uploadBack'></myUpload>
|
|
|
- <el-button class="btn-check" size="medium" type="primary" @click="dialogCheck(3)" v-if="
|
|
|
+ <!-- <el-button class="btn-check" size="medium" type="primary" @click="dialogCheck(3)" v-if="
|
|
|
userInfo.countyName != null || userInfo.cityName != null
|
|
|
">添加
|
|
|
- </el-button>
|
|
|
+ </el-button> -->
|
|
|
+ <!-- <el-button class="btn-check" size="medium" type="primary" @click="dialogCheck(3)" >添加
|
|
|
+ </el-button> -->
|
|
|
</div>
|
|
|
<div class="search">
|
|
|
<mySearch :searchList="searchList" @searchInfo="searchInfo"></mySearch>
|
|
@@ -22,7 +28,7 @@
|
|
|
</el-button>
|
|
|
</div>
|
|
|
<div class="tabbox">
|
|
|
- <el-table height="calc(100% - 40px)" class="com-table" ref="multipleTable" :data="tableData"
|
|
|
+ <el-table height="calc(100% - 100px)" class="com-table" ref="multipleTable" :data="tableData"
|
|
|
tooltip-effect="dark" size="small" border style="width: 100%" v-loading="loading">
|
|
|
<el-table-column prop="regionName" label="公司">
|
|
|
</el-table-column>
|
|
@@ -192,7 +198,7 @@
|
|
|
<span>物料名称</span>
|
|
|
<el-select :disabled="disableStatus" :popper-append-to-body="false"
|
|
|
v-model="infolist.metirialName" placeholder="物料名称" @change="materialNameChange">
|
|
|
- <el-option v-for="(item, index) in materialNameopt" :key="index" :label="item.metirialName"
|
|
|
+ <el-option v-for="(item, index) in metirialOpt" :key="index" :label="item.metirialName"
|
|
|
:value="item.metirialName">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
@@ -210,12 +216,12 @@
|
|
|
infolist.unit == '延长米'
|
|
|
">
|
|
|
<span>长(米)</span>
|
|
|
- <el-input type="number" v-model="infolist.length" placeholder="长" :disabled="disableStatus">
|
|
|
+ <el-input oninput="value = parseInt(value) || ''" v-model="infolist.length" placeholder="长" :disabled="disableStatus">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="width" v-if="infolist.unit == '平方米'">
|
|
|
<span>宽(米)</span>
|
|
|
- <el-input type="number" v-model="infolist.width" placeholder="宽" :disabled="disableStatus">
|
|
|
+ <el-input oninput="value = parseInt(value) ||''" v-model="infolist.width" placeholder="宽" :disabled="disableStatus">
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item prop="direction">
|
|
@@ -228,10 +234,10 @@
|
|
|
<span>系数</span>
|
|
|
<el-input :value="coefficient" placeholder="系数" disabled></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item>
|
|
|
+ <!-- <el-form-item>
|
|
|
<span>单价</span>
|
|
|
<el-input :value="coefficient" placeholder="单价" disabled></el-input>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
<el-form-item>
|
|
|
<span>优先级-仅灯箱画面填报</span>
|
|
|
<el-input v-model="infolist.priority" placeholder="优先级-仅灯箱画面填报"
|
|
@@ -245,10 +251,10 @@
|
|
|
:disabled="quantityDisabled"
|
|
|
></el-input>
|
|
|
</el-form-item> -->
|
|
|
- <el-form-item>
|
|
|
+ <!-- <el-form-item>
|
|
|
<span>物料单价(不含税)</span>
|
|
|
<el-input v-model="infolist.price" disabled></el-input>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
<!-- <el-form-item prop="settlementAmount">
|
|
|
<span>结算金额</span>
|
|
|
<el-input
|
|
@@ -726,6 +732,8 @@ export default {
|
|
|
// return this.infolist.settlementAmount
|
|
|
},
|
|
|
accountcho(v) {
|
|
|
+ this.infolist.metirialName = ''
|
|
|
+
|
|
|
// this.account = v;
|
|
|
// let x = v;
|
|
|
// if (v == "营业厅-VI改造" || v == "营业厅-常规物料") {
|
|
@@ -873,8 +881,11 @@ export default {
|
|
|
parentCompId: this.infolist.regionCode
|
|
|
}
|
|
|
}).then(res => {
|
|
|
+ console.log(v);
|
|
|
+ console.log('[ 这是什么 ] >', res)
|
|
|
if (v !== 3) {
|
|
|
this.countyOpt = res.data;
|
|
|
+ console.log(this.countyOpt);
|
|
|
}
|
|
|
|
|
|
});
|
|
@@ -1021,6 +1032,7 @@ export default {
|
|
|
parentCompId: this.regionOpt[i].compId
|
|
|
}
|
|
|
}).then(res => {
|
|
|
+ console.log('[ res ] >', res)
|
|
|
if (this.userInfo.cityName != null && this.userInfo.countyName == null) {
|
|
|
this.countyOpt = res.data;
|
|
|
} else if (this.userInfo.cityName != null && this.userInfo.countyName != null) {
|
|
@@ -1056,6 +1068,7 @@ export default {
|
|
|
parentCompId: "0"
|
|
|
}
|
|
|
}).then(res => {
|
|
|
+ console.log('[ 0 ] >', res)
|
|
|
// this.regionOpt = res.data;
|
|
|
|
|
|
if (
|