Commit fdbec09f authored by 黄媛媛's avatar 黄媛媛

update

parent 9bc35864
......@@ -119,4 +119,33 @@ export const pub={
NeiBuPrice:"社内料金",
B2BPrice:"同業料金",
B2CPrice:"販売料金",
sfkxy:'喫煙室かどうか',
fou:'いいえ',
shi:'は',
canshi:'食事',
bednight:'ベッド/毎夜',
kefangshechi:'客室施設',
qingshuru:'入力してください',
qingxuanze:'選んでください',
qingshurulouceng:'フロアを入力してください',
sfszwxj:'下段に設定しますか?',
sfszwsj:'上段に設定しますか?',
tips:'ヒント',
queding:'を選択します',
shifoudelete:'削除するか?',
qingsctupian:'画像をアップロードしてください',
zaikuNumber:'在庫数量',
shifhanshui:'税込みかどうか',
buhanshui:'税抜き',
hanshui:'税込み',
shuijin:'税金',
qingshuruPrice:'販売価格を入力してください',
qingshujhjiage:'仕入れ値を入力してください',
qingshurkcsl:'在庫数を入力してください',
qingxzDate:'日付を選んでください',
}
\ No newline at end of file
......@@ -119,4 +119,35 @@ export const pub={
NeiBuPrice:"内部卖价",
B2BPrice:"同行卖价",
B2CPrice:"直客价格",
sfkxy:'是否可吸烟',
fou:'否',
shi:'是',
canshi:'餐食',
bednight:'床/毎夜',
kefangshechi:'客房设施',
qingshuru:'请输入',
qingxuanze:'请选择',
qingshurulouceng:'请输入楼层',
sfszwxj:'是否设置为下架?',
sfszwsj:'是否设置为上架?',
tips:'提示',
queding:'确定',
shifoudelete:'是否删除?',
qingsctupian:'请上传图片',
zaikuNumber:'在库数量',
shifhanshui:'是否含税',
buhanshui:'不含税',
hanshui:'含税',
shuijin:'税金',
qingshuruPrice:'请输入销售价格',
qingshujhjiage:'请输入进货价格',
qingshurkcsl:'请输入库存数量',
qingxzDate:'请选择日期',
}
\ No newline at end of file
......@@ -361,9 +361,9 @@
},
//删除订单
DeleteOrder(item) {
this.$confirm("この部屋のタイプを削除しますか?", "ヒント", {
confirmButtonText: "を選択します",
cancelButtonText: "キャンセル",
this.$confirm(this.$t('pub.shifoudelete'), this.$t('pub.tips'), {
confirmButtonText: this.$t('pub.queding'),
cancelButtonText: this.$t('pub.cancel'),
type: "warning"
})
.then(() => {
......@@ -379,7 +379,6 @@
});
})
.catch(() => {
this.$message.info("削除しました");
});
},
OperationCaozuo(item) {
......
......@@ -186,37 +186,37 @@
:placeholder="$t('pub.B2CPrice')" maxlength="7"></el-input>
</td>
<td title="直客价格" class="tdRight">
在庫数量
{{$t('pub.zaikuNumber')}}
</td>
<td>
<el-input @keyup.native="checkInteger(addMsg,'Inventory')" class="input" v-model="addMsg.Inventory"
placeholder="在庫数量" maxlength="4"></el-input>
:placeholder="$t('pub.zaikuNumber')" maxlength="4"></el-input>
</td>
</tr>
<tr>
<td title="是否含税" class="tdRight">
税込みかどうか
{{$t('pub.shifhanshui')}}
</td>
<td>
<el-select size="small" v-model="addMsg.IsContainsTax" class="w100" placeholder="税込みかどうか">
<el-option label="税抜き" :value='0'></el-option>
<el-option label="税込み" :value='1'></el-option>
<el-select size="small" v-model="addMsg.IsContainsTax" class="w100" :placeholder="$t('pub.shifhanshui')">
<el-option :label="$t('pub.buhanshui')" :value='0'></el-option>
<el-option :label="$t('pub.hanshui')" :value='1'></el-option>
</el-select>
</td>
<td title="税金" v-if="addMsg.IsContainsTax==0" class="tdRight">
税金
{{$t('pub.shuijin')}}
</td>
<td v-if="addMsg.IsContainsTax==0">
<el-input @keyup.native="checkPrice(addMsg,'TaxPrice')" class="input" v-model="addMsg.TaxPrice"
placeholder="税金" maxlength="7"></el-input>
:placeholder="$t('pub.shuijin')" maxlength="7"></el-input>
</td>
</tr>
</table>
</div>
</div>
<div class="btnformItem">
<span v-loading="queryLoad" class="submitBtn" type="primary" @click="submitForm('addMsg')">を選択します</span>
<span class="exitBtn" @click="clearAddMsg()">キャンセル</span>
<span v-loading="queryLoad" class="submitBtn" type="primary" @click="submitForm('addMsg')">{{this.$t('pub.queding')}}</span>
<span class="exitBtn" @click="clearAddMsg()">{{this.$t('pub.cancel')}}</span>
</div>
</el-form>
</div>
......@@ -253,28 +253,28 @@
rules: {
Money: [{
required: true,
message: "販売価格を入力してください",
message: this.$t('pub.qingshuruPrice'),
trigger: "blur"
}],
CostPrice: [{
required: true,
message: "仕入れ値を入力してください",
message: this.$t('pub.qingshujhjiage'),
trigger: "blur"
}],
Inventory: [{
required: true,
message: "在庫数を入力してください",
message: this.$t('pub.qingshurkcsl'),
trigger: "blur"
}],
B2BPrice: [{
required: true,
message: "在庫数を入力してください",
message: this.$t('pub.qingshuru'),
trigger: "blur"
}],
B2CPrice: [{
required: true,
message: "在庫数を入力してください",
message: this.$t('pub.qingshuru'),
trigger: "blur"
}],
},
......@@ -347,11 +347,11 @@
DateList: this.addMsg.DateList
}
if (msg.DateList.length == 0) {
this.Error("日付を選んでください!");
this.Error(this.$t('pub.qingxzDate'));
return;
}
var that = this;
this.Confirm("削除するか?", function () {
this.Confirm(this.$t('pub.shifoudelete'), function () {
that.apipost("scm_post_DelSCMHotelRoomPriceInfo", msg,
res => {
if (res.data.resultCode == 1) {
......@@ -532,7 +532,7 @@
//删除报价
DeleteRoomPrice(item) {
var that = this;
this.Confirm("削除するか?", function () {
this.Confirm(this.$t('pub.shifoudelete'), function () {
that.apipost("scm_post_RemoveSCMHotelRoomPriceService", {
Id: item.Id
},
......
This diff is collapsed.
......@@ -52,7 +52,7 @@
<div class="btnformItem" style="text-align:center;margin:50px 0 20px 0;">
<span class="chaxunSpan" type="primary" @click="submitForm('passWordMsg')" style="margin-right:20px;"
title="确定">確定</span>
<span class="addSpan" @click="updateInfo = false,resetMsg()" title="取消">キャンセル</span>
<span class="addSpan" @click="updateInfo = false,resetMsg()" title="取消">{{this.$t('pub.cancel')}}</span>
</div>
</div>
</el-dialog>
......
......@@ -83,8 +83,8 @@ export default {
//Confirm
Vue.prototype.Confirm = function (msg, callback) {
this.$confirm(msg, "提示", {
confirmButtonText: "確定",
cancelButtonText: "キャンセル",
confirmButtonText:this.$t('pub.queding'),
cancelButtonText: this.$t('pub.cancel'),
type: "warning"
})
.then(() => {
......
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