|
|
|
|
@ -12,6 +12,7 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item> |
|
|
|
|
<el-button type="primary" @click="settlementFnNum" v-if="permission.settlementAnomaly_settlement">结算</el-button> |
|
|
|
|
<!-- <el-button type="danger" @click="">无需结算</el-button> --> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
</template> |
|
|
|
|
@ -22,6 +23,25 @@ |
|
|
|
|
<template #menu> |
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
<template #ocIds-search="{ type }"> |
|
|
|
|
<jhSelect |
|
|
|
|
:value="searchParams.ocIds" |
|
|
|
|
@input="val => (searchParams.ocIds = val)" |
|
|
|
|
placeholder="请搜索选择" |
|
|
|
|
api-url="/blade-desk/BA/Oem/list" |
|
|
|
|
echo-api="/blade-desk/BA/Oem/list" |
|
|
|
|
echoParamsKey="ids" |
|
|
|
|
echo-method="get" |
|
|
|
|
api-method="get" |
|
|
|
|
list-key="records" |
|
|
|
|
total-key="total" |
|
|
|
|
label-key="ocName" |
|
|
|
|
labelPre="code" |
|
|
|
|
value-key="id" |
|
|
|
|
search-key="code" |
|
|
|
|
:debounce-time="500" |
|
|
|
|
/> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
</avue-crud> |
|
|
|
|
<settlementDailog v-if="isOpen" :showDialog="isOpen" :type="settlementType" :statementList="selectionList" :settleResult="settleResult" @closeDialog="closeDialog" @refresh="refreshTable"></settlementDailog> |
|
|
|
|
@ -190,14 +210,19 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '结算大类', |
|
|
|
|
prop: 'statementCategory', |
|
|
|
|
prop: 'statementCategoryId', |
|
|
|
|
sortable: 'custom', |
|
|
|
|
type:"select", |
|
|
|
|
filter: true, |
|
|
|
|
span: 24, |
|
|
|
|
search: true, |
|
|
|
|
width: 120, |
|
|
|
|
searchOrder:19, |
|
|
|
|
|
|
|
|
|
dicUrl:"/api/blade-desk/mesOemStatementCategory/listForSelect", |
|
|
|
|
props:{ |
|
|
|
|
label:'statementCategory', |
|
|
|
|
value:"id" |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '流程卡号', |
|
|
|
|
@ -349,6 +374,7 @@ export default { |
|
|
|
|
prop: 'memo', |
|
|
|
|
sortable: true, |
|
|
|
|
filterable: true, |
|
|
|
|
clearable:true, |
|
|
|
|
span: 24, |
|
|
|
|
search: true, |
|
|
|
|
width: 120, |
|
|
|
|
@ -433,7 +459,7 @@ export default { |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '外协厂商', |
|
|
|
|
prop: 'ocId', |
|
|
|
|
prop: 'ocIds', |
|
|
|
|
sortable: true, |
|
|
|
|
filterable: true, |
|
|
|
|
span: 24, |
|
|
|
|
@ -620,7 +646,8 @@ export default { |
|
|
|
|
...this.query, |
|
|
|
|
postPlatingStorageTimeStart:this.query && this.query.putStoreTime && this.query.putStoreTime.length != 0 && this.query.putStoreTime[0], |
|
|
|
|
postPlatingStorageTimeEnd:this.query && this.query.putStoreTime && this.query.putStoreTime.length != 0 && this.query.putStoreTime[1], |
|
|
|
|
memo:this.query && this.query.memo && typeof(this.query.memo) == 'object' && this.query.memo.length != 0 ? this.query.memo.join(';') : this.query.memo, |
|
|
|
|
memo:this.query && this.query.memo && typeof(this.query.memo) == 'object' && this.query.memo.length != 0 ? |
|
|
|
|
this.query.memo.join(';') : this.query.memo && this.query.memo.indexOf(',') != -1 ? this.query.memo.split(',').join(';') : this.query.memo, |
|
|
|
|
// memo:this.query && this.query.memo && this.query.memo.length != 0 && this.query.memo.join(';'), |
|
|
|
|
} |
|
|
|
|
if(params.putStoreTime) delete params.putStoreTime; |
|
|
|
|
|