md
This commit is contained in:
parent
a4e593f1f5
commit
c1d5370560
@ -11,13 +11,11 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="" prop="printStatus">
|
<el-form-item label="打印状态" prop="printStatus">
|
||||||
<el-input
|
<el-select v-model="queryParams.printStatus" placeholder="打印状态" >
|
||||||
v-model="queryParams.printStatus"
|
<el-option :key="1" label="已打印" value="1" ></el-option>
|
||||||
:placeholder="$t('打印状态')"
|
<el-option :key="2" label="未打印" value="0" ></el-option>
|
||||||
clearable
|
</el-select>
|
||||||
@keyup.enter.native="handleQuery"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</SearchForm>
|
</SearchForm>
|
||||||
|
|
||||||
@ -41,7 +39,7 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
plain
|
plain
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAddPack"
|
||||||
v-hasPermi="['emis:emisTmsPack:add']"
|
v-hasPermi="['emis:emisTmsPack:add']"
|
||||||
>新增合包条码</el-button>
|
>新增合包条码</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -104,9 +102,6 @@
|
|||||||
|
|
||||||
</XdTable>
|
</XdTable>
|
||||||
|
|
||||||
<el-dialog :title="titleForm" :visible.sync="openForm" width="50%" :destroy-on-close="true" v-dialogDrag append-to-body>
|
|
||||||
<emisTmsPackForm :id="currentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisTmsPackForm>
|
|
||||||
</el-dialog>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -116,12 +111,11 @@
|
|||||||
<script>
|
<script>
|
||||||
import { listEmisTmsPack, getEmisTmsPack, delEmisTmsPack, addEmisTmsPack, updateEmisTmsPack } from "@/api/emis/emisTmsPack";
|
import { listEmisTmsPack, getEmisTmsPack, delEmisTmsPack, addEmisTmsPack, updateEmisTmsPack } from "@/api/emis/emisTmsPack";
|
||||||
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
||||||
// import emisTmsPackView from '@/views/emis/emisTmsPack/emisTmsPackView';
|
import TanexPrinterPanel from '@/views/emis/EmisBaseTools/TanexPrinterPanel.vue';
|
||||||
import emisTmsPackForm from '@/views/emis/emisTmsPack/emisTmsPackForm';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "emisTmsPack",
|
name: "emisTmsPack",
|
||||||
components: { elDateSimplePicker,emisTmsPackForm },
|
components: { elDateSimplePicker,TanexPrinterPanel },
|
||||||
dicts: [
|
dicts: [
|
||||||
],
|
],
|
||||||
data() {
|
data() {
|
||||||
@ -163,7 +157,7 @@ export default {
|
|||||||
pageSize: 20,
|
pageSize: 20,
|
||||||
packNo: null,
|
packNo: null,
|
||||||
packStatus: '0',
|
packStatus: '0',
|
||||||
printStatus: null,
|
printStatus: '0',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -171,6 +165,23 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
handleAddPack() {
|
||||||
|
|
||||||
|
this.$prompt('请输入需要生成的合包数量', "操作确认", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
closeOnClickModal: false,
|
||||||
|
inputPattern: /[1-9][0-9]{0,1}/,
|
||||||
|
inputErrorMessage: "数量介于 1 和 99 之间"
|
||||||
|
}).then(({ value }) => {
|
||||||
|
console.log("===>",value)
|
||||||
|
// auditNoPass(ids,value).then(response => {
|
||||||
|
// this.$modal.msgSuccess("操作成功" );
|
||||||
|
// this.getList();
|
||||||
|
// });
|
||||||
|
|
||||||
|
}).catch(() => {});
|
||||||
|
},
|
||||||
handleBatchPrint(){
|
handleBatchPrint(){
|
||||||
this.$confirm("确定打印?", "提示", {
|
this.$confirm("确定打印?", "提示", {
|
||||||
cancelButtonText: "不打印",
|
cancelButtonText: "不打印",
|
||||||
|
|||||||
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
|
|
||||||
<el-descriptions :title="$t('货物收费信息')" :column="4" style="margin-top:10px">
|
<el-descriptions :title="$t('货物收费信息')" size="mini" :column="4" style="margin-top:10px">
|
||||||
<!-- <el-descriptions-item label="总重量">{{ form.totalWeight }}</el-descriptions-item> -->
|
<!-- <el-descriptions-item label="总重量">{{ form.totalWeight }}</el-descriptions-item> -->
|
||||||
|
|
||||||
<el-descriptions-item label="件数">{{ form.parcelQty }}件</el-descriptions-item>
|
<el-descriptions-item label="件数">{{ form.parcelQty }}件</el-descriptions-item>
|
||||||
@ -306,7 +306,7 @@ methods: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-descriptions__title{
|
.el-descriptions__title{
|
||||||
font-size: 14px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-collapse-item__content {
|
.el-collapse-item__content {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user