Commit f8c8b3e2 authored by Mac's avatar Mac

电商入库的按钮处理

parent 458c11ff
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
</el-table> </el-table>
</div> </div>
<el-button size="small" type="primary" @click="submitForm()" :disabled = 'ISoperation' >入库</el-button <el-button size="small" type="primary" @click="submitForm()" :disabled = 'ISoperation' :loading="rukuloading">入库</el-button
> >
</div> </div>
</template> </template>
...@@ -95,7 +95,8 @@ export default { ...@@ -95,7 +95,8 @@ export default {
return { return {
Detaildata:{}, Detaildata:{},
WareHouseId:0, WareHouseId:0,
ISoperation:false ISoperation:false,
rukuloading:false,
}; };
}, },
created() {}, created() {},
...@@ -155,7 +156,9 @@ export default { ...@@ -155,7 +156,9 @@ export default {
this.Error('请输入入库数量'); this.Error('请输入入库数量');
return return
} }
this.rukuloading=true
this.assetsApipost("/api/property/SetProcurementStockIn", msg, res => { this.assetsApipost("/api/property/SetProcurementStockIn", msg, res => {
this.rukuloading=false
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.Success(res.data.message); this.Success(res.data.message);
// this.getProcurementInfo(this.$route.query) // this.getProcurementInfo(this.$route.query)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment