代码合并
This commit is contained in:
@@ -2522,6 +2522,7 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
|||||||
JSONArray allRowArr = WQL.getWO("ST_OUTIVT04")
|
JSONArray allRowArr = WQL.getWO("ST_OUTIVT04")
|
||||||
.addParam("flag", "1")
|
.addParam("flag", "1")
|
||||||
.addParam("iostorinvdtl_id", iostorinvdtl_id)
|
.addParam("iostorinvdtl_id", iostorinvdtl_id)
|
||||||
|
.addParam("iostorinv_id", iostorinv_id)
|
||||||
.process()
|
.process()
|
||||||
.getResultJSONArray(0);
|
.getResultJSONArray(0);
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
## 表字段对应输入参数
|
## 表字段对应输入参数
|
||||||
#################################################
|
#################################################
|
||||||
输入.flag TYPEAS s_string
|
输入.flag TYPEAS s_string
|
||||||
|
输入.iostorinv_id TYPEAS s_string
|
||||||
输入.iostorinvdtl_id TYPEAS s_string
|
输入.iostorinvdtl_id TYPEAS s_string
|
||||||
输入.block_num TYPEAS s_string
|
输入.block_num TYPEAS s_string
|
||||||
输入.row_num TYPEAS s_string
|
输入.row_num TYPEAS s_string
|
||||||
@@ -58,6 +59,10 @@
|
|||||||
dis.iostorinvdtl_id = 输入.iostorinvdtl_id
|
dis.iostorinvdtl_id = 输入.iostorinvdtl_id
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
|
|
||||||
|
OPTION 输入.iostorinv_id <> ""
|
||||||
|
dis.iostorinv_id = 输入.iostorinv_id
|
||||||
|
ENDOPTION
|
||||||
|
|
||||||
group by attr.block_num,attr.row_num
|
group by attr.block_num,attr.row_num
|
||||||
|
|
||||||
order by attr.row_num ASC
|
order by attr.row_num ASC
|
||||||
|
|||||||
@@ -92,6 +92,17 @@
|
|||||||
>
|
>
|
||||||
手工分配
|
手工分配
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<el-button
|
||||||
|
slot="left"
|
||||||
|
class="filter-item"
|
||||||
|
type="warning"
|
||||||
|
:loading="loadingSetAllPoint"
|
||||||
|
icon="el-icon-check"
|
||||||
|
size="mini"
|
||||||
|
@click="allSetPointAllDtl"
|
||||||
|
>
|
||||||
|
一键设置
|
||||||
|
</el-button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
|
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
|
||||||
@@ -289,6 +300,7 @@ export default {
|
|||||||
loadingAlldiv: false,
|
loadingAlldiv: false,
|
||||||
loadingAutodiv: false,
|
loadingAutodiv: false,
|
||||||
loadingSetPoint: false,
|
loadingSetPoint: false,
|
||||||
|
loadingSetAllPoint: false,
|
||||||
areatype: '',
|
areatype: '',
|
||||||
typedisable: false,
|
typedisable: false,
|
||||||
pointshow: false,
|
pointshow: false,
|
||||||
@@ -610,6 +622,22 @@ export default {
|
|||||||
this.loadingSetAllPoint = false
|
this.loadingSetAllPoint = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
allSetPointAllDtl() {
|
||||||
|
if (this.form2.point_code === '') {
|
||||||
|
this.crud.notify('请先选择站点!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.loadingSetAllPoint = true
|
||||||
|
this.currentRow.point_code = this.form2.point_code
|
||||||
|
this.currentRow.iostorinv_id = this.mstrow.iostorinv_id
|
||||||
|
checkoutbill.allSetPoint(this.currentRow).then(res => {
|
||||||
|
this.queryTableDdis(this.currentRow.iostorinvdtl_id)
|
||||||
|
this.crud.notify('设置成功!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||||
|
this.loadingSetAllPoint = false
|
||||||
|
}).catch(() => {
|
||||||
|
this.loadingSetAllPoint = false
|
||||||
|
})
|
||||||
|
},
|
||||||
queryTableDtl() {
|
queryTableDtl() {
|
||||||
checkoutbill.getOutBillDtl({ 'iostorinv_id': this.mstrow.iostorinv_id }).then(res => {
|
checkoutbill.getOutBillDtl({ 'iostorinv_id': this.mstrow.iostorinv_id }).then(res => {
|
||||||
this.tableDtl = res
|
this.tableDtl = res
|
||||||
|
|||||||
Reference in New Issue
Block a user