| | |
| | | <view> |
| | | <view class="form"> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.BarCode") == "Kf_OtherOutBill_PDA.BarCode" ? "条码" : $t("Kf_OtherOutBill_PDA.BarCode") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.BarCode") == "Kf_OtherOutBill_PDA.BarCode" ? "条码" : $t("Kf_OtherOutBill_PDA.BarCode") }}: |
| | | </view> |
| | | <view class="right" style="width: 380rpx;"> |
| | | <input :focus="BarCodeFocus" v-model="hform.HBarCode" :placeholder="placeholder_BarCode" |
| | | @confirm="getCode(hform.HBarCode)" /> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Qty") == "Kf_OtherOutBill_PDA.Qty" ? "数量" : $t("Kf_OtherOutBill_PDA.Qty") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Qty") == "Kf_OtherOutBill_PDA.Qty" ? "数量" : $t("Kf_OtherOutBill_PDA.Qty") }}: |
| | | </view> |
| | | <view class="right"> |
| | | <input v-model="hform.HQty" :placeholder="placeholder_Qty" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Warehouse") == "Kf_OtherOutBill_PDA.Warehouse" ? "仓库" : $t("Kf_OtherOutBill_PDA.Warehouse") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Warehouse") == "Kf_OtherOutBill_PDA.Warehouse" ? "仓库" : $t("Kf_OtherOutBill_PDA.Warehouse") }}: |
| | | </view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHWHName" :placeholder="placeholder_Warehouse" v-model="hform.HWHName" |
| | | @input="HWHNameChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.StockPlace") == "Kf_OtherOutBill_PDA.StockPlace" ? "仓位" : $t("Kf_OtherOutBill_PDA.StockPlace") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.StockPlace") == "Kf_OtherOutBill_PDA.StockPlace" ? "仓位" : $t("Kf_OtherOutBill_PDA.StockPlace") }}: |
| | | </view> |
| | | <view class="right" v-show="showHStockPlaceName"> |
| | | <uni-combox :candidates="HStockPlaceNameListComputed" :placeholder="placeholder_StockPlace" |
| | | v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox> |
| | | </view> |
| | | <view class="righton" v-show="!showHStockPlaceName"> |
| | | <input v-model="hform.HStockPlaceName" :disabled="!showHStockPlaceName" :placeholder="$t('Kf_OtherOutBill_PDA.disabledPlaceholder')" /> |
| | | <input v-model="hform.HStockPlaceName" :disabled="!showHStockPlaceName" |
| | | :placeholder="$t('Kf_OtherOutBill_PDA.disabledPlaceholder')" /> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="tabs"> |
| | | <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0">{{ $t("Kf_OtherOutBill_PDA.selectSource") == "Kf_OtherOutBill_PDA.selectSource" ? "选择源单" : $t("Kf_OtherOutBill_PDA.selectSource") }}</view> |
| | | <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1">{{ $t("Kf_OtherOutBill_PDA.tableInfo") == "Kf_OtherOutBill_PDA.tableInfo" ? "表头信息" : $t("Kf_OtherOutBill_PDA.tableInfo") }}</view> |
| | | <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2">{{ $t("Kf_OtherOutBill_PDA.materInfo") == "Kf_OtherOutBill_PDA.materInfo" ? "物料信息" : $t("Kf_OtherOutBill_PDA.materInfo") }}</view> |
| | | <view :class="tabs == 3 ? 'on':''" @tap="tabs = 3">{{ $t("Kf_OtherOutBill_PDA.barInfo") == "Kf_OtherOutBill_PDA.barInfo" ? "条码信息" : $t("Kf_OtherOutBill_PDA.barInfo") }}</view> |
| | | <view :class="tabs == 4 ? 'on':''" @tap="tabs = 4">{{ $t("Kf_OtherOutBill_PDA.removeShelvesInfo") == "Kf_OtherOutBill_PDA.removeShelvesInfo" ? "下架信息" : $t("Kf_OtherOutBill_PDA.removeShelvesInfo") }}</view> |
| | | <view :class="tabs == 0 ? 'on':''" @tap="tabs = 0"> |
| | | {{ $t("Kf_OtherOutBill_PDA.selectSource") == "Kf_OtherOutBill_PDA.selectSource" ? "选择源单" : $t("Kf_OtherOutBill_PDA.selectSource") }} |
| | | </view> |
| | | <view :class="tabs == 1 ? 'on':''" @tap="tabs = 1"> |
| | | {{ $t("Kf_OtherOutBill_PDA.tableInfo") == "Kf_OtherOutBill_PDA.tableInfo" ? "表头信息" : $t("Kf_OtherOutBill_PDA.tableInfo") }} |
| | | </view> |
| | | <view :class="tabs == 2 ? 'on':''" @tap="tabs = 2"> |
| | | {{ $t("Kf_OtherOutBill_PDA.materInfo") == "Kf_OtherOutBill_PDA.materInfo" ? "物料信息" : $t("Kf_OtherOutBill_PDA.materInfo") }} |
| | | </view> |
| | | <view :class="tabs == 3 ? 'on':''" @tap="tabs = 3"> |
| | | {{ $t("Kf_OtherOutBill_PDA.barInfo") == "Kf_OtherOutBill_PDA.barInfo" ? "条码信息" : $t("Kf_OtherOutBill_PDA.barInfo") }} |
| | | </view> |
| | | <view :class="tabs == 4 ? 'on':''" @tap="tabs = 4"> |
| | | {{ $t("Kf_OtherOutBill_PDA.removeShelvesInfo") == "Kf_OtherOutBill_PDA.removeShelvesInfo" ? "下架信息" : $t("Kf_OtherOutBill_PDA.removeShelvesInfo") }} |
| | | </view> |
| | | </view> |
| | | |
| | | <view v-if="tabs == 0"> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.SourceBillType") == "Kf_OtherOutBill_PDA.SourceBillType" ? "源单类型" : $t("Kf_OtherOutBill_PDA.SourceBillType") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.SourceBillType") == "Kf_OtherOutBill_PDA.SourceBillType" ? "源单类型" : $t("Kf_OtherOutBill_PDA.SourceBillType") }}: |
| | | </view> |
| | | <view class="right" v-show="showHMainSourceBillType"> |
| | | <picker :range="arrayHMainSourceBillType" v-model="HMainSourceBillType" |
| | | @change="HMainSourceBillTypeChange"> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.SourceBillNo") == "Kf_OtherOutBill_PDA.SourceBillNo" ? "源单单号" : $t("Kf_OtherOutBill_PDA.SourceBillNo") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.SourceBillNo") == "Kf_OtherOutBill_PDA.SourceBillNo" ? "源单单号" : $t("Kf_OtherOutBill_PDA.SourceBillNo") }}: |
| | | </view> |
| | | <view class="right" v-show="showHSourceBillNo"> |
| | | <input :focus="HSourceBillNoFocus" @confirm="onHSourceBillNoConfirmHandler" type="text" |
| | | name="HSourceBillNo" v-model="hform.HSourceBillNo" :placeholder="placeholder_SourceBillNo" /> |
| | | name="HSourceBillNo" v-model="hform.HSourceBillNo" |
| | | :placeholder="placeholder_SourceBillNo" /> |
| | | </view> |
| | | <view class="icon-wrapper" v-show="showHSourceBillNo" :disabled="hform.HMainSourceBillType === -1"> |
| | | <uni-icons type="scan" size="20" @click="toScanBillCode"></uni-icons> |
| | | </view> |
| | | |
| | | <view class="icon-wrapper" v-show="showHSourceBillNo" :disabled="hform.HMainSourceBillType == -1"> |
| | | <uni-icons :hidden="hform.HMainSourceBillType == -1" type="search" size="20" |
| | | @click="showBillList"></uni-icons> |
| | | </view> |
| | | <view class="righton" v-show="!showHSourceBillNo"> |
| | | <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" :placeholder="placeholder_SourceBillNo" /> |
| | | <input name="HSourceBillNo" disabled v-model="hform.HSourceBillNo" |
| | | :placeholder="placeholder_SourceBillNo" /> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.BillSubType") == "Kf_OtherOutBill_PDA.BillSubType" ? "单据子类型" : $t("Kf_OtherOutBill_PDA.BillSubType") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.BillSubType") == "Kf_OtherOutBill_PDA.BillSubType" ? "单据子类型" : $t("Kf_OtherOutBill_PDA.BillSubType") }}: |
| | | </view> |
| | | <view class="right"> |
| | | <picker :range="arrayHBillSubType" v-model="hform.HBillSubType" @change="HBillSubTypeChange"> |
| | | <input disabled name="HMainSourceBillType" v-model="HBillSubType" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_BillSubType')" /> |
| | | <input disabled name="HMainSourceBillType" v-model="HBillSubType" |
| | | :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_BillSubType')" /> |
| | | <view class="picker-overlay"></view> |
| | | </picker> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.FIFOWarehouse") == "Kf_OtherOutBill_PDA.FIFOWarehouse" ? "先进先出仓" : $t("Kf_OtherOutBill_PDA.FIFOWarehouse") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.FIFOWarehouse") == "Kf_OtherOutBill_PDA.FIFOWarehouse" ? "先进先出仓" : $t("Kf_OtherOutBill_PDA.FIFOWarehouse") }}: |
| | | </view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHWHName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_FIFOWarehouse')" v-model="hform.HFIFOWHName" |
| | | @input="HFIFOWHNameChange"></uni-combox> |
| | | <uni-combox :candidates="arrayHWHName" |
| | | :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_FIFOWarehouse')" |
| | | v-model="hform.HFIFOWHName" @input="HFIFOWHNameChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Date") == "Kf_OtherOutBill_PDA.Date" ? "日期" : $t("Kf_OtherOutBill_PDA.Date") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Date") == "Kf_OtherOutBill_PDA.Date" ? "日期" : $t("Kf_OtherOutBill_PDA.Date") }}: |
| | | </view> |
| | | <view class="right"> |
| | | <picker mode="date" v-model="hform.HDate" @change="HDateChange"> |
| | | <view class="picker-overlay"></view> |
| | | <input disabled v-model="hform.HDate" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Date')" /> |
| | | <input disabled v-model="hform.HDate" |
| | | :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Date')" /> |
| | | </picker> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Maker") == "Kf_OtherOutBill_PDA.Maker" ? "制单人" : $t("Kf_OtherOutBill_PDA.Maker") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Maker") == "Kf_OtherOutBill_PDA.Maker" ? "制单人" : $t("Kf_OtherOutBill_PDA.Maker") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input name="HMaker" disabled v-model="hform.HMaker" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.BillNo") == "Kf_OtherOutBill_PDA.BillNo" ? "单据号" : $t("Kf_OtherOutBill_PDA.BillNo") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.BillNo") == "Kf_OtherOutBill_PDA.BillNo" ? "单据号" : $t("Kf_OtherOutBill_PDA.BillNo") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input name="HBillNo" disabled v-model="hform.HBillNo" /> |
| | | </view> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.BillID") == "Kf_OtherOutBill_PDA.BillID" ? "单据ID" : $t("Kf_OtherOutBill_PDA.BillID") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.BillID") == "Kf_OtherOutBill_PDA.BillID" ? "单据ID" : $t("Kf_OtherOutBill_PDA.BillID") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input name="HInterID" disabled v-model="hform.HInterID" /> |
| | | </view> |
| | |
| | | |
| | | <view v-if="tabs == 1"> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Keeper") == "Kf_OtherOutBill_PDA.Keeper" ? "保管" : $t("Kf_OtherOutBill_PDA.Keeper") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Keeper") == "Kf_OtherOutBill_PDA.Keeper" ? "保管" : $t("Kf_OtherOutBill_PDA.Keeper") }}: |
| | | </view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHEmpName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Keeper')" v-model="hform.HKeeperName" |
| | | <uni-combox :candidates="arrayHEmpName" |
| | | :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Keeper')" v-model="hform.HKeeperName" |
| | | @input="HKeeperNameChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.SecManager") == "Kf_OtherOutBill_PDA.SecManager" ? "验收" : $t("Kf_OtherOutBill_PDA.SecManager") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.SecManager") == "Kf_OtherOutBill_PDA.SecManager" ? "验收" : $t("Kf_OtherOutBill_PDA.SecManager") }}: |
| | | </view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHEmpName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_SecManager')" v-model="hform.HSecManagerName" |
| | | @input="HSecManagerNameChange"></uni-combox> |
| | | <uni-combox :candidates="arrayHEmpName" |
| | | :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_SecManager')" |
| | | v-model="hform.HSecManagerName" @input="HSecManagerNameChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Dept") == "Kf_OtherOutBill_PDA.Dept" ? "部门" : $t("Kf_OtherOutBill_PDA.Dept") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Dept") == "Kf_OtherOutBill_PDA.Dept" ? "部门" : $t("Kf_OtherOutBill_PDA.Dept") }}: |
| | | </view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="arrayHDeptName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Dept')" v-model="hform.HDeptName" |
| | | <uni-combox :candidates="arrayHDeptName" |
| | | :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Dept')" v-model="hform.HDeptName" |
| | | @input="HDeptNameChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Customer") == "Kf_OtherOutBill_PDA.Customer" ? "客户" : $t("Kf_OtherOutBill_PDA.Customer") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Customer") == "Kf_OtherOutBill_PDA.Customer" ? "客户" : $t("Kf_OtherOutBill_PDA.Customer") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input name="HSupName" disabled v-model="hform.HSupName" :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Customer')" /> |
| | | <input name="HSupName" disabled v-model="hform.HSupName" |
| | | :placeholder="$t('Kf_OtherOutBill_PDA.placeholder_Customer')" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.StockOrg") == "Kf_OtherOutBill_PDA.StockOrg" ? "组织" : $t("Kf_OtherOutBill_PDA.StockOrg") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.StockOrg") == "Kf_OtherOutBill_PDA.StockOrg" ? "组织" : $t("Kf_OtherOutBill_PDA.StockOrg") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input name="HStockOrgName" disabled v-model="hform.HStockOrgName" /> |
| | | </view> |
| | |
| | | </view> |
| | | </uni-card> |
| | | </view> |
| | | <view class="over" v-if="Materlist.length == 0">{{ $t("Kf_OtherOutBill_PDA.noData") == "Kf_OtherOutBill_PDA.noData" ? "暂无数据" : $t("Kf_OtherOutBill_PDA.noData") }}</view> |
| | | <view class="over" v-if="Materlist.length == 0"> |
| | | {{ $t("Kf_OtherOutBill_PDA.noData") == "Kf_OtherOutBill_PDA.noData" ? "暂无数据" : $t("Kf_OtherOutBill_PDA.noData") }} |
| | | </view> |
| | | </view> |
| | | |
| | | <view v-if="tabs == 4"> |
| | |
| | | </view> |
| | | </uni-card> |
| | | </view> |
| | | <view class="over" v-if="FIFOlist.length == 0">{{ $t("Kf_OtherOutBill_PDA.noData") == "Kf_OtherOutBill_PDA.noData" ? "暂无数据" : $t("Kf_OtherOutBill_PDA.noData") }}</view> |
| | | <view class="over" v-if="FIFOlist.length == 0"> |
| | | {{ $t("Kf_OtherOutBill_PDA.noData") == "Kf_OtherOutBill_PDA.noData" ? "暂无数据" : $t("Kf_OtherOutBill_PDA.noData") }} |
| | | </view> |
| | | </view> |
| | | |
| | | <view v-if="tabs == 3"> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.BarCode") == "Kf_OtherOutBill_PDA.BarCode" ? "条码" : $t("Kf_OtherOutBill_PDA.BarCode") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.BarCode") == "Kf_OtherOutBill_PDA.BarCode" ? "条码" : $t("Kf_OtherOutBill_PDA.BarCode") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input name="HBarCode_B" disabled v-model="hform.HBarCode_B" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Material") == "Kf_OtherOutBill_PDA.Material" ? "物料" : $t("Kf_OtherOutBill_PDA.Material") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Material") == "Kf_OtherOutBill_PDA.Material" ? "物料" : $t("Kf_OtherOutBill_PDA.Material") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input disabled v-model="hform.HMaterName_B" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.MaterModel") == "Kf_OtherOutBill_PDA.MaterModel" ? "规格" : $t("Kf_OtherOutBill_PDA.MaterModel") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.MaterModel") == "Kf_OtherOutBill_PDA.MaterModel" ? "规格" : $t("Kf_OtherOutBill_PDA.MaterModel") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input disabled v-model="hform.HMaterModel_B" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.BatchNo") == "Kf_OtherOutBill_PDA.BatchNo" ? "批次" : $t("Kf_OtherOutBill_PDA.BatchNo") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.BatchNo") == "Kf_OtherOutBill_PDA.BatchNo" ? "批次" : $t("Kf_OtherOutBill_PDA.BatchNo") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input disabled v-model="hform.HBatchNo_B" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Unit") == "Kf_OtherOutBill_PDA.Unit" ? "单位" : $t("Kf_OtherOutBill_PDA.Unit") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Unit") == "Kf_OtherOutBill_PDA.Unit" ? "单位" : $t("Kf_OtherOutBill_PDA.Unit") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input disabled v-model="hform.HUnitName_B" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Qty") == "Kf_OtherOutBill_PDA.Qty" ? "数量" : $t("Kf_OtherOutBill_PDA.Qty") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Qty") == "Kf_OtherOutBill_PDA.Qty" ? "数量" : $t("Kf_OtherOutBill_PDA.Qty") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input disabled v-model="hform.HQty_B" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Capacity") == "Kf_OtherOutBill_PDA.Capacity" ? "容量" : $t("Kf_OtherOutBill_PDA.Capacity") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Capacity") == "Kf_OtherOutBill_PDA.Capacity" ? "容量" : $t("Kf_OtherOutBill_PDA.Capacity") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input disabled v-model="hform.HTMQty_B" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.Warehouse") == "Kf_OtherOutBill_PDA.Warehouse" ? "仓库" : $t("Kf_OtherOutBill_PDA.Warehouse") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.Warehouse") == "Kf_OtherOutBill_PDA.Warehouse" ? "仓库" : $t("Kf_OtherOutBill_PDA.Warehouse") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input disabled v-model="hform.HWHName_B" /> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="title">{{ $t("Kf_OtherOutBill_PDA.StockPlace") == "Kf_OtherOutBill_PDA.StockPlace" ? "仓位" : $t("Kf_OtherOutBill_PDA.StockPlace") }}:</view> |
| | | <view class="title"> |
| | | {{ $t("Kf_OtherOutBill_PDA.StockPlace") == "Kf_OtherOutBill_PDA.StockPlace" ? "仓位" : $t("Kf_OtherOutBill_PDA.StockPlace") }}: |
| | | </view> |
| | | <view class="righton"> |
| | | <input disabled v-model="hform.HSPName_B" /> |
| | | </view> |
| | |
| | | </view> |
| | | |
| | | <view class="bottom-btn"> |
| | | <button class="btn-a" size="mini" @tap="submit">{{ $t("Kf_OtherOutBill_PDA.btnSubmit") == "Kf_OtherOutBill_PDA.btnSubmit" ? "提交" : $t("Kf_OtherOutBill_PDA.btnSubmit") }}</button> |
| | | <button class="btn-a" size="mini" |
| | | @tap="submit">{{ $t("Kf_OtherOutBill_PDA.btnSubmit") == "Kf_OtherOutBill_PDA.btnSubmit" ? "提交" : $t("Kf_OtherOutBill_PDA.btnSubmit") }}</button> |
| | | <view style="flex: 1;"></view> |
| | | <button class="btn-a" size="mini" @tap="addNew">{{ $t("Kf_OtherOutBill_PDA.btnAdd") == "Kf_OtherOutBill_PDA.btnAdd" ? "新增" : $t("Kf_OtherOutBill_PDA.btnAdd") }}</button> |
| | | <button class="btn-c" size="mini" @tap="goBack">{{ $t("Kf_OtherOutBill_PDA.btnExit") == "Kf_OtherOutBill_PDA.btnExit" ? "退出" : $t("Kf_OtherOutBill_PDA.btnExit") }}</button> |
| | | <button class="btn-a" size="mini" |
| | | @tap="addNew">{{ $t("Kf_OtherOutBill_PDA.btnAdd") == "Kf_OtherOutBill_PDA.btnAdd" ? "新增" : $t("Kf_OtherOutBill_PDA.btnAdd") }}</button> |
| | | <button class="btn-c" size="mini" |
| | | @tap="goBack">{{ $t("Kf_OtherOutBill_PDA.btnExit") == "Kf_OtherOutBill_PDA.btnExit" ? "退出" : $t("Kf_OtherOutBill_PDA.btnExit") }}</button> |
| | | </view> |
| | | </view> |
| | | <BillListPopupVue ref="billList" :HBillType="hform.HBillType" :HSourceBillType="hform.HMainSourceBillType" |
| | |
| | | getUserStockRelation |
| | | } from '../../utils/userRelationManager'; |
| | | import BarCodePopupVue from "../../components/BarCodePopup/BarCodePopup.vue"; |
| | | import { MpaasScan } from '../../utils/mpaasScan'; |
| | | export default { |
| | | data() { |
| | | return { |
| | | placeholder_BarCode: this.$t("Kf_OtherOutBill_PDA.placeholder_BarCode") == "Kf_OtherOutBill_PDA.placeholder_BarCode" ? "请扫描(或输入)条码" : this.$t("Kf_OtherOutBill_PDA.placeholder_BarCode"), |
| | | placeholder_Qty: this.$t("Kf_OtherOutBill_PDA.placeholder_Qty") == "Kf_OtherOutBill_PDA.placeholder_Qty" ? "请输入数量" : this.$t("Kf_OtherOutBill_PDA.placeholder_Qty"), |
| | | placeholder_Warehouse: this.$t("Kf_OtherOutBill_PDA.placeholder_Warehouse") == "Kf_OtherOutBill_PDA.placeholder_Warehouse" ? "请输入(或扫描)仓库" : this.$t("Kf_OtherOutBill_PDA.placeholder_Warehouse"), |
| | | placeholder_StockPlace: this.$t("Kf_OtherOutBill_PDA.placeholder_StockPlace") == "Kf_OtherOutBill_PDA.placeholder_StockPlace" ? "请输入(或扫描)仓位" : this.$t("Kf_OtherOutBill_PDA.placeholder_StockPlace"), |
| | | placeholder_SourceBillNo: this.$t("Kf_OtherOutBill_PDA.placeholder_SourceBillNo") == "Kf_OtherOutBill_PDA.placeholder_SourceBillNo" ? "请输入源单单号" : this.$t("Kf_OtherOutBill_PDA.placeholder_SourceBillNo"), |
| | | placeholder_BarCode: this.$t("Kf_OtherOutBill_PDA.placeholder_BarCode") == |
| | | "Kf_OtherOutBill_PDA.placeholder_BarCode" ? "请扫描(或输入)条码" : this.$t( |
| | | "Kf_OtherOutBill_PDA.placeholder_BarCode"), |
| | | placeholder_Qty: this.$t("Kf_OtherOutBill_PDA.placeholder_Qty") == |
| | | "Kf_OtherOutBill_PDA.placeholder_Qty" ? "请输入数量" : this.$t("Kf_OtherOutBill_PDA.placeholder_Qty"), |
| | | placeholder_Warehouse: this.$t("Kf_OtherOutBill_PDA.placeholder_Warehouse") == |
| | | "Kf_OtherOutBill_PDA.placeholder_Warehouse" ? "请输入(或扫描)仓库" : this.$t( |
| | | "Kf_OtherOutBill_PDA.placeholder_Warehouse"), |
| | | placeholder_StockPlace: this.$t("Kf_OtherOutBill_PDA.placeholder_StockPlace") == |
| | | "Kf_OtherOutBill_PDA.placeholder_StockPlace" ? "请输入(或扫描)仓位" : this.$t( |
| | | "Kf_OtherOutBill_PDA.placeholder_StockPlace"), |
| | | placeholder_SourceBillNo: this.$t("Kf_OtherOutBill_PDA.placeholder_SourceBillNo") == |
| | | "Kf_OtherOutBill_PDA.placeholder_SourceBillNo" ? "请输入源单单号" : this.$t( |
| | | "Kf_OtherOutBill_PDA.placeholder_SourceBillNo"), |
| | | userInfo: getUserInfo(), |
| | | serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API', |
| | | HModName: 'Kf_OtherOutBill_PDA', |
| | |
| | | }, |
| | | onLoad(e) { |
| | | uni.setNavigationBarTitle({ |
| | | title: this.$t("Kf_OtherOutBill_PDA.title") |
| | | }); |
| | | title: this.$t("Kf_OtherOutBill_PDA.title") == 'Kf_OtherOutBill_PDA.title' ? |
| | | '其他出库单' : this.$t("Kf_OtherOutBill_PDA.title") |
| | | }); |
| | | console.log(e, this.userInfo) |
| | | this.OperationType = e.OperationType |
| | | if (e.HInterID) { |
| | |
| | | uni.$off('BillSelectComplete') |
| | | }, |
| | | methods: { |
| | | toScanBillCode() { |
| | | MpaasScan.scanCode((res) => { |
| | | this.getHBarCodeData(res) |
| | | }) |
| | | }, |
| | | async HWHNameScan(e) { |
| | | // 扫描仓库码 |
| | | console.log('仓库码: ', e); |
| | |
| | | // 扫描仓位码 |
| | | console.log('仓位码: ', e); |
| | | let index = this.HStockPlaceNameList.findIndex(elem => elem['条码编号'] == e.trim()) |
| | | // 不先置空的话,数据再次扫描相同的仓位码 不会触发组件内的刷新 |
| | | // 不先置空的话,数据再次扫描相同的仓位码 不会触发组件内的刷新 |
| | | this.hform.HStockPlaceID = 0 |
| | | this.hform.HStockPlaceName = '' |
| | | await this.$nextTick() |
| | |
| | | font-weight: bold; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | .right { |
| | | // width: 450rpx; |