|
@@ -26,14 +26,14 @@
|
|
class="findValue"
|
|
class="findValue"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
- v-if="item.reportStatus"
|
|
|
|
|
|
+ v-if="item.listStatus"
|
|
v-for="item in options"
|
|
v-for="item in options"
|
|
:key="item.constKey"
|
|
:key="item.constKey"
|
|
- :label="item.contractNo + '(' + item.reportStatus + ')'"
|
|
|
|
|
|
+ :label="item.contractNo + '(' + item.listStatus + ')'"
|
|
:value="item.contractNo"
|
|
:value="item.contractNo"
|
|
/>
|
|
/>
|
|
<el-option
|
|
<el-option
|
|
- v-if="!item.reportStatus"
|
|
|
|
|
|
+ v-if="!item.listStatus"
|
|
v-for="item in options"
|
|
v-for="item in options"
|
|
:key="item.constKey"
|
|
:key="item.constKey"
|
|
:label="item.contractNo"
|
|
:label="item.contractNo"
|
|
@@ -44,9 +44,9 @@
|
|
</template>
|
|
</template>
|
|
</BaseHeaderLayout>
|
|
</BaseHeaderLayout>
|
|
<el-table
|
|
<el-table
|
|
- :data="warehouseList"
|
|
|
|
|
|
+ :data="collectList"
|
|
style="width: 100%; margin-top: 20px"
|
|
style="width: 100%; margin-top: 20px"
|
|
- ref="warehouseList"
|
|
|
|
|
|
+ ref="collectList"
|
|
border
|
|
border
|
|
height="780"
|
|
height="780"
|
|
@selection-change="handleSelectionChange"
|
|
@selection-change="handleSelectionChange"
|
|
@@ -64,91 +64,88 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="closingQuantity"
|
|
|
|
|
|
+ prop="carNo"
|
|
label="车牌号"
|
|
label="车牌号"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="transactionPrice"
|
|
|
|
|
|
+ prop="goodsName"
|
|
label="货名"
|
|
label="货名"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="amountIngPayable"
|
|
|
|
|
|
+ prop="grossWeight"
|
|
label="毛重(公斤)"
|
|
label="毛重(公斤)"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="amountEdPayable"
|
|
|
|
|
|
+ prop="tare"
|
|
label="皮重(公斤)"
|
|
label="皮重(公斤)"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="amountIngPayable"
|
|
|
|
|
|
+ prop="netWeight"
|
|
label="净重(公斤)"
|
|
label="净重(公斤)"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="closeRate"
|
|
|
|
|
|
+ prop="contractPrice"
|
|
label="合同单价(元/公斤)"
|
|
label="合同单价(元/公斤)"
|
|
width="150"
|
|
width="150"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
- class="table_td"
|
|
|
|
- prop="basisPrice"
|
|
|
|
- label="计算应收(元)"
|
|
|
|
- ></el-table-column>
|
|
|
|
-
|
|
|
|
- <el-table-column
|
|
|
|
- class="table_td"
|
|
|
|
- prop="basis"
|
|
|
|
- label="计算应收(元)"
|
|
|
|
- width="100"
|
|
|
|
- >
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div class="inputChenge">
|
|
|
|
- <input
|
|
|
|
- style="width: 60px"
|
|
|
|
- v-model="scope.row.basis"
|
|
|
|
- type="text"
|
|
|
|
- />
|
|
|
|
- </div>
|
|
|
|
- <img
|
|
|
|
- width="17"
|
|
|
|
- height="18"
|
|
|
|
- style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
|
- src="../../../public/img/edit.png"
|
|
|
|
- @click="whether(scope.row)"
|
|
|
|
- v-if="scope.row.identification == 'false'"
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
- <i
|
|
|
|
- class="el-icon-check"
|
|
|
|
- style="line-height: 29px; margin-left: 10px"
|
|
|
|
- @click="varietyClick(scope.row)"
|
|
|
|
- v-if="scope.row.identification == 'true'"
|
|
|
|
- ></i>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
-
|
|
|
|
|
|
+ width='150'
|
|
|
|
+ class="table_td"
|
|
|
|
+ prop="calculationCollectable"
|
|
|
|
+ label="计算应收(元)"
|
|
|
|
+ ></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="basisPrice"
|
|
|
|
|
|
+ width='200'
|
|
|
|
+ prop="actualCollectionment"
|
|
label="实际应收(元)"
|
|
label="实际应收(元)"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ >
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div class="inputChenge">
|
|
|
|
+ <!-- readonly -->
|
|
|
|
+ <el-input
|
|
|
|
+ v-model="scope.row.actualCollectionment"
|
|
|
|
+ v-if="scope.row.identification == 'true'"
|
|
|
|
+ ></el-input>
|
|
|
|
+ <div v-if="scope.row.identification == 'false'" class="inputs">
|
|
|
|
+ {{ scope.row.actualCollectionment }}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <img
|
|
|
|
+ width="17"
|
|
|
|
+ height="18"
|
|
|
|
+ style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
|
+ src="../../../public/img/edit.png"
|
|
|
|
+ @click="whether(scope.row)"
|
|
|
|
+ v-if="scope.row.identification == 'false'"
|
|
|
|
+ alt=""
|
|
|
|
+ />
|
|
|
|
+ <i
|
|
|
|
+ class="el-icon-check"
|
|
|
|
+ style="line-height: 29px; margin-left: 10px"
|
|
|
|
+ v-if="scope.row.identification == 'true'"
|
|
|
|
+ @click="varietyClick(scope.row)"
|
|
|
|
+ ></i>
|
|
|
|
+ <!-- <div>—</div> -->
|
|
|
|
+ </template></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="collectDate"
|
|
|
|
|
|
+ prop="amountEdCollectionable"
|
|
label="已收款(元)"
|
|
label="已收款(元)"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="collectionIngPayable"
|
|
|
|
|
|
+ prop="collectionDate"
|
|
label="收款时间"
|
|
label="收款时间"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
class="table_td"
|
|
class="table_td"
|
|
- prop="collectionEdPayable"
|
|
|
|
|
|
+ prop="status"
|
|
label="状态"
|
|
label="状态"
|
|
></el-table-column>
|
|
></el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -156,8 +153,9 @@
|
|
prop="collectionEdPayable"
|
|
prop="collectionEdPayable"
|
|
label="操作"
|
|
label="操作"
|
|
width="200"
|
|
width="200"
|
|
- >
|
|
|
|
- <el-button @click="collectment(2)">查看</el-button>
|
|
|
|
|
|
+ ><template scope="scope">
|
|
|
|
+ <el-button @click="collectment(2,scope.row)">查看</el-button>
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<!-- 收款 -->
|
|
<!-- 收款 -->
|
|
@@ -185,7 +183,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item
|
|
<el-form-item
|
|
label="收款日期"
|
|
label="收款日期"
|
|
- prop="submissionDate"
|
|
|
|
|
|
+ prop="collectionDate"
|
|
:label-width="formLabelWidth"
|
|
:label-width="formLabelWidth"
|
|
class="deal"
|
|
class="deal"
|
|
>
|
|
>
|
|
@@ -218,7 +216,6 @@
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<!--备注-->
|
|
<!--备注-->
|
|
-
|
|
|
|
<el-dialog
|
|
<el-dialog
|
|
width="25%"
|
|
width="25%"
|
|
title="备注"
|
|
title="备注"
|
|
@@ -237,10 +234,9 @@
|
|
</el-form>
|
|
</el-form>
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
<el-button @click="collectForm1 = false">取 消</el-button>
|
|
<el-button @click="collectForm1 = false">取 消</el-button>
|
|
- <el-button type="primary" @click="collectSubmit1">保存</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="adoptRemarks()">保存</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
-
|
|
|
|
<!-- <houseSelfCollectPrint v-show="false"></houseSelfCollectPrint> -->
|
|
<!-- <houseSelfCollectPrint v-show="false"></houseSelfCollectPrint> -->
|
|
<div style="text-align: center">
|
|
<div style="text-align: center">
|
|
<el-pagination
|
|
<el-pagination
|
|
@@ -256,7 +252,13 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import {} from '@/model/houseSelfCollect/index'
|
|
|
|
|
|
+import {
|
|
|
|
+ getcollection,
|
|
|
|
+ editcollect,
|
|
|
|
+ remarksAdd,
|
|
|
|
+ moneyCollection,
|
|
|
|
+ contractList
|
|
|
|
+} from '@/model/outboundManagement/index'
|
|
export default {
|
|
export default {
|
|
watch: {},
|
|
watch: {},
|
|
data() {
|
|
data() {
|
|
@@ -264,6 +266,7 @@ export default {
|
|
//分页
|
|
//分页
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
|
|
+ allmoney1:0,
|
|
deptCircularPage: {},
|
|
deptCircularPage: {},
|
|
deptBudgetTotal: 0,
|
|
deptBudgetTotal: 0,
|
|
warehouseList: [
|
|
warehouseList: [
|
|
@@ -271,10 +274,31 @@ export default {
|
|
collectionEdPayable: '快收款',
|
|
collectionEdPayable: '快收款',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
|
|
+ options:[],
|
|
|
|
+ contractNoList:[],
|
|
|
|
+ contractNo: '全部合同',
|
|
dialogVisible: false,
|
|
dialogVisible: false,
|
|
form: {},
|
|
form: {},
|
|
|
|
+ compId: sessionStorage.getItem('ws-pf_compId'),
|
|
collectForm: false,
|
|
collectForm: false,
|
|
collectForm1: false,
|
|
collectForm1: false,
|
|
|
|
+ managementType : 3,
|
|
|
|
+ remarks:'',
|
|
|
|
+ money: 0,
|
|
|
|
+ // id:'',
|
|
|
|
+ collectmoney: 0,
|
|
|
|
+ paymentManagementList:[],
|
|
|
|
+ collectionManagement:{
|
|
|
|
+ paymentManagementList:[],
|
|
|
|
+ remarks:'',
|
|
|
|
+ },
|
|
|
|
+ collectList:[],
|
|
|
|
+ collectionDate: '',
|
|
|
|
+ collectionScreenshot: '',
|
|
|
|
+ amountEdCollectionable:'',
|
|
|
|
+ actualCollectionment:'',
|
|
|
|
+ // collectDate: '',
|
|
|
|
+ calculationCollectable:'',
|
|
taskTypeList: ['一号库'],
|
|
taskTypeList: ['一号库'],
|
|
searchType: '',
|
|
searchType: '',
|
|
searchTypeText: '',
|
|
searchTypeText: '',
|
|
@@ -284,53 +308,55 @@ export default {
|
|
modification: [],
|
|
modification: [],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- activated() {},
|
|
|
|
|
|
+ activated() {
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
contractchange(e) {
|
|
contractchange(e) {
|
|
this.contractNo = e
|
|
this.contractNo = e
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
- //修改基差
|
|
|
|
|
|
+ //修改实际应收
|
|
varietyClick(row) {
|
|
varietyClick(row) {
|
|
- // if (row.basis) {
|
|
|
|
- // if (isNaN(row.basis)) {
|
|
|
|
- // this.$message({
|
|
|
|
- // message: '基差非数字!',
|
|
|
|
- // type: 'warning',
|
|
|
|
- // })
|
|
|
|
- // return
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- // if (
|
|
|
|
- // (row.basis&&
|
|
|
|
- // String(row.basis).indexOf('.') != -1 &&
|
|
|
|
- // String(row.basis).length -
|
|
|
|
- // (String(row.basis).indexOf('.') + 1) >
|
|
|
|
- // 2) ||
|
|
|
|
- // row.basis > 100000 ||
|
|
|
|
- // row.basis < -100000
|
|
|
|
- // ) {
|
|
|
|
- // this.$message({
|
|
|
|
- // message: '基差输入错误',
|
|
|
|
- // type: 'warning',
|
|
|
|
- // })
|
|
|
|
- // return
|
|
|
|
- // }
|
|
|
|
- // if (!String(row.basis)) {
|
|
|
|
- // this.$message({
|
|
|
|
- // message: '基差不能为空!',
|
|
|
|
- // type: 'warning',
|
|
|
|
- // })
|
|
|
|
- // return
|
|
|
|
- // }
|
|
|
|
- this.$confirm(`确定要修改应收?`, {
|
|
|
|
|
|
+ if (
|
|
|
|
+ row.actualCollectionment < 0 ||
|
|
|
|
+ row.actualCollectionment > 100000 ||
|
|
|
|
+ (String(row.actualCollectionment).indexOf('.') != -1 &&
|
|
|
|
+ String(row.actualCollectionment).length -
|
|
|
|
+ (String(row.actualCollectionment).indexOf('.') + 1) >
|
|
|
|
+ 2)
|
|
|
|
+ ) {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '金额输入错误',
|
|
|
|
+ type: 'warning',
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ if (row.actualCollectionment) {
|
|
|
|
+ if (isNaN(row.actualCollectionment)) {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '金额非数字!',
|
|
|
|
+ type: 'warning',
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (!row.actualCollectionment) {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '金额不能为空!',
|
|
|
|
+ type: 'warning',
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ this.$confirm(`确定要修改实际应收?`, {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
type: 'warning',
|
|
type: 'warning',
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|
|
- editCollect({
|
|
|
|
- basis: row.basis,
|
|
|
|
|
|
+ editcollect({
|
|
|
|
+ actualCollectionment: row.actualCollectionment,
|
|
|
|
+ amountNotCollectable:row.actualCollectionment-row.amountEdCollectionable,
|
|
id: row.id,
|
|
id: row.id,
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
@@ -350,46 +376,123 @@ export default {
|
|
whether(row) {
|
|
whether(row) {
|
|
row.identification = 'true'
|
|
row.identification = 'true'
|
|
},
|
|
},
|
|
- collectment(index) {
|
|
|
|
- this.$router.push({ path: 'collectionment', query: { type: index } })
|
|
|
|
|
|
+ // ,relationId :row.relationId
|
|
|
|
+ collectment(index,row) {
|
|
|
|
+ this.$router.push({ path: 'collectionment',
|
|
|
|
+ query: {
|
|
|
|
+ type: index,
|
|
|
|
+ id: row.id ,
|
|
|
|
+ relationId :row.relationId,
|
|
|
|
+ compId: sessionStorage.getItem('ws-pf_compId')} })
|
|
|
|
+ // this.$router.push({ path: 'settlement', query: { type: index,id: row.id,waterMin:data1.waterMin} })
|
|
},
|
|
},
|
|
collect() {
|
|
collect() {
|
|
|
|
+ this.allmoney1=0
|
|
if (this.modification.length == 0) {
|
|
if (this.modification.length == 0) {
|
|
- this.$message.warning('请选择要收款的条目')
|
|
|
|
|
|
+ this.$message.warning('请选择一条要收款的条目')
|
|
} else {
|
|
} else {
|
|
|
|
+ for (var i = 0; i < this.modification.length; i++) {
|
|
|
|
+ this.allmoney1 +=
|
|
|
|
+ // this.modification[i].amountNotCollectable
|
|
|
|
+ this.modification[i].actualCollectionment - this.modification[i].amountEdPayable
|
|
|
|
+ }
|
|
this.collectForm = true
|
|
this.collectForm = true
|
|
}
|
|
}
|
|
},
|
|
},
|
|
collectSubmit() {
|
|
collectSubmit() {
|
|
- this.$confirm('确定提交收款信息?', '提示', {
|
|
|
|
- confirmButtonText: '确定',
|
|
|
|
|
|
+
|
|
|
|
+ this.$confirm(`确定提交收款信息?`, {
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
|
|
+ confirmButtonText: '确定',
|
|
type: 'warning',
|
|
type: 'warning',
|
|
- })
|
|
|
|
- .then(() => {})
|
|
|
|
- .catch(() => {
|
|
|
|
- return false
|
|
|
|
|
|
+ }).then(() => {
|
|
|
|
+ moneyCollection({
|
|
|
|
+ paymentManagementList: this.modification,
|
|
|
|
+ money: this.collectmoney,
|
|
|
|
+ collectionDate: this.collectionDate,
|
|
|
|
+ collectionScreenshot: this.collectionScreenshot,
|
|
})
|
|
})
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.$message.success('收款成功')
|
|
|
|
+ this.collectmoney=''
|
|
|
|
+ this.collectionDate=''
|
|
|
|
+ this.collectionScreenshot=''
|
|
|
|
+ this.collectForm = false
|
|
|
|
+ this.getList()
|
|
|
|
+ })
|
|
|
|
+ })
|
|
},
|
|
},
|
|
- collectSubmit1() {
|
|
|
|
- this.$confirm('确定保存备注信息?', '提示', {
|
|
|
|
|
|
+ //添加备注信息
|
|
|
|
+ adopt() {
|
|
|
|
+ this.remarks = this.remarks
|
|
|
|
+ this.paymentManagementList = this.collectList[0].paymentManagementList
|
|
|
|
+ if (this.modification.length == 0) {
|
|
|
|
+ this.$message.warning('请选择要备注的条目')
|
|
|
|
+ } else {
|
|
|
|
+ this.collectForm1 = true
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ adoptRemarks() {
|
|
|
|
+ this.collectionManagement.remarks = this.remarks
|
|
|
|
+ this.$confirm(`确定要保存备注信息?`, {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
type: 'warning',
|
|
type: 'warning',
|
|
})
|
|
})
|
|
- .then(() => {})
|
|
|
|
- .catch(() => {
|
|
|
|
- return false
|
|
|
|
|
|
+ .then(() => {
|
|
|
|
+ remarksAdd({
|
|
|
|
+ paymentManagementList : this.modification,
|
|
|
|
+ remarks: this.remarks
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then(() => {
|
|
|
|
+ this.collectForm1 = false
|
|
|
|
+ this.$message.success('添加备注信息成功')
|
|
|
|
+ this.paymentManagementList = {}
|
|
|
|
+ this.getList()
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ .catch(() => {
|
|
|
|
+ return false
|
|
|
|
+ })
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ // disableReasons() {
|
|
|
|
+ // this.outerVisible = false
|
|
|
|
+ // this.disablieForm.disableStatusFlag = 0
|
|
|
|
+ // disableDriver(this.disablieForm)
|
|
|
|
+ // .toPromise()
|
|
|
|
+ // .then((response) => {
|
|
|
|
+ // this.$notify.success({
|
|
|
|
+ // title: '成功',
|
|
|
|
+ // message: '禁用成功',
|
|
|
|
+ // })
|
|
|
|
+ // this.getList()
|
|
|
|
+ // })
|
|
|
|
+ // .catch((response) => {
|
|
|
|
+ // EventBus.$emit('error', response.message)
|
|
|
|
+ // })
|
|
|
|
+ // },
|
|
handlePictureCardPreview1(file) {
|
|
handlePictureCardPreview1(file) {
|
|
this.collectionScreenshot = file.url
|
|
this.collectionScreenshot = file.url
|
|
},
|
|
},
|
|
- adopt() {
|
|
|
|
- if (this.modification.length == 0) {
|
|
|
|
- this.$message.warning('请选择要备注的条目')
|
|
|
|
|
|
+ dataFilter(val) {
|
|
|
|
+ // console.log(val,"名")
|
|
|
|
+ this.contractNo = val
|
|
|
|
+ if (val) {
|
|
|
|
+ //val存在
|
|
|
|
+ this.options = this.contractNoList.filter(item => {
|
|
|
|
+ if (
|
|
|
|
+ !!~item.contractNo.indexOf(val) ||
|
|
|
|
+ !!~item.contractNo.toUpperCase().indexOf(val.toUpperCase())
|
|
|
|
+ ) {
|
|
|
|
+ return true
|
|
|
|
+ }
|
|
|
|
+ })
|
|
} else {
|
|
} else {
|
|
- this.collectForm1 = true
|
|
|
|
|
|
+ //val为空时,还原数组
|
|
|
|
+ this.options = this.contractNoList
|
|
}
|
|
}
|
|
},
|
|
},
|
|
selectInit(row) {
|
|
selectInit(row) {
|
|
@@ -405,28 +508,39 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getList(){
|
|
getList(){
|
|
- detailsList({
|
|
|
|
|
|
+ getcollection({
|
|
|
|
+ managementType : this.managementType,
|
|
|
|
+ currentPage:this.currentPage,
|
|
|
|
+ pageSize:this.pageSize,
|
|
|
|
+ searchKeyWord:this.searchKeyWord,
|
|
|
|
+ searchType:this.searchType,
|
|
|
|
+ warehouseName:this.warehouseName,
|
|
|
|
+ contractNo: this.contractNo,
|
|
|
|
+ }).toPromise().then((response) => {
|
|
|
|
+ for (var i = 0; i < response.records.length; i++) {
|
|
|
|
+ response.records[i].identification = 'false'
|
|
|
|
+ }
|
|
|
|
+ this.collectList = response.records
|
|
|
|
+ })
|
|
|
|
+ contractList({
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
currentPage: this.currentPage,
|
|
currentPage: this.currentPage,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
- pcFlag: this.pcFlag,
|
|
|
|
- searchType: this.searchType,
|
|
|
|
- searchKeyWord: this.searchKeyWord,
|
|
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
- for (var i = 0; i < response.records.length; i++) {
|
|
|
|
- response.records[i].identification = 'false'
|
|
|
|
- }
|
|
|
|
- this.warehouseList = response
|
|
|
|
- this.deptCircularPage.currentPage = response.current
|
|
|
|
- this.deptCircularPage.pageSize = response.size
|
|
|
|
- this.deptBudgetTotal = response.total
|
|
|
|
|
|
+ this.contractNoList = response
|
|
|
|
+ this.contractNoList.unshift({contractNo:'全部合同'})
|
|
|
|
+ this.options=this.contractNoList
|
|
|
|
+ console.log( this.options[0].listStatus)
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ handleRemove(file) {
|
|
|
|
+ console.log(file)
|
|
},
|
|
},
|
|
handleSelectionChange(val) {
|
|
handleSelectionChange(val) {
|
|
this.modification = val
|
|
this.modification = val
|
|
|
|
+
|
|
},
|
|
},
|
|
selecttaskType() {},
|
|
selecttaskType() {},
|
|
handleSizeChange(val) {
|
|
handleSizeChange(val) {
|
|
@@ -439,6 +553,7 @@ export default {
|
|
console.log(`当前页: ${val}`)
|
|
console.log(`当前页: ${val}`)
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
|
|
+},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@@ -480,5 +595,11 @@ export default {
|
|
width: 40%;
|
|
width: 40%;
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
}
|
|
}
|
|
|
|
+.deal {
|
|
|
|
+ width: 66%;
|
|
|
|
+}
|
|
|
|
+.inputs {
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|
|
|
|
|