|
|
|
@ -135,6 +135,24 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" style="margin-top: -10px;">
|
|
|
|
|
<el-col :span="3">
|
|
|
|
|
<div class="ao-text">
|
|
|
|
|
<span></span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="7">
|
|
|
|
|
<el-form-item prop="type" style="margin-right: 20px;"
|
|
|
|
|
v-if="!(curAction.mainAction=='WareHouseIn' && curAction.corpType == 0)">
|
|
|
|
|
<el-checkbox v-model="formData.noInvOut">允许无库存出库
|
|
|
|
|
</el-checkbox>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-card>
|
|
|
|
|
|
|
|
|
|
<el-card>
|
|
|
|
@ -263,33 +281,9 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
<!-- <div class="block" v-if="orderEditor">-->
|
|
|
|
|
<!-- <el-pagination-->
|
|
|
|
|
<!-- @current-change="handleCurrentChange"-->
|
|
|
|
|
<!-- layout="prev, pager, next"-->
|
|
|
|
|
<!-- :page-size="query.limit"-->
|
|
|
|
|
<!-- :total="total">-->
|
|
|
|
|
<!-- </el-pagination>-->
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
</el-card>
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
<!-- <el-dialog-->
|
|
|
|
|
<!-- title="产品录入"-->
|
|
|
|
|
<!-- :visible.sync="selectProductVisible"-->
|
|
|
|
|
<!-- width="85%"-->
|
|
|
|
|
<!-- v-if="selectProductVisible"-->
|
|
|
|
|
<!-- :append-to-body='true'-->
|
|
|
|
|
<!-- :close-on-click-modal="false"-->
|
|
|
|
|
<!-- :close-on-press-escape="false"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <stockOrderNewSelectProduct-->
|
|
|
|
|
<!-- :closeDialog="closeDialogC2"-->
|
|
|
|
|
<!-- :data="thisData"-->
|
|
|
|
|
<!-- ></stockOrderNewSelectProduct>-->
|
|
|
|
|
<!-- </el-dialog>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
|
title="产品录入"
|
|
|
|
@ -373,7 +367,21 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
},
|
|
|
|
|
formData: {},
|
|
|
|
|
formData: {
|
|
|
|
|
|
|
|
|
|
noInvOut: false,
|
|
|
|
|
locStorageCode: null,
|
|
|
|
|
invWarehouseCode: null,
|
|
|
|
|
fromSubInvCode: null,
|
|
|
|
|
billNo: null,
|
|
|
|
|
billdate: "",
|
|
|
|
|
customerId: store.getters.customerId,
|
|
|
|
|
billType: "",
|
|
|
|
|
type: null,
|
|
|
|
|
corpName: "",
|
|
|
|
|
corpId: "",
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
formRules: {
|
|
|
|
|
corpName: [
|
|
|
|
|
{required: true, message: "请输入供应商", trigger: "blur"}
|
|
|
|
@ -1052,13 +1060,16 @@ export default {
|
|
|
|
|
this.invChange();
|
|
|
|
|
} else {
|
|
|
|
|
this.formData = {
|
|
|
|
|
billNo: null,
|
|
|
|
|
billdate: "",
|
|
|
|
|
corpName: store.getters.companyName,
|
|
|
|
|
customerId: store.getters.customerId,
|
|
|
|
|
// billType: "deliveryNote",
|
|
|
|
|
billType: "",
|
|
|
|
|
type: "1",
|
|
|
|
|
// type: "",
|
|
|
|
|
type: "2",
|
|
|
|
|
corpName: "",
|
|
|
|
|
corpId: "",
|
|
|
|
|
noInvOut: "",
|
|
|
|
|
locStorageCode: store.getters.locInvCode,
|
|
|
|
|
invWarehouseCode: store.getters.locSubInvCode,
|
|
|
|
|
};
|
|
|
|
|
this.iCount = 0;
|
|
|
|
|
this.orderEditor = false;
|
|
|
|
|