|
|
@@ -14,7 +14,7 @@
|
|
|
<a-button key="submit"
|
|
|
type="primary"
|
|
|
:loading="loading"
|
|
|
- @click="submit">入库登记
|
|
|
+ @click="submit">出库登记
|
|
|
</a-button>
|
|
|
</template>
|
|
|
<a-form class="inlineForm"
|
|
|
@@ -105,7 +105,7 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
- <a-form-item label="入库仓库"
|
|
|
+ <a-form-item label="出库仓库"
|
|
|
name="WarehouseInfo">
|
|
|
<a-select class="inlineFormSelect"
|
|
|
style="width: 200px"
|
|
|
@@ -119,12 +119,12 @@
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
- <a-form-item label="入库数量"
|
|
|
+ <a-form-item label="出库数量"
|
|
|
name="Qty">
|
|
|
<a-input-number class="dialogInput"
|
|
|
style="width: 200px"
|
|
|
suffix="单位"
|
|
|
- placeholder="请输入入库数量"
|
|
|
+ placeholder="请输入出库数量"
|
|
|
v-model:value="formState.Qty">
|
|
|
</a-input-number>
|
|
|
</a-form-item>
|
|
|
@@ -194,7 +194,7 @@ export default defineComponent({
|
|
|
const wrapEl = unref(formRef);
|
|
|
wrapEl.validate().then(() => {
|
|
|
const params: ERMCPAreaInOutStockApplyReq = {
|
|
|
- InOutType: 5, // 5:采购入库 6:销售出库 7:生产入库 8:生产出库
|
|
|
+ InOutType: 6, // 5:采购入库 6:销售出库 7:生产入库 8:生产出库
|
|
|
WRStandardID: props.selectedRow.wrstandardid, //品类ID
|
|
|
SpotGoodsBrandID: formState.SpotGoodsBrandID || 0, //现货品牌ID(DGFactoryItem表的ID)
|
|
|
DeliveryGoodsID: props.selectedRow.deliverygoodsid, //现货商品ID
|
|
|
@@ -203,7 +203,7 @@ export default defineComponent({
|
|
|
Qty: formState.Qty || 0, // double 数量t
|
|
|
ApplyRemark: '', // string 申请备注
|
|
|
};
|
|
|
- requestResultLoadingAndInfo(ermcpInOutStockApplyReq, params, loading, ['入库登记成功', '入库登记失败:']).then(() => {
|
|
|
+ requestResultLoadingAndInfo(ermcpInOutStockApplyReq, params, loading, ['出库登记成功', '出库登记失败:']).then(() => {
|
|
|
context.emit('refresh');
|
|
|
cancel();
|
|
|
});
|